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.

TMS320F2812: 2812 FLASH_API2.10 version problem

Part Number: TMS320F2812

Hi,

I was connected to the emulator running online, flashapi ran in the ram, and closed the interruption, After wiping out the flash, the return status is 24,can you help me?

thank you!

  • Seven,

    When Flash API return status = 24, it means "STATUS_FAIL_PRECOMPACT"

    STATUS_FAIL_PRECOMPACT:-

    Erase operation failed because the pre- compaction portion failed. The pre-compaction is applied to all sectors on the device. The
    FLASH_ST structure will return a fail address corresponding to the first sector fails this step.

    processors.wiki.ti.com/.../FAQs

    There is no guarantee that we can recover the flash from this problem. But, you can try depletion recovery algorithm to see if it resolves the problem. But, if depletion recovery fails, you just have the only option of replacing the part.


    Regards,
    Manoj