Other Parts Discussed in Thread: HALCOGEN, , TMS570LC4357, TMS570LS1224
Tool/software: TI C/C++ Compiler
Hi,
I'm generating a boot loader application which is basically working except for accessing the last sector (13) in the flash.
I've used Halcogen to produce the initialisation code, and copied part of the example 'spna192' for the flash programming API functions.
All of the Bootloader functions are executed from RAM.
I can erase and program all the flash sectors with the exception of Sector 13.
When I erase Sector 13, after the erase is completed I get a data abort exception.
I have checked my .bin file and confirm that all unused locations are set to 0xFF.
I have a suspicion the issue is to do with the ECC but don’t understand why sector 13 is behaving differently?
In the Flash Settings under debug properties I have selected “Auto ECC Generation” and “Align program segments to 64-bit regions).
Could you please comment on how to fix this crash with Sector13.
Regards
Rob