CMSIS-DAP: SWD/JTAG Communication Failure after working previously

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

CMSIS-DAP: SWD/JTAG Communication Failure after working previously

跳至解决方案
11,766 次查看
MISO_27
Contributor II

I am using the MIMXRT1170-EVK together with the Keil uVision5 IDE and MCUXpresso Config Tools and was initially able to successfully program the board (e.g. with example projects). 

After developing a small program using the LPSPI peripheral in transfer mode and running it in debug mode, debugging stopped with an error message (i can't recall what it said). After that, connection to the board via the CMSIS-DAP debugger is not possible anymore (error message SWD/JTAG Communication Failure). For debug setting see attached picture. I already tried different max clock settings. I didn't modify any jumpers or switches compared to the previously working default configuration.

I also tried to connect to the board via MCUXpresso IDE but it didn't work either.

Can someone help me recover the board?

0 项奖励
回复
1 解答
11,746 次查看
MISO_27
Contributor II

The solution is to use the serial downloader ("SDP Mode"; SW1: 0-0-0-1; SW2: all 0s), erase data in QSPI flash and program a example project. After a power reset the board can be debugged in default configuration again.

This document details the procedure: https://community.nxp.com/pwmxy87654/attachments/pwmxy87654/mcux-blogs/123/1/RT1170_BriefOverview_v1...

在原帖中查看解决方案

0 项奖励
回复
1 回复
11,747 次查看
MISO_27
Contributor II

The solution is to use the serial downloader ("SDP Mode"; SW1: 0-0-0-1; SW2: all 0s), erase data in QSPI flash and program a example project. After a power reset the board can be debugged in default configuration again.

This document details the procedure: https://community.nxp.com/pwmxy87654/attachments/pwmxy87654/mcux-blogs/123/1/RT1170_BriefOverview_v1...

0 项奖励
回复