connection failed - Em(04). Cannot provide power to DAP bus

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

connection failed - Em(04). Cannot provide power to DAP bus

跳至解决方案
4,036 次查看
tomi3
Contributor II

I am debugging some examples on MIMXRT1170EVK. But I encountered this problem and cannot  continue anymore.

--

Probe Firmware: CMSIS-DAP v1 (ARM)
Serial Number: 02440b03082d37a300000000000000000000000097969905
VID:PID: 0D28:0204
USB Path: \\?\hid#vid_0d28&pid_0204&mi_03#7&1f41cb26&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}
Using memory from core 0 after searching for a good core
connection failed - Em(04). Cannot provide power to DAP bus... Retrying
Failed on connect: Em(04). Cannot provide power to DAP bus.
Connected&Reset. Was: NotConnected. DpID: 6BA02477. CpuID: 00000000. Info: <None>
Last stub error 0: OK
Last sticky error: 0x0 AIndex: 0
Debug bus selected: MemAp 0
DAP Speed test unexecuted or failed
Debug protocol: SWD. RTCK: Disabled. Vector catch: Disabled.
(100) Target Connection Failed
error closing down debug session - Nn(05). Wire ACK Fault in DAP access

--

I found a subject below in this forum, but could not use Flash Magic tool for MIMXRT1170EVK. Could anyone help me? Thanks a lot!

https://community.nxp.com/t5/LPC-Microcontrollers/Failed-on-connect-Em-04-Cannot-provide-power-to-DA...

标记 (3)
0 项奖励
回复
1 解答
4,031 次查看
tomi3
Contributor II

I erased evk boot device memory using NXP-MCUBootUtility-master tool and it worked.

在原帖中查看解决方案

0 项奖励
回复
6 回复数
3,912 次查看
vdc
Contributor I

Hi,

 

I got the same problem, can you share how to make this work again?

 

Thanks,

0 项奖励
回复
4,032 次查看
tomi3
Contributor II

I erased evk boot device memory using NXP-MCUBootUtility-master tool and it worked.

0 项奖励
回复
3,727 次查看
PhilP
Contributor I

I have exactly the same problem, but I can't get NXP-MCUBootUtility-master to connect either, so how do I erase the boot memory when this tool suffers the same problem? It's telling me to put the BMOD pins in "Serial Downloader" mode, which is the only setting I've ever had them on!!!

0 项奖励
回复
3,710 次查看
tomi3
Contributor II

SW1 is set to serial downloader mode. (B0001)

Was [connect to ROM] action succeed using UART at 115200 baudrate?

0 项奖励
回复
3,699 次查看
PhilP
Contributor I

I tried it over UART too, but received a message saying that it couldn't find the CPU. I have since managed to recover it, with the boot switches set to "fuses" and image programmed using the i-Jet over JTAG/SWD connector. So, I obviously had a bad image, but still don't fully understand how that happened, and why this method recovered it.

0 项奖励
回复
2,125 次查看
sajithdevidas
Contributor III

Can you please, eloborate how you, recoverd the board using i-jet, i am also facing the same issue, and tried almost every solutions, but nothing worked well

 

0 项奖励
回复