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/TMS320F28379D: Error Loading Core 2

Part Number: TMS320F28379D


Tool/software: Code Composer Studio

Greetings,

We are using CCS 9.1.0.00010.  On one of our development systems, when CCS tries to load the processor, we see the Console output below.  The address, 0x5d20e, seems to be reserved for the CLK_CFG_REGS.  But the TRM shows no register at that address.  So some questions:

  1. What is CCS attempting to do?
  2. What do we need to do to make it work like the other systems which are not experiencing this issue?

Thank you,

Ed

Console Output

C28xx_CPU1: GEL Output:

Memory Map Initialization Complete

C28xx_CPU1: If erase/program (E/P) operation is being done on one core, the other core should not execute from shared-RAM (SR) as they are used for the E/P code. Also, CPU1 will be halted to determine SR ownership for the CPU which will run the Flash Plugin code, after which CPU1 will be set to run its application. User code execution from SR could commence after both flash banks are programmed.

C28xx_CPU2: GEL Output:

Memory Map Initialization Complete

C28xx_CPU2: If erase/program (E/P) operation is being done on one core, the other core should not execute from shared-RAM (SR) as they are used for the E/P code. Also, CPU1 will be halted to determine SR ownership for the CPU which will run the Flash Plugin code, after which CPU1 will be set to run its application. User code execution from SR could commence after both flash banks are programmed.

C28xx_CPU2: Trouble Writing Memory Block at 0x5d20e on Page 1 of Length 0x2: (Error -1044 @ 0x0) The debug probe reported an error. Confirm debug probe configuration and connections, reset the debug probe, and retry the operation. (Emulation package 8.2.0.00004)

C28xx_CPU2: Error occurred during flash operation: Target failed to write 0x0005D20E@Data

  • Hi Ed,

    Ed Sanders said:
    What is CCS attempting to do?

    Based on this post:

    https://e2e.ti.com/support/microcontrollers/c2000/f/171/p/695280/2563316#2563316

    It looks like the flash programmer is trying to back up and restore the PLL value at 0x5d20e but ran into some issue in the process and the write failed

    Ed Sanders said:
    What do we need to do to make it work like the other systems which are not experiencing this issue?

    In the other working systems, are you using the same target and CCS version?

    Thanks

    ki

  • Hi Ki,

    A dual core configuration had been setup, and the Debug button clicked. It was setup to erase the entire flash and program the two modules, one on each core. 

    Yes, they all have the same level of CCS, 9.1,0.00010. And they are all using the dual core processor.

    But we reseated the JTAG connector on that system and held it in place, and it started to work. So that gives it the appearance of a hardware issue on our side. 

    Sorry,

    Ed

  • Ed Sanders said:
    But we reseated the JTAG connector on that system and held it in place, and it started to work. So that gives it the appearance of a hardware issue on our side. 

    Good to hear that you found the root cause. Thanks for the update.

    ki