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.

Error encountered when writing to flash memory

I'm using CCS 6.1.1, and a 28335 processor.  After connecting, I'm unable to load my program into flash.  I've used the depletion recovery utility, but even though the utility completes successfully, my program won't load into flash.

Here's the output on my console:

C28xx: Depletion Recovery started.
C28xx: Depletion Recovery completed.
C28xx: Writing Flash @ Address 0x00337ffe of Length 0x00000002 (page 0)
C28xx: Erasing Flash Sector B
C28xx: Erasing Flash Sector C
C28xx: Erasing Flash Sector D
C28xx: Erasing Flash Sector E
C28xx: Erasing Flash Sector F
C28xx: Erasing Flash Sector G
C28xx: Erasing Flash Sector H
C28xx: Flash Programmer: Error encountered when writing to flash memory
C28xx: File Loader: Memory write failed: Unknown error
C28xx: GEL: File: C:\Source\origDatamap\Debug\Optimizer.out: Load failed.

  • Scott,

    Did you check whether Sector A is already programmed with some code? Also, are you able to successfully erase Sector A?


    Regards,

    Manoj

  • Scott,
    Use unifalsh tool and try erase flash first. After earse try to load application.
    and check gel file path correct or not i.e in target configuration file advanced click on F28335 then see the side screen there check the gel file path