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.

CCS/TMS320F28035: C2000 Gang Programmer "DSP CLK frequency error"

Part Number: TMS320F28035

Tool/software: Code Composer Studio

Hi. I have a problem with the C2000 Gang Programmer.

When I try to erase the device (TMS320F28035), I always receive this answer:

ERROR 70: DSP CLK frequency error

I check at least 10 times all the connection.

The PCB is external powered.

I'm quite in trouble because I can connect via CCS (using a XDS100v2) without  any problem and the target device is not locked by any password.

Any suggestion will be aprreciated.

Giovanni

  • Hi Giovanni,

    At least in this other e2e thread, someone from Elprotronics (the manufacturer of the Gang programmer) suggested that this was due to a mismatch between expected device frequency at the specified PLL settings and measured device frequency.

    e2e.ti.com/.../2011652

    Are you using an external XTAL or XTAL oscillator, or are you using the device internal oscillator? What clock settings have you specified in the Gang programmer GUI?

    You might want to connect with JTAG and run some example code and then enable XCLKOUT and measure the device operating frequency to see if it is close to expectation.
  • Thanks Devin.

    With the TMS320F28035 I can't select any value of frequency in the GUI. It is fixed at 10MHz.

    Moreover the GUI does NOT show the measured values of OSC and SYS.

    I tried with two different PCBs: one with an external 10MHz XTAL oscillator and one using the internal oscillator.

    Both of them works fine with the CCS.

    Best regards

    Giovanni

  • OK. I understood the problem (but not completely solved it).

    My application FW sets the DSP to work at 60MHz.

    // for a 60 MHz devices [60 MHz = 10MHz * 12 / 2]
    #define DSP28_DIVSEL    		2
    #define DSP28_PLLCR     		12
    #define CPU_RATE        		16.67L

    I can program blank DSPs but, after the 1st programming, the C2000-GANG can't comunicate anymore.

    Now there are two questions:

    1. Can I change the DSP clock value in the C2000-GANG GUI for the TMS320F28035?
    2. Can I erase the DSP in CCS? (in the debug menu there is only the option "erase-program-verify")

    Any suggest?

    Best regards.

    Giovanni

  • Finally I fix it!

    Same problem than here: https://e2e.ti.com/support/microcontrollers/c2000/f/171/t/464706.

    Whit the C200 GANG (which is a programmer), if the MCU is not blank, I must put the MCU's BOOT Rom in Wait-Mode pulling down GPIO34 to GND.

    Whit the XDS100v2 (which is an emulator) the MCU is put in EMU mode and the problem is bypassed.

    Now my problem is the accessibility of GPIO34...

    Giovanni