Patching the .hex file
If your PIC programmer doesn't allow to edit the ID field, it's also possible to patch the .hex file instead.
Just open the .hex file, and search for the line below ":020000040020DA" which begins with :08000000
The following eight bytes (16 digits) are the ID values in hexadecimal format.
The last value is the checksum over these 8 bytes (0 - byte1 - byte2 - ... - byte8)
Here some examples:
Normal ID field (all 8 bytes are zero) - to-COM disabled, MIOS Device ID = 0x00
:080000000000000000000000F8
to-COM disabled, MIOS Device ID = 0x01
:080000000000000000000001F7
to-COM disabled, MIOS Device ID = 0x02
:080000000000000000000002F6
to-COM disabled, MIOS Device ID = 0x03
:080000000000000000000003F5
to-COM disabled, MIOS Device ID = 0x00, KS0108 GLCD driver (1)
:080000000000000000001000E8
to-COM disabled, MIOS Device ID = 0x00, custom LCD driver (7)
:08000000000000000000700088
to-COM enabled, MIOS Device ID = 0x00
:080000000000000000000100F7
to-COM enabled, MIOS Device ID = 0x01
:080000000000000000000101F6
to-COM enabled, MIOS Device ID = 0x02
:080000000000000000000102F5
to-COM enabled, MIOS Device ID = 0x03
:080000000000000000000103F4
[/code]
Best Regards, Thorsten.