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.

C2000-GANG: c2000 gang programmer does not erase memory

Part Number: C2000-GANG
Other Parts Discussed in Thread: TMS320F280049C, , UNIFLASH

Hello,
I have problems with the c2000 gang programmer.
The microcontroller is the tms320F280049C.

The installed SW:

It is not possible to erase the flash memory.

Window messages:

Executing Main Process...
.............
  2 : open target
  3 : unlock CSM
  4 : Download FW
  5 : Start API
  6 : Set PLL freq.
.............
  8 : Get PLL status
ERROR 306: Timeout during operation - Correct COM port selected?
Failed
ERROR 306: Timeout during operation - Correct COM port selected?
Changing Baudrate...Failed
ERROR 308: Communication Port baud rate change
ERROR 308: Communication Port baud rate change
ERROR 308: Communication Port baud rate change
Changing Baudrate...Failed
ERROR 308: Communication Port baud rate change
ERROR 308: Communication Port baud rate change
ERROR 308: Communication Port baud rate change
Changing Baudrate...Failed
ERROR 308: Communication Port baud rate change
ERROR 308: Communication Port baud rate change
ERROR 308: Communication Port baud rate change
Changing Baudrate...Done

Communication with C2000-GANG initialized successfully.

With code composer studio and the xds100v3 it works very well.

  • Daniel,

    What is the C2000GANG hardware and firmware version you are using?

    After the communication got established, did you get an error message for error operation?  If yes, please share the exact error details.

    I see that you are able to erase/program fine using CCS On-chip Flash Plugin.  Did you try to erase this device with GANG after erasing it with CCS?

    Thanks and regards,
    Vamsi

  • Hi,

    From the record I see it looks like the target is powered from programmer and the target is overloading the C2000-GANG. Is the target taking more that 150 mA? Can you power target from the external power supply and try again? 
    BTW - we have a beta version - where is updated procedures for F280049x. Now the mentioned MCU can run from the internal OSC instead extrernal XTAL osc. We can provide link for beta version if required.

    Regards,
    Gregory Czajkowski
    Elprotronic Inc.

  • Vamsi,

    the toolchain:

    If i start the program the messages are:

    ERROR 306: Timeout during operation - Correct COM port selected?
    ERROR 306: Timeout during operation - Correct COM port selected?
    ERROR 306: Timeout during operation - Correct COM port selected?
    Changing Baudrate...Done

    Communication with C2000-GANG initialized successfully.

    Selecting image #1...Done
    Reading Image data ...Done
    Selecting image #2...Done
    Reading Image data ...Done
    Selecting image #3...Done
    Reading Image data ...Done
    Selecting image #4...Done
    Reading Image data ...Done
    Selecting image #5...Done
    Reading Image data ...Done
    Selecting image #6...Done
    Reading Image data ...Done
    Selecting image #7...Done
    Reading Image data ...Done
    Selecting image #8...Done
    Reading Image data ...Done
    Selecting image #9...Done
    Reading Image data ...Done
    Selecting image #10...Done
    Reading Image data ...Done
    Selecting image #11...Done
    Reading Image data ...Done
    Selecting image #12...Done
    Reading Image data ...Done
    Selecting image #13...Done
    Reading Image data ...Done
    Selecting image #14...Done
    Reading Image data ...Done
    Selecting image #15...Done
    Reading Image data ...Done
    Selecting image #16...Done
    Reading Image data ...Done
    Selecting image #1...Done

    Done ...
    Selecting image #1...Done
    Reading Image data ...Done
    Reading Label ...Done

    If i do a refresh of pc communication:

    Changing Baudrate...Done

    Communication with C2000-GANG initialized successfully.

    Selecting image #1...Done
    Reading Image data ...Done
    Selecting image #2...Done
    Reading Image data ...Done
    Selecting image #3...Done
    Reading Image data ...Done
    Selecting image #4...Done
    Reading Image data ...Done
    Selecting image #5...Done
    Reading Image data ...Done
    Selecting image #6...Done
    Reading Image data ...Done
    Selecting image #7...Done
    Reading Image data ...Done
    Selecting image #8...Done
    Reading Image data ...Done
    Selecting image #9...Done
    Reading Image data ...Done
    Selecting image #10...Done
    Reading Image data ...Done
    Selecting image #11...Done
    Reading Image data ...Done
    Selecting image #12...Done
    Reading Image data ...Done
    Selecting image #13...Done
    Reading Image data ...Done
    Selecting image #14...Done
    Reading Image data ...Done
    Selecting image #15...Done
    Reading Image data ...Done
    Selecting image #16...Done
    Reading Image data ...Done
    Selecting image #1...Done

    Done ...
    Selecting image #1...Done
    Reading Image data ...Done
    Reading Image data ...Done
     Done
    Reading Label ...Done

    If I first erase the flash with Uniflash:

    Executing Main Process...
    .............
      2 : open target
      3 : unlock CSM
      4 : Download FW
      5 : Start API
      6 : Set PLL freq.
    .............
      8 : Get PLL status
      9 : Erase-080000
     10 : Erase-081000
     11 : Erase-082000
     12 : Erase-083000
     13 : Erase-084000
     14 : Erase-085000
     15 : Erase-086000
     16 : Erase-087000
     17 : Erase-088000
     18 : Erase-089000
     19 : Erase-08A000
     20 : Erase-08B000
     21 : Erase-08C000
     22 : Erase-08D000
     23 : Erase-08E000
     24 : Erase-08F000
     25 : Erase-090000
     26 : Erase-091000
     27 : Erase-092000
     28 : Erase-093000
     29 : Erase-094000
     30 : Erase-095000
     31 : Erase-096000
     32 : Erase-097000
     33 : Erase-098000
     34 : Erase-099000
     35 : Erase-09A000
     36 : Erase-09B000
     37 : Erase-09C000
     38 : Erase-09D000
     39 : Erase-09E000
     40 : Erase-09F000
    .............
     73 : closing target
     74 : Done
      0 : Finished

    It works fine.

  • Hi,

    the external power supply is connected. For the gang programmer and the target.

    I would test it with the beta software if you provide it.

    Regards,

    Daniel

  • Daniel,

    Just to confirm, everything is working fine now - correct?

    We will send you beta.

    Thanks and regards,
    Vamsi

  • Daniel,

    Here is the beta that you can try: http://content.elprotronic.ca/C2000-Gang-1v010201.zip

    Please provide feedback.

    Thanks and regards,
    Vamsi

  • Vamsi,

    I have tested the beta version. The erase function works now and everything else is fine so far.

    Thanks for support....

    Regards,
    Daniel