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.
CCS11.2在程序运行过程中,点击CPU reset,程序复位,再点击Resume区运行程序,程序无法正常运行,查看汇编语句,停在下图所示标记处,
并且有如下提示:
No source available for "uds_no_response() at E:/BNO\02 Project\06 VRT 800W\01 code\800W_bootloader\CPU1_FLASH\800W_bootloader.out:{3} 0x3f4751{4}"
在通过点击Restart,可以使程序重新开始正常运行。
问题点是:
CPU reset后无法正常运行,是因为程序找不到入口点吗?
想要重新运行的顺序是:暂停程序-->reset-->restart,然后就可以看到程序又重新停在了main函数的开始。
有关reset的说明:
https://software-dl.ti.com/ccs/esd/documents/xdsdebugprobes/emu_resets.html#ccs-reset-types
有关restart的说明:
https://software-dl.ti.com/ccs/esd/documents/users_guide_zh/ccs_debug-main.html#after-launch.
No source available for "uds_no_response() at E:/BNO\02 Project\06 VRT 800W\01 code\800W_bootloader\CPU1_FLASH\800W_bootloader.out:{3} 0x3f4751{4}"
reset之后PC指针指到了boot rom中,所以需要restart来将PC指针指到程序的入口点,一般的话就是main函数。