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.

CCS/TMS470MF06607: TMS470MF06607 Erasing flash problem

Part Number: TMS470MF06607

Tool/software: Code Composer Studio

Hi,

While erasing the flash of TMS470MF06607 using the Flash_Erase_B(), the stat2 value of the FLASH_STATUS_ST structure is becoming 0x11.

What will be the solution for this problem???

And the flash routines are located in SRAM at the address 0x08000ea0.  While debugging I am getting ?? data at this particular location....i.e no values are present.

Thanks

Vikas

  • Bit 4 (0x10) of the status means that the erase failed. Bit 0 (0x01) is sector lock. I have posted the description below.  Make sure your address(pu32Start) is correct and that the length is in number of 32-bit words, not number of bytes.