www.ti.com
Example: Preparing a COFF File For eCAN Bootloading
Example 3-3. GPIO34TOG Data Stream
AA 08
;Keyvalue
00 00 00 00 00 00 00 00
;8 reserved words
00 00 00 00 00 00 00 00
3F 00 00 A0
;Entrypoint 0x003FA000
02 00
;Load 2 words - codestart section
00 00 00 00
;Load block starting at 0x000000
7F 00 9A A0
;Data block 0x007F, 0xA09A
16 00
;Load 0x0016 words - ramfuncs section
00 00 02 00
;Load block starting at 0x000002
22 76 1F 76 2A 00 00 1A 01 00 06 CC F0
;Data = 0x7522, 0x761F etc...
FF 05 50 06 96 06 CC FF F0 A9 1A 00 05
06 96 04 1A FF 00 05 1A FF 00 1A 76 07
F6 00 77 06 00
55 01
;Load 0x0155 words - .text section
3F 00 00 A0
;Load block starting at 0x003FA000
AD 28 00 04 69 FF 1F 56 16 56 1A 56 40
;Data = 0x28AD, 0x4000 etc...
29 1F 76 00 00 02 29 1B 76 22 76 A9 28
18 00 A8 28 00 00 01 09 1D 61 C0 76 18
00 04 29 0F 6F 00 9B A9 24 01 DF 04 6C
04 29 A8 24 01 DF A6 1E A1 F7 86 24 A7
06 .. ..
.. .. ..
.. .. ..
FC 63 E6 6F
19 00
;Load 0x0019 words - .cinit section
00 00 18 00
;Load block starting at 0x000018
FF FF 00 B0 3F 00 00 00 FE FF 02 B0 3F
;Data = 0xFFFF, 0xB000 etc...
00 00 00 00 00 FE FF 04 B0 3F 00 00 00
00 00 FE FF .. .. ..
.. .. ..
3F 00 00 00
02 00
;Load 0x0002 words - myreset section
00 00 32 00
;Load block starting at 0x000032
00 00 00 00
;Data = 0x0000, 0x0000
00 00
;Block size of 0 - end of data
SPRU722C – November 2004 – Revised October 2006
Building the Boot Table
53