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: DSP CLK frequency error when programming a blank MCU

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

Hello everyone,

We are trying to use the C2000-GANG programmer with the TMS320F28030 microcontroller. Currently we are working in Interactive mode but the final mode will be Standalone.

With our first trials, we couldn't get through the first steps of the programming sequence, we kept getting MCU device init error. We solved this issue with some modifications in our test cable;

  • Removed CLK_RTN end EMU lines from our extension cable (needed for the JTAG emulator)
  • Connected all ground pins in the programming cable connector to ground (only one was connected previously).

Currently we can read and erase the microcontrollers. Also we can program an already programmed microcontroller.

The problem we are having occurs when we try to program a blank MCU. After an erase operation, when we try to reprogram the MCU, the programmer returns the DSP CLK frequency error.

Test Scenario

  1. Start with blank MCU (erased with XDS100V2 and UniFlash)
  2. Read or Write Blank MCU → FAIL → DSP CLK frequency error
  3. Program MCU with XDS100V2
  4. Read → SUCCESS
  5. Program (GO) (1st trial) → CSM Unlock Error
  6. Program (GO) (2nd and following trials) → Success

Read/Write Blank MCURead Already Programmed MCU

GO Trial 1Go Trial 2 and following

DSP Clock values seems to be wrong in the failed read and write scenarios with the blank MCU.

Also, sometimes boards are not able to connect to XDS100V2  JTAG emulator after an unsuccessful operation with the GANG. Trying erase operation a couple times solves this problem even though the erase operation itself is not successful.

Test Configuration

Boot Mode selection pins in our board are configured follows. The programs runs from flash with this configurations.

  • GPIO37 → Pulled-up with 3.3kΩ
  • GPIO34 → Floating

An 8 MHz mems oscillator is connected to XCLKIN - GPIO19 (not sure if it matters).

Problem occurs whether the board is supplied externally or via the gang programmer.

The HEX files used for the test are exported from the microcontroller which is previously programmed via XDS100V2 JTAG emulator.

Any help would be greatly appreciated.

Regards,

Kursad