Hi ,
I see that we can embed ID code to the chip when we program , could anyone tell me how to do that ?
Johan
Hi ,
I see that we can embed ID code to the chip when we program , could anyone tell me how to do that ?
Johan
Last edited by Johan; - 1st August 2007 at 05:51.
If you're using MPASM, to set an ID for a 14-bit core, you would insert
@ __idlocs 0x1234 in your code.
With the PM assembler the format is @ ID 04030201h.
Both would set the ID to 1234. For 18F parts it's different, but there's
a good explanation of how this works in the MPASM help file.
Look in PM.TXT for how it works with the PM assembler.
Bookmarks