This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320F2801 can not erase flash, error 21 STATUS_FAIL_PRECONDITION

Other Parts Discussed in Thread: TMS320F2801

Hello,

 my customer implements a TMS320F2801. He used API V302 to reprogram it.

One day, after incident, the power cable of the board has been rip out.

During one night the device was not running.

Next morning, it was OK, but when he tried to programm again flash he obtained error code 21 STATUS_FAIL_PRECONDITION.

 In his application, he doesn t use password. He tried depletion algorithm to repair the flash without succes. When he checks each sector all are OK.

AND the accident happened during a normal running session not during a flash programming session.

 

Any idea??

 

Best regards

Nicolas

  • Nicolas,

    Precondition is the first step that occurs when erasing the flash. It sounds to me like the incident with the power cable may have damaged the device. I assume you mean that when he checks each sector and they are OK you mean that the data in the flash reads back correctly. I assume this means that the password locations are all 0xFFFF. If the customer wished to know for sure what was damaged on the device, he can return it and request failure analysis. However, if this was a one time event and the customer does not expect it to happen again it may not be worth the time investigating what was damaged. I would not however trust this device to produce good results. It may work right now, but if it has been damaged it could stop working at any time, or intermittently, or who knows.

    Regards,
    Dave Foley