Searching \ for '[PIC] pic programmer need explanation' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/microchip/devprogs.htm?key=programmer
Search entire site for: 'pic programmer need explanation'.

Exact match. Not showing close matches.
PICList Thread
'[PIC] pic programmer need explanation'
2006\09\29@110623 by ELKEJBOUT Mustapha

flavicon
face
hi everybody,
while I am reading the programming specification of the pic16F628, it said that the data to be loaded must be in 16 bits (14 bits for program memory with two zero (LSB and MSB)), but if I take the following example:

0X0002  0X1683 bsf STATUS, RP0

the data program is 0X1683 doesn't much the specifications, how can I deal with this?

thanks in advance,
best regards,


Mustapha ELKEJBOUT
---------------------------------------
"Every one has to do what he can do according to how it can be truly done"
For whom the bell tolls, Ernest Hemingway.
               
---------------------------------
Découvrez un nouveau moyen de poser toutes vos questions quelque soit le sujet ! Yahoo! Questions/Réponses pour partager vos connaissances, vos opinions et vos expériences. Cliquez ici.

2006\09\29@112013 by Jan-Erik Soderholm

face picon face
Maybe you should explain what you are doing.
Are you designing a PIC programmer ??
Jan-Erik.





-----Original Message-----
From: spam_OUTpiclist-bouncesTakeThisOuTspammit.edu [.....piclist-bouncesKILLspamspam@spam@mit.edu]On
Behalf
Of ELKEJBOUT Mustapha
Sent: den 29 september 2006 17:06
To: piclistspamKILLspammit.edu
Subject: [PIC] pic programmer need explanation


hi everybody,
while I am reading the programming specification of the pic16F628, it
said that the data to be loaded must be in 16 bits (14 bits for program
memory with two zero (LSB and MSB)), but if I take the following
example:

0X0002  0X1683 bsf STATUS, RP0

the data program is 0X1683 doesn't much the specifications, how can I
deal with this?

thanks in advance,
best regards,


Mustapha ELKEJBOUT
---------------------------------------
"Every one has to do what he can do according to how it can be truly
done"
For whom the bell tolls, Ernest Hemingway.
               
---------------------------------
Découvrez un nouveau moyen de poser toutes vos questions quelque soit
le sujet ! Yahoo! Questions/Réponses pour partager vos connaissances,
vos opinions et vos expériences. Cliquez ici.

2006\09\29@114413 by Wouter van Ooijen

face picon face
> MSB)), but if I take the following example:
>
> 0X0002  0X1683 bsf STATUS, RP0
>
> the data program is 0X1683 doesn't much the specifications,
> how can I deal with this?

I get a syntax error reading your English. Not just a waring, I really
don't understand what you want to say.

Wouter van Ooijen

-- -------------------------------------------
Van Ooijen Technische Informatica: http://www.voti.nl
consultancy, development, PICmicro products
docent Hogeschool van Utrecht: http://www.voti.nl/hvu


2006\09\29@122648 by ELKEJBOUT Mustapha

flavicon
face
Hi,
I forget to bring some presicions, I am working on my own pic programmer based on the elcheapo design, now I am trying to implement the software according to the programming specification of pic16F628:
my issue is the following:

data to be loaded into program memory: 0+14 bits+0 = 16 bits
instruction in hex file format (which are the data to be loaded in a certain locations in the program memory): 16 bits.

so how can I deal with this?
I hope I made it clear and precise

thanks for you help

ELKEJBOUT Mustapha <.....elkejbout_mustaphaKILLspamspam.....yahoo.fr> a écrit : Date: Fri, 29 Sep 2006 17:06:20 +0200 (CEST)
De: ELKEJBOUT Mustapha <EraseMEelkejbout_mustaphaspam_OUTspamTakeThisOuTyahoo.fr>
Objet: [PIC] pic programmer need explanation
À: piclistspamspam_OUTmit.edu

hi everybody,
while I am reading the programming specification of the pic16F628, it said that the data to be loaded must be in 16 bits (14 bits for program memory with two zero (LSB and MSB)), but if I take the following example:

0X0002  0X1683 bsf STATUS, RP0

the data program is 0X1683 doesn't much the specifications, how can I deal with this?

thanks in advance,
best regards,


Mustapha ELKEJBOUT
---------------------------------------
"Every one has to do what he can do according to how it can be truly done"
For whom the bell tolls, Ernest Hemingway.    

---------------------------------
 Découvrez un nouveau moyen de poser toutes vos questions quelque soit le sujet !  Yahoo! Questions/Réponses pour partager vos connaissances, vos opinions et vos expériences. Cliquez ici.  


Mustapha ELKEJBOUT
---------------------------------------
"Every one has to do what he can do according to how it can be truly done"
For whom the bell tolls, Ernest Hemingway.
               
---------------------------------
Découvrez un nouveau moyen de poser toutes vos questions quelque soit le sujet ! Yahoo! Questions/Réponses pour partager vos connaissances, vos opinions et vos expériences. Cliquez ici.

2006\09\29@125307 by Wouter van Ooijen

face picon face
> instruction in hex file format (which are the data to be
> loaded in a certain locations in the program memory): 16 bits.

you might notice that the top 2 bits of these 16 bits are always 0.

Wouter van Ooijen

-- -------------------------------------------
Van Ooijen Technische Informatica: http://www.voti.nl
consultancy, development, PICmicro products
docent Hogeschool van Utrecht: http://www.voti.nl/hvu


2006\09\29@135456 by Byron A Jeff

face picon face
On Fri, Sep 29, 2006 at 06:26:47PM +0200, ELKEJBOUT Mustapha wrote:
> Hi,

>  I am working on my own pic programmer based on the elcheapo design, now I
> am trying to implement the software according to the programming
> specification of pic16F628:

Mustapha,

As one of several people on the list who have worked on and augmented
PIC programmers over the years, I am curious as to why you are
writing yet another software package for programming PICs.

I've found that writing programming software is difficult for three reasons:

1) There are a ton of different specifications for chip families, each
with subtle differences between them.

2) Testing for proper operation of programming software is often a
challenge.

3) New chips, along with yet even more different programming specs are
coming along all the time.

The upshot is that developing and continuing to update a PIC programming
package is no easy feat. Most folks who are successful build a flexible
infrastructure that allows for easy augmentation or modification.

So given all of this, and given the fact that there are several well
supported, and well testing PIC programming packages out there, why
are you tackling that problem? Tools such as IC Prog (http://www.ic-prog.com)
can program the 16F628 using the El Cheapo hardware.

Now writing your own PIC programming software is a fine educational
exercise. However, if the objective is to get going with PIC projects,
your time would be better spent using someone elses software with your
programmer.

BAJ

2006\09\30@012702 by genome

picon face
>>if the objective is to get going with PIC projects,
>>your time would be better spent using someone elses >>software with your
>>programmer.

Yes thats definnitely a good advice....
I use PICPgm and WinPic, I had bad luck in accessing ports in XP with ICProg
eventhough I've followed the directions from its homesite and there were no
errors when starting ICProg ... ICProg cannot read/write my JDM type
programmer... but PICpgm and WinPic is very happy with it... so probably
ICProg has some Problem and I dontknow if anybody have a fix on this...


"Byron A Jeff" <@spam@byronKILLspamspamcc.gatech.edu> wrote in message
news:KILLspam20060929175454.GA20345KILLspamspamcleon.cc.gatech.edu...> {Quote hidden}

> --

2006\09\30@072248 by Peter van Hoof

face picon face
ic-prog works perfect under xp
Get http://www.ic-prog.com/icprog105D.zip
and http://www.ic-prog.com/icprog_driver.zip
U$nzip both to the same directory
Start ic-prog
Select hardware used (jdm)
Three or so error messages pop up
Click ok on these.
Select settings, options, misc tab, and select the
"enable nt/2000/xp driver" checkbox
click ok for restart of ic-prog
you will no longer get the error messages and it will work fine

Peter van Hoof

--- genome <RemoveMEjtroxasTakeThisOuTspamgmail.com> wrote:

{Quote hidden}

2006\09\30@111905 by genome

picon face
Yeah I already tried that... theres no error but it could not read/write my
pic.. it just go on and read, after the program code values read displayed
are all 0xFF.. it cannot be the jdmprogrammer as it works great with other
softwares... I dont know but my pc automaticaly updates so maybe it doesnt
work with the latest xp updates...

"Peter van Hoof" <RemoveMEpvhoofspamTakeThisOuTyahoo.com> wrote in message
news:20060930112246.54601.qmailEraseMEspam.....web32409.mail.mud.yahoo.com...> {Quote hidden}

2006\09\30@140139 by John Chung

picon face
I do not see any real issue with serial programming
under XP. It is usually the program at fault like
using the wrong API and passing incorrect arguments.

John

--- genome <RemoveMEjtroxasTakeThisOuTspamspamgmail.com> wrote:

{Quote hidden}

More... (looser matching)
- Last day of these posts
- In 2006 , 2007 only
- Today
- New search...