Failed on connect: Em(04). Cannot provide power to DAP bus.

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

Failed on connect: Em(04). Cannot provide power to DAP bus.

跳至解决方案
3,263 次查看
Jinwen
Contributor I

I am debugging power management examples on LPC55S69. But I encountered this problem and cannot  continue anymore. I cannot erase flash the board because it shows 0 available SWD Devices detected. Following is the messages from console. Can anyone help me? Thanks a a lot!

Probe Firmware: LPC-LINK2 CMSIS-DAP V5.361 (NXP Semiconductors)

Serial Number:  PRAXBQFR

VID:PID:  1FC9:0090

USB Path: /dev/hidraw1

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

No debug bus (MemAp) selected

DAP Speed test unexecuted or failed

Debug protocol: SWD. RTCK: Disabled. Vector catch: Disabled.

(100) Target Connection Failed

Unable to perform operation!

Command failed with exit code 1.

标签 (1)
0 项奖励
回复
1 解答
3,233 次查看
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello Jinwen,

Maybe your chip enter deep power down mode, so it can't connect to debug port.

Please make your chip enter ISP mode, then use Flash Magic erase it, refer to:

https://community.nxp.com/t5/LPC-Microcontrollers-Knowledge/Flash-Magic-Programing-LPC/ta-p/1152763 

 

BR

Alice

在原帖中查看解决方案

1 回复
3,234 次查看
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello Jinwen,

Maybe your chip enter deep power down mode, so it can't connect to debug port.

Please make your chip enter ISP mode, then use Flash Magic erase it, refer to:

https://community.nxp.com/t5/LPC-Microcontrollers-Knowledge/Flash-Magic-Programing-LPC/ta-p/1152763 

 

BR

Alice