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.

TMS320F28035: CAnnot program the DSP anymore

Part Number: TMS320F28035

Hello TI family,

I need some more help on this issue that we are facing. A while ago we had a problem with the internal flash programming of the 28035 piccolo. This was discussed here:

e2e.ti.com/.../2427788


We have arrived to a similar situation in which we can no longer program the DSP but in this case we were not programming flash or anything similar. We were simply debugging an application with XDSv100 JTAG.

The only note I have: the DSP was working with the JTAG debugger connected. The development board was power-cycled and we attempted to re-connect to the device (not re-program). Then garbage values appeared on the 'Expressions' window. Afterwards, all attempts to reprogram the device started to fail.

It attempts to write the sections and erase sector A but it fails. The error shown is as it follows:

C28xx: Flash Programmer: Error encountered when writing to flash memory
C28xx: File Loader: Memory write failed: Unknown error
C28xx: GEL: File: C:\work\public\TI\xxxx\CodeComposerStudio\xxxxx\Debug\xxxxxxxx.out: Load failed.

Then we tried erasing each sector inividually and it fails as well:

C28xx: Erasing Flash memory...
C28xx: Flash Programmer: Error erasing flash memory. Error erasing Sector H
C28xx: Erasing Flash memory...
C28xx: Flash Programmer: Error erasing flash memory. Error erasing Sector F
C28xx: Erasing Flash memory...
C28xx: Flash Programmer: Error erasing flash memory. Error erasing Sector F
C28xx: Erasing Flash memory...
C28xx: Flash Programmer: Error erasing flash memory. Error erasing Sector G

Depletion recovery also fails and shows:

C28xx: Depletion Recovery started.
C28xx: Flash Programmer: Error when performing depletion recovery.

It is highly important to understand how this happened. Your help is highly appreciated,

Matias

  • Matias,

    • Were you writing to or erasing the flash memory?
    • Have you verified if the flash is locked as described in the previous post?
    • What is the voltage on your VDDIO pin? Is it stable while programming and erasing the flash?

    Regards,
    Cody 

  • Hi Cody,

    - We were not writing or erasing the flash memory. The Flash is definitely not locked.
    - I managed to measure VDDIO, and the pin has 3.293V and goes down to 3.286V when trying to erase. Looks good to me...

    Here are my good news: it just came back to life.

    May be was depleted and with so many attempts to reprogram it recovered... I cannot think of any good reason since as I said, we were just connecting to the device.

    Thanks for the help,

    Matias