I am trying to enable Flash ECC on the TMS570LS20216, and I am unable to download the application after enabling flash ecc regions in the linker command file.
This is the output from CCS:
CortexR4: GEL Output: Memory Map Setup for Flash @ Address 0x0CortexR4: GEL Output: Memory Map Setup for Flash @ Address 0x0 due to System Reset
CortexR4: Writing Flash @ Address 0x00000000 of Length 0x00000020
CortexR4: Erasing Flash Bank 0, Sector 0
CortexR4: Writing Flash @ Address 0x00100000 of Length 0x00007ff0
CortexR4: Erasing Flash Bank 2, Sector 0
CortexR4: Writing Flash @ Address 0x00107ff0 of Length 0x00007ff0
CortexR4: Writing Flash @ Address 0x0010ffe0 of Length 0x00007ff0
CortexR4: Writing Flash @ Address 0x00117fd0 of Length 0x00007ff0
CortexR4: Writing Flash @ Address 0x0011ffc0 of Length 0x00000a58
CortexR4: Erasing Flash Bank 2, Sector 1
CortexR4: Writing Flash @ Address 0x00120a18 of Length 0x00000558
CortexR4: Writing Flash @ Address 0x00400000 of Length 0x00007ff0
CortexR4: Erasing Flash Bank 0, Sector 1
CortexR4: Writing Flash @ Address 0x00407ff0 of Length 0x00007ff0
CortexR4: Erasing Flash Bank 0, Sector 2
CortexR4: Erasing Flash Bank 0, Sector 3
CortexR4: Erasing Flash Bank 0, Sector 4
CortexR4: Erasing Flash Bank 0, Sector 5
CortexR4: Writing Flash @ Address 0x0040ffe0 of Length 0x00007ff0
CortexR4: Erasing Flash Bank 0, Sector 6
CortexR4: File Loader: Memory write failed: Timed out waiting for target to halt while executing erasew.alg
CortexR4: GEL: File: [REDACTED]: Load failed.
CortexR4: GEL Output: Memory Map Setup for Flash @ Address 0x0 due to System Reset
This is essentially a duplicate of e2e.ti.com/.../354588 which was written by somebody else in our organization for a previous project, and was never solved. Are there additional steps I can try to debug this situation?