Tool/software:
ESM Group3 Fault After Flash API Usage on TMS570LS0914 – APIs Run from RAM
Hi TI Community,
I'm working on the Hercules TMS570LS0914 and have encountered an ESM Group3 error after integrating and calling the F021 Flash API in my application and Bootloader .
After calling any Flash API (e.g., Fapi_issueProgrammingCommand()
), the device enters an infinite loop in this block:
if ((esmREG->SR1[2]) != 0U) {
for (;;) {
// Fault handler
}
}
-
Device: TMS570LS0914
-
Flash API:
F021_API_CortexR4_BE_V3D16.lib
-
Memory Ranges Used:
-
Bank 0:
0x0000_0000 – 0x000F_FFFF
-
Bank 7:
0xF020_0000 – 0xF020_FFFF
(used for EEPROM/data flash)
-
Any help or guidance is greatly appreciated.