Hi We are using tms320f240 in one of the programs and facing few issues.
Issue 1: While downloading the program the clear operation is successful but the erase is not successful always. Most of the times it is giving 109 or 114 error post erase operation. Very rarely the erase operation is successful. We are still going ahead with programming with this errors and the program is getting successful. Processor is coming up and working fine.
Issue 2: In some scenarios after new program is downloaded, some locations in flash eeprom are not having the desired data. Even the data copy from flash eeprom to DARAM is not successful.
Ex: The data 0x6A95 in 0x3FE9 location is getting copied as 0x6A91 to DARAM location 0x329. Some locations of the flash are seen as corrupted in debugger even those memory locations were not written. Please find the issue.docx attachment for more details.
We have to re-download the code again. Clear-Erase-Program operation to come out of this issue. We are using TI provided batch files to perform these operations. We are not using flash-write post erase operation to check the flash operation.
Is it due to depletion mode post erase operation? can someone help in detect this and recover from it. I also noticed in documentation that 3 to 4 contentious depletion failures can result into damage of the chip. Provide your thoughts/inputs.
Thanks.