For example : PIC18F458, its id location on 200000H to 200007H
How can I write to this location. Is that #id directive? But how can I write to these 8 bytes ?
How can I read this id memory? Which command should I use ?
Thanks
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
Posted: Fri Dec 05, 2008 5:42 pm
Use #id to put values in the ID locations. Then try this function to read it:
http://www.ccsinfo.com/forum/viewtopic.php?t=20257&start=1
The Device ID only has two locations, as shown in the sample code.
But the "ID" has 8 locations. So you need to change the example
code to call it 8 times (instead of 2). Also, change the address so it's
for the "ID" location.
I have not tested these suggested changes in hardware.
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