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/TMS320F28377S: Error in flashing loading

Part Number: TMS320F28377S
Other Parts Discussed in Thread: C2000WARE

Tool/software: Code Composer Studio

Dear sirs,

I am facing with the same error in loading firmware to flash memory.

I use IC REG LINEAR 1.2V 300MA for chip VDD.

I can successfully load "hello world" program to SRAM memory, but I can not load my specific program with InitSysCtrl() function.

I also can not load "hello world" program to FLASH memory.

Below is error report when I load my specific code to SRAM:

C28xx_CPU1: GEL Output:
Memory Map Initialization Complete
C28xx_CPU1: Error: (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 6.0.222.0)
C28xx_CPU1: Unable to determine target status after 20 attempts
C28xx_CPU1: Failed to remove the debug state from the target before disconnecting.  There may still be breakpoint op-codes embedded in program memory.  It is recommended that you reset the emulator before you connect and reload your program before you continue debuggin

Please give me some advices in this case.

Thank you so much!

  • Hello,

    It looks like the JTAG expert is out today. He should be back on Monday.

    In the meantime can you go through these documents and verify that you are following all relevant recommendations?
    http://www.ti.com/lit/spracf0
    There are some good links and FAQs in this wiki page. please reference them as well.
    processors.wiki.ti.com/.../FAQs

    If you search your exact error message on e2e, you will find additional threads on the same topic. many with resolutions that may help you out as well.

    Regards,
    Mark
  • Thank you so much Mark!

    I will try to check JTAG again as ur note

  • Dinh,
    Can you disable the "auto-run" to main when program is loaded feature? This is under "Tools" -> "Debugger Options" inside of CCS in the debug view. I want to see if this error still occurs if we just load your program.

    Another thought, if the example file is failing to load to flash, are any of the CSM passwords programmed to the device? If these have been changed from the erased state, and the device is not unlocked then CCS won't be able to load code to the flash.

    Matt
  • Hi MatthewPate ,

    I have the same error with Dinh, so i tried your recommends. But it seems these errors still occur if i just load my program.
    /home/quanghuy/Pictures/Screenshot from 2018-08-16 14:10:09.png
    Beside that, i have no idea about CSM passwords.
  • Part Number: TMS320F28377S

    Tool/software: Code Composer Studio

    Hi all,

    I designed a custom board based on TMS320F28377S chip. My problem is that I can load firmware (Example project from C2000Ware) into SRAM but cannot run. Errors are showed by CCS as bellow:

    "Break at address "0x3fe493" with no debug information available, or outside of program code."

    I defined "_LAUNCHXL_F28377S" in Predefined Symbos and then i found out that problems come from InitSysCtrl function -> InitSysPll function -> Block of code bellow:

        SCSR = WdRegs.SCSR.all;
        WDCR = WdRegs.WDCR.all;
        WDWCR = WdRegs.WDWCR.all;

        //
        // Disable windowed functionality, reset counter
        //
        EALLOW;
        WdRegs.WDWCR.all = 0x0;
        WdRegs.WDKEY.bit.WDKEY = 0x55;
        WdRegs.WDKEY.bit.WDKEY = 0xAA;

        //
        // Disable global interrupts
        //
        intStatus = __disable_interrupts();

        //
        // Configure for watchdog reset and to run at max frequency
        //
        WdRegs.SCSR.all = 0x0;
        WdRegs.WDCR.all = 0x28;

    It means that errors dont occur if i comment them, but the program stills cannot run.

    I have no idea to fix this problem so hope to hear any idea.

    Tks all!

  • Hi

    Sr, i can't find edit option in comment. This picture show errors when turn off auto-run.

  • Can you look at the pin "ERRORSTS" and see if it is high or low? This pin will indicate if there has been a NMI type event if it is "high" after you see the issue with CCS.

    Based on the settings and the issue is with programming the flash I am thinking there may be an ECC error; caused by not programming the ECC values for the memory that is being loaded. This should be enabled from CCS by default(auto-ECC gen) under flash tools.

    Matt
  • Hi Matt,

    I'm using 100-Pin PZP package of F28377S, so it seems that it don't have ERRORSTS pin. Further, i checked auto-ECC generation and it is enabled as the picture follow.

  • Thanks for the info, can you access the "On-Chip Flash" Under "Tools" in the debug view? I'd like for you to perform the blank check to verify the flash is erased. If not, can you attempt to "Erase" the flash and see if anything changes on file load?

    Matt
  • We fixed it, the problem is related to PowerPad. With TMS320F28377S, PowerPad has 2 functions: head-sink and GND. We don't solder this pad to GND before. After rework, it runs well.

    Thank all so much!
    Cao Son.