Other Parts Discussed in Thread: UNIFLASH
Tool/software: Code Composer Studio
I'm using the TI CAN bootloader referenced in Application Report SPNA241 and I'd like to be able to load the CAN bootloader onto our boards using UniFlash instead of installing CCS on another machine.
When I add the post build tiobj2bin incantation to create the .bin file, the result is about 4 Gb in size!
I did not make any changes to the linker command file (bl_link.cmd), and it does contain a couple of lines with vfill:
MEMORY
{
VECTORS (X) : origin=0x00000000 length=0x00000020 vfill = 0xffffffff
FLASH0 (RX) : origin=0x00000020 length=0x00140000-0x20 vfill = 0xffffffff
SRAM (RW) : origin=0x08002000 length=0x0002D000
STACK (RW) : origin=0x08000000 length=0x00002000
/* USER CODE BEGIN (2) */
#if 1
ECC_VEC (R) : origin=(0xf0400000 + (start(VECTORS) >> 3))
length=(size(VECTORS) >> 3)
ECC={algorithm=algoL2R4F021, input_range=VECTORS}
ECC_FLA0 (R) : origin=(0xf0400000 + (start(FLASH0) >> 3))
length=(size(FLASH0) >> 3)
ECC={algorithm=algoL2R4F021, input_range=FLASH0 }
#endif
/* USER CODE END */
}
The file size obviously greatly exceeds the size of the flash, and is way out of line with the 603 kb size of the .out file.
How can I create a reasonably sized .bin?
Thanks!
- Tom