Hi ,
I see that we can embed ID code to the chip when we program , could anyone tell me how to do that ?
Johan
Printable View
Hi ,
I see that we can embed ID code to the chip when we program , could anyone tell me how to do that ?
Johan
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.
Thank you Bruce
I use MPASM, it works as you suggested :)
Johan