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.

TMS320F28335: I can't upload any code to the flash

Part Number: TMS320F28335
Other Parts Discussed in Thread: C2000WARE, CONTROLSUITE

Hi,

I am trying to upload code to the flash in a TMS320F28335 but I cannot. I used to upload without any problems until suddenly I could not with the following output message in the console (Verbose dignostics enabled in Advanced Options for the C2000 compiler):

C28xx: Flash Programmer: Error encountered when writing to flash memory
C28xx: File Loader: Memory write failed: Unknown error
C28xx: GEL: File: /home/claus/CodeComposerStudio/workspace_v12/Example_2833xSWPrioritizedInterrupts/Debug/Example_2833xSWPrioritizedInterrupts.out: Load failed.

Firstly I got this message by trying to load the code I was working on and could not solve it though I was able to load the code into the RAM. So I switched to Example_2833xSWPrioritizedInterrupts.c from the C2000Ware Suite, just to simplify but the output is still the same.

Anyone knows what could be happening or how can I get more information about this failure in order to solve it?

Thanks in advance,

Claus

  • Hello Claus,

    A few debugging questions:

    1. Are you using the latest version of C2000Ware (not ControlSUITE)? Have you tried programming Flash with an empty example from C2000Ware itself?
    2. Are you making sure to follow the power sequencing requirements in the datasheet? See section 7.9.2 Power Sequencing
    3. Are you able to read the passwords (this is to check that the device itself is not locked)?
    4. Please take a look at the F05 Flash FAQ for other questions