My application is using a PIC 18F4550, for which the data sheet says:
“25.6 ID Locations
Eight memory locations (200000h-200007h) are
designated as ID locations, where the user can store
checksum or other code identification numbers. These
locations are both readable and writable during normal
execution through the TBLRD and TBLWT instructions
or during program/verify. The ID locations can be read
when the device is code-protected.”

I have been trying to figure out the code for reading the contents of these 8 memory locations so that I can transmit them via BufferOut over USB interface.

Following doesn’t seem to work:
For i = 0 to 8
READ 2097152+I, ID1 ‘Where 2097152d = $200000 as starting address location for ID locations
Next

Can anyone please advise me how this should be coded in PICBASICPro 2.6?