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.

TMS320F28377S: program loading to MCU TMS320F28377s

Part Number: TMS320F28377S


Tool/software:

recently I have designed a simple control circuit using TMS320F28377s, the result of connection test using XDS110 probe to the target MCU is OK but  the problem is that I am not able to debug the program, in the case of uploading RAM, it successfully uploads the code but during the debug at the beginning it stucks in an error less loop and stops contentious running (pause condition). for uploading the code to FLASH I got these errors:

[9/9/2024, 8:44:51 PM] [ERROR] 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 9.13.0.00201)
[9/9/2024, 8:44:51 PM] [ERROR] C28xx_CPU1: Trouble Halting Target CPU: (Error -1135 @ 0xC095) The debug probe reported an error. Confirm debug probe configuration and connections, reset the debug probe, and retry the operation. (Emulation package 9.13.0.00201)
[9/9/2024, 8:44:51 PM] [ERROR] C28xx_CPU1: Unable to determine target status after 20 attempts
[9/9/2024, 8:44:51 PM] [ERROR] 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 debugging
[9/9/2024, 8:45:11 PM] [ERROR] C28xx_CPU1: Error occurred during flash operation: Could not write 0x00000064@Data: target is not connected
[9/9/2024, 8:45:11 PM] [ERROR] C28xx_CPU1: Error occurred during flash operation: Could not read 0x000130@Program: target is not connected
[9/9/2024, 8:45:11 PM] [ERROR] C28xx_CPU1: Error executing PLL configuration algorithm. Operation cancelled. (0x0)
[9/9/2024, 8:45:11 PM] [ERROR] C28xx_CPU1: File Loader: Memory write failed: Unknown error
[9/9/2024, 8:45:11 PM] [ERROR] C28xx_CPU1: Error occurred during flash operation: Could not read register PC: target is not connected
[9/9/2024, 8:45:11 PM] [ERROR] C28xx_CPU1: Error occurred during flash operation: Could not write 0x0005F800@Data: target is not connected
[9/9/2024, 8:45:11 PM] [ERROR] C28xx_CPU1: Error occurred during flash operation: Could not write 0x0005FC00@Data: target is not connected

could you please help me?

  • Can you set the boot mode to wait boot before you power up the device, to see if this helps the connections.  The other thing to look at is if the device security module (DCSM) has a non default password and the device is locked.  A simple way to do this, after you connect(but not load code), is to look at one of the Lx RAMs, like address 0x8000, and see if you see all 0x0000, or something else.  If all 0x0000 then the device is locked and will need to be unlocked before loading code.

    Best,

    Matthew