Other Parts Discussed in Thread: C2000WARE
Tool/software:
Hi Team,
I am facing a problem regarding the Bootloader Data Format.
Do we have a datasheet for the bootloading operation?
Boot loader data format:
The Serial boot loader data follows the same format as the other peripheral boot loaders.
Byte Contents
1 LSB: AA (KeyValue for memory width = 8-bits)
2 MSB: 08h (KeyValue for memory width = 8-bits)
3 LSB: bytes 3-18 reserved for future use
4 MSB: bytes 3-18 reserved for future use
... ...
17 LSB: bytes 3-18 reserved for future use
18 MSB: bytes 3-18 reserved for future use
19 LSB: Upper half (MSW) of Entry point PC[23:16]
20 MSB: Upper half (MSW) of Entry point PC[31:24] (Note: Always 0x00)
21 LSB: Lower half (LSW) of Entry point PC[7:0]
22 MSB: Lower half (LSW) of Entry point PC[15:8]
23 LSB: Block size[7:0] (number of 16-bit words) of the first block of data to load
24 MSB: Block size[15:8]
25 LSB: Block load starting address [23:16]
26 LSB: Block load starting address [31:24]
27 LSB: Block load starting address [7:0]
28 LSB: Block load starting address [15:8]
29 LSB: First data word in the block
30 MSB: First data word in the block
... ...
n MSB: Last data word in block
n+1 LSB: Block size[7:0] of the next block of data
[Same structure as the first block]
x LSB: Block size[7:0] of 0x0000 indicates the end of the load
x+1 MSB: Block size[15:8] of 0x0000 indicates the end of the loadz