How do I use #ID to write an ID to a chip?
#ID 0x1234
#ID "serial.num" : Is that means When I write ID to a chip the program find serial number in file "serial.num" and write into it?
#ID CHECHNUM
Where did ID number locate? in EEPROM or special location like configuration memory 2007h.
How do I read this id?
Any concern for this question I appreciate here in advance.
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
Posted: Mon Nov 16, 2009 2:39 pm
Post your PIC.
cchappyboy
Joined: 03 Dec 2008 Posts: 45
Posted: Mon Nov 16, 2009 3:58 pm
that is pic16f876
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
Posted: Mon Nov 16, 2009 4:19 pm
The 16F876 data sheet says this:
Quote:
12.16 ID Locations
Four memory locations (2000h - 2003h) are designated
as ID locations, where the user can store checksum or
other code identification numbers. These locations are
not accessible during normal execution, but are readable
and writable during program/verify. It is recommended
that only the 4 Least Significant bits of the ID
location are used.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum