Hello to everyone, I'm new to the TMS570 family. I am currently working with TMS570 to write data to flash memory and delete data from flash memory using F021 FlashAPI.
When I use the Fapi_issueProgrammingCommand() function, the data is written to flash memory, but the program stops and gets stuck in prefetchEntry. Also ERR led is enabled. When I erase data from flash memory everything is OK.
for example;
1) I erased data from flash memory then again write data to flash memory using Fapi_issueProgrammingCommand() function ERR led is enabled and the program stucks.
2) I just write data to flash memory then ERR led is enabled and the program stucks again.
According to what I read from the forum, in this case it was necessary to look at IFA with IFSR. I realized that IFA = 0x08000018 and IFSR = 0x00000409.
Does it mean there is an ECC error?? If yes how can I solve this problem??
thanks for your reply.