使用Code Composer Studio调试DRV8301-RM46-KIT时的连接故障求助
DRV8301-RM46-KIT调试故障求助
我用DRV8301-RM46-KIT控制感应电机,之前能正常调试示例程序,现在完全无法完成调试——哪怕是打印“Hello World”的代码也无法烧录调试。
问题是在我意外给一个表达式设置断点后出现的,哪怕删除了这个断点,问题依然存在,更换调试设备也没用,已经卡了4天。
调试时弹出的错误信息如下:
CortexR4: GEL Output: Memory Map Setup for Flash @ Address 0x0Dap: Error: (Error -242 @ 0x0) A router subpath could not be accessed. The board configuration file is probably incorrect. (Emulation package 9.13.0.00201) CortexR4: Error: (Error -1170 @ 0x0) Unable to access the DAP. 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.13.0.00201) CortexR4: Unable to determine target status after 20 attempts CortexR4: 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
我已经试过修改调试规则、在TI论坛找解决方案、查阅TI官方文档这些方法,但都没解决问题。
我怀疑设备里可能还有程序在运行需要终止,但这只是猜测;也觉得可能需要擦除Flash,但没法执行相关操作,恳请大家帮忙。
内容的提问来源于stack exchange,提问作者lelouch
相关产品推荐
相关产品推荐

