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)