Hello,
After successfully flashing TMS570 using a F021 v2.00.01 version of UART bootloader example software from the WIKI page, I attempt to jump to application software and get a data abort. When I step through the assembly code I see it occurs during:
/* initialize copy table */
__TI_auto_init();
Also, by stepping through _dabort I see 3 errors are occuring:
tst r0, #0x8 ; check if bit 3 is set, this indicates uncorrectable ECC error on B0TCM
bne ramErrorFound
tst r0, #0x20 ; check if bit 5 is set, this indicates uncorrectable ECC error on B1TCM
bne ramErrorFound2
noRAMerror
tst r0, #0x80 ; check if bit 7 is set, this indicates uncorrectable ECC error on ATCM
bne flashErrorFound
My first thought is that flashing in the application software using the bootloader preventing some sort of RAM error, or the application software is no longer initializing RAM correctly.
I have modified 3 files from the SafetyMCU_Bootloader provided by the WIKI page in order to run F021 v2.00.01, since the bootloader was created for F021 v1.50. I have attached these 3 files as reference.
Anyone have any thoughts or think of something I might have missed?