For example, in my source code:
__PROG_CONFIG(1,0x2500);
__PEOG_CONFIG(2,0x3F1F);
__PROG_CONFIG(7,0x400F);
The correctly compiled Intel Hex file results reveals:
04000100251F3F0078
or
04 number of bytes in payload
0001 Start Address of Payload Bytes 0x 30 0000 0001
00 Ordinary Data Record
25 Byte at 0001 corresponding to 0x 30 0000 0001 location of CONFIG1H
1F is byte at Address 0x 30 0000 0002 and is the location of the WDT CONFIG2L
3F other WDT settings correct 0X 30 0000 0003 WDT CONFIG2H
00 would be the byte at 0x 30 0000 0004 for the CONFIG3L (not implemented) but not set for change
which properly shows CONFIG1H=0x25 CONFIG1L=00 (not implemented)but what is the trailing 00 indicating?
or else to include the next CONFIG bits:
For example, in my source code:
__PROG_CONFIG(1,0x2500);
__PEOG_CONFIG(2,0x3F1F);
__PROG_CONFIG(7,0x400F);
The correctly compiled Intel Hex file results reveals:
:06000100251F3F00BF8532
or
06 number of bytes in payload
0001 Start Address of Payload Bytes 0x 30 0000 0001
00 Ordinary Data Record
25 Byte at 0001 corresponding to 0x 30 0000 0001 location of CONFIG1H
1F is byte at Address 0x 30 0000 0002 and is the location of the WDT CONFIG2L
3F other WDT settings correct 0X 30 0000 0003 WDT CONFIG2H
00 would be the byte at 0x 30 0000 0004 for CONFIG3L correct
BF 0005 CONFIG3H correct
85 0x 30 0000 0006 CONFIG4L (What if this value was required to be 0?)
32 Cheksum
How would a programmer know if the 0x85 was 00, would the burning program know it was to erase the default 0x85?
Does Version 9.63 have this same problem?