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.

TMS320F28384S: 调试CM程序时,假如CM程序编译在RAM中执行可以正常调试,如果将程序编译在flash中,load程序后,CM程序直接就Running了,无法调试。

Part Number: TMS320F28384S
Other Parts Discussed in Thread: C2000WARE

调试CM程序时,假如CM程序编译在RAM中执行可以正常调试,如果将程序编译在flash中,load程序后,CM程序直接就Running了,无法调试。按suspending按钮,发现程序停留在void faultISR(void) 中。为什么在RAM中能够正常运行的程序,编译到flash却不能正常运行?以下错误提示出现的原因是什么?项目为此进展缓慢,急切需要您的解答和帮助。

Cortex_M4_0: AutoRun: Target not run as breakpoint could not be set: _JobHardwareBreakpoint::ARM_DEBUG_V7M_fpb_add_breakpoint: FPB : All resources are in use.[25062]
Cortex_M4_0: Can't Run Target CPU: (Error -1268 @ 0x1090001) Device is locked up in Hard Fault or in NMI. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 9.8.0.00235)

  • 是这个例程吗:

    C:\ti\c2000\C2000Ware_5_00_00_00\driverlib\f2838x\examples\c28x_cm\led-->led_ex1_c28x_cm_blinky_cm

    能描述一下具体的操作步骤吗?我这里完全没有问题。

    我看到你似乎对例程做了修改,能描述一下吗?