I am using example TI bootloader, i changed sys_intvecs.asm
.sect ".intvecs" .arm ;------------------------------------------------------------------------------- ; import reference for interrupt routines .ref _c_int00 .ref _dabort .ref phantomInterrupt .def resetEntry ;------------------------------------------------------------------------------- ; interrupt vectors resetEntry b _c_int00 undefEntry b undefEntry b #0x10018 prefetchEntry b prefetchEntry b _dabort b phantomInterrupt ldr pc,[pc,#-0x1b0] ldr pc,[pc,#-0x1b0]
application start address : 0x10020.
my applcation is freeRTOS based application, it's blink LED with a task.
I am creating hex file with Hex Utility.
Application map has a .const part
Hex file .const part. (there is a ":020000040002F8" above the hex file.)
I am sending data via CAN, when address is come to 0x20F94 with data, I get a error. (FMSTAT = 0x30) INVDAT = 1, CSTAT = 1
When I delete the lines above, i can flash hex but it's not working, because these lines is "sys_vim" array that hold the interrupt functions addresses.
Bootloader HalCOGEN SAFETY INIT section
Application HalCOGEN SAFETY INIT section
ECC Enables on the RAM and FLASH tabs are turned off
Hang here