View previous topic :: View next topic |
Author |
Message |
rhaguiuda
Joined: 05 Sep 2007 Posts: 46 Location: Londrina - Brazil
|
Read Serial Number ID from Flash |
Posted: Thu Jul 23, 2009 11:52 am |
|
|
Hi
How can I read a serial number, that is stored in Flash, and copy it to RAM memory?Is it possible to read flash in PIC 16 series?
In compiler, how can I write the serial number to PIC`s flash?
Thanks _________________ Give a man a fish and you'll feed him for a day. Teach a man to fish, and you'll feed him for a lifetime. |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Thu Jul 23, 2009 12:31 pm |
|
|
Quote: | Is it possible to read flash in PIC 16 series? |
It's possible for some of them, but not all. Look in the data sheet
to see if it has a section on Flash Program Memory.
Quote: | In compiler, how can I write the serial number to PIC's flash? |
Do you need to serialize a large number of PICs ? If you use a #rom
statement, then you need edit the source file and re-compile the program
for each serial number. That's possible to do (I've done it), but it's
time consuming.
CCS has a #serialize command for use with their ICD programmer.
It's in the manual. |
|
|
|