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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

Jump to solution
3,713 Views
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...

Tags (3)
0 Kudos
Reply
1 Solution
3,708 Views
tomi3
Contributor II

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

View solution in original post

0 Kudos
Reply
6 Replies
3,589 Views
vdc
Contributor I

Hi,

 

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

 

Thanks,

0 Kudos
Reply
3,709 Views
tomi3
Contributor II

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

0 Kudos
Reply
3,404 Views
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 Kudos
Reply
3,387 Views
tomi3
Contributor II

SW1 is set to serial downloader mode. (B0001)

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

0 Kudos
Reply
3,376 Views
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 Kudos
Reply
1,802 Views
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 Kudos
Reply