vs code debug(jlink)问题

XM2008xm
Posts: 2
Joined: Tue Sep 14, 2021 2:07 am

vs code debug(jlink)问题

Postby XM2008xm » Tue Sep 14, 2021 2:21 am

vs code环境下使用jlink调试ESP32_Devkitc_v4,出现如下问题,请问需要如何解决?

Info : esp32.cpu0: Debug controller was reset.
Info : esp32.cpu0: Core was reset.
Error: esp32 .cpu0: DSR (FFFFFFFC) indicates target still busy!
Error: esp32.cpu0: DSR (FFFFFFFC) indicates DIR instruction generated an overrun!
Info : esp32.cpu0: Target halted, PC=0x00000000, debug_reason=00000000
Error: esp32.cpu0: DSR (FFFFFFFC) indicates target still busy!
Error: esp32.cpu0: DSR (FFFFFFFC) indicates DIR instruction generated an overrun!
Warn : esp32.cpu0: Failed writing 4 bytes at address 0x3ff5f064
Error: Failed to write ESP32_TIMG0WDT_PROTECT (-4)!
Info : esp32.cpu0: Debug controller was reset.
Info : esp32.cpu0: Core was reset.
Error: esp32.cpu0: DSR (FFFFFFFC) indicates target still busy!
Error: esp32.cpu0: DSR (FFFFFFFC) indicates DIR instruction generated an overrun!
[Stopped] : OpenOCD Server

ps:可以正常使用jlink烧录程序。

ESP_Gargamel
Posts: 786
Joined: Wed Nov 14, 2018 8:45 am

Re: vs code debug(jlink)问题

Postby ESP_Gargamel » Thu Sep 16, 2021 9:23 am

如果说可以烧录,那说明连线没有问题了。
使用新版本的 openocd 试过吗?jlink 的 clk 改低试过么?

XM2008xm
Posts: 2
Joined: Tue Sep 14, 2021 2:07 am

Re: vs code debug(jlink)问题

Postby XM2008xm » Fri Sep 17, 2021 3:09 am

ESP_Gargamel wrote:
Thu Sep 16, 2021 9:23 am
如果说可以烧录,那说明连线没有问题了。
使用新版本的 openocd 试过吗?jlink 的 clk 改低试过么?
目前已在eclipse环境下实现了下载与仿真,使用的都是官方工具集esp-idf-tools-setup-offline-2.10,暂时先不研究vs code了,感谢回复!

ESP_Gargamel
Posts: 786
Joined: Wed Nov 14, 2018 8:45 am

Re: vs code debug(jlink)问题

Postby ESP_Gargamel » Fri Sep 17, 2021 4:06 am

好的,调试的话,暂时还是推荐用 eclipse,功能会更多些。

plum_huang
Posts: 3
Joined: Tue Oct 19, 2021 8:22 am

Re: vs code debug(jlink)问题

Postby plum_huang » Tue Oct 19, 2021 8:53 am

通过eclipse+jlink 调试,下载app程序文件超过1MByte,会提示错误,该如何解决?

Who is online

Users browsing this forum: No registered users and 86 guests