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.

Flash ERASE and WRITE error on F28069U processor



Hi,

I have a project using the F28069U and CCS 5.1.1 (although this also happened on CCS 4.2).

On one particular piece of hardware, when I JTAG, I am getting the error:

C28xx: Flash Programmer: Error erasing Flash memory.

C28xx: Flash Programmer: Error encountered when writing to flash memory

C28xx: Trouble Writing Memory Block at 0x3ef110 on Page 0 of Length 0x356

With CCS 5.1, I am having trouble finding a way to look at the CSM values but when I did it on CCS 4.2, I was pretty sure they were all 0xFFFF.

Is there anything I can do to try and resurrect this processor?

Thanks,

Cyril

 

  • Cyril,

    Can you provide more information such as were you running on a TI eval board or your own customized board. Are you running according to spec (within temperature and voltage range)?

    The errors you listed are constantly occuring or they randomly occur? Are you able to reproduce the error message easily? What settings were changed (board, code) from the time it was working properly? Thanks.

  • Hey Jason,

    This is custom hardware that we are in production with good success.  This is an isolated PCB that has this error consistently.  It started after a programming cycle that didn't finish properly for some reason when one of my firmware engineers was in development.

    I was curious about trying to learn more about the board and thought that maybe the flash was in a corrupted state that perhaps could be reset somehow.  The error was always being reported in Sector C.  Yesterday, I found the flash page where I could select sectors and manually erase the flash as well as the other options in that page (once you manually connect to the target).

    Even if I just selected, say, Sector A, the flash erase would fail.  I'm pretty sure now that this must be an actual hardware failure on this chip but was hoping that perhaps there was some mechanism to "reset" the FLASH sectors.  I did verify that the CSM registers are all 0xFFFF as well.

    Any additional thoughts, or things to try?

    Thanks,

    Cyril

     

  • Cyril,

    Thanks for providing more details. Have you tried other F28069U devices? I'm curious if it is a bad device or this can be seen across other samples.

     

  • Cyril,

    Can you try the same software and steps on a TI provided eval board just to see if you can reproduce the same issue? This can help us to isolate the factors causing the problem.

     

  • Cyril,

    Just checking were you able to fix the problem?

     

  • Hey Jason,

    I could find nothing in CCS to change the behavior.  I did try the manual erasing of the sector with the problem but to no avail.  My conclusion is that something is bad with the processor and it needs to be replaced.

    If there is anything else I should try please let me know.

    Thanks,

    Cyril

     

  • Hi Cyril,

    Just wondering was there anything changed in SW/board component/power supply before this error start to occur. You mentioned that board was in working condition before right? I hope it's not too difficult to swap another processor just to eliminate some factors.

    The CCS 4.2 version you are using needs to be 4.2.3. It has the required updates for F28069.

    Please keep me updated, I want to make sure you can move forward.