Part Number: TMS320F280049C
Tool/software:
Hi!
I'm trying to validate the ECC error detection on F28004x using the --ecc:data_error linker option in CCS. I added an entry like 0x086000,0x01 to flip a bit at that address. However, even after reading from the address and checking ECC error registers (e.g., Flash_getLowErrorStatus()), I see no indication of any ECC error — all ECC-related registers remain unchanged. I suspect this might be because I later overwrite that flash address during runtime using the Flash API (Fapi_issueProgrammingCommand), which could erase the injected error. Could you please help clarify: when exactly is the error injected by the linker — is it only embedded in the final output file? Also, to observe ECC detection working, should I avoid writing to that address after build time? And are there any restrictions on memory section, alignment, or ECC monitoring that I should consider to ensure the error is detected? Thanks in advance for your help!