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.

TMS320F280039C: Program flash on the same location from 0xFF to 0x00 without erase in between?

Part Number: TMS320F280039C

Dear Champs,

I am asking this for our customer.

If they use flash API and follow 64-bit data at 64-bit alignment memory location but at the same location, can they program it multiple times like below from bit 1 to 0 without erase in between?

0xFFFF.....

0xF0F0.....

0x0000.....

We want to confirm if there is any concern like ECC?

We are confused about this in using Fapi_AutoEccGeneration,

"Fapi_AutoEccGeneration – .... Once ECC is calculated and programmed for a 64-bit data, those 64 bits can not be reprogrammed (unless the sector is erased) even if it is programming a bit from 1 to 0 in that 64-bit data, since the new ECC value will collide with the previously programmed ECC value..." 

  • Hi Wayne,

    If they use Fapi_AutoEccGeneration mode, any given 64-bit location can be programmed only once even if later program operations for that 64-bit data slice involve only the 1->0 transitions - this is because the corresponding ECC gets programmed when the first program command is given to that 64-bit data slice; and for later program commands (without erase) the ECC bits may involve 0->1 transition and hence will not succeed.

    Thanks and regards,
    Vamsi

  • Hi Wayne,

    I am closing this post.  If you still have further questions, please open a new post.

    Thanks and regards,

    Vamsi