Failed on connect: Em(04). Cannot provide power to DAP bus. Connected&Reset. Was: NotConnected. DpID

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Failed on connect: Em(04). Cannot provide power to DAP bus. Connected&Reset. Was: NotConnected. DpID

2,232件の閲覧回数
VishalThakur11
Contributor I

Hi, I am debugging the LPC 32bit arm controller in MCUXpresso IDE on ISP mode with LPC-Link2 kit

I am always getting no power in DAP bus even though I have provided external power source to the controller.

Need the needful help to come out from this query.

Thanks in adavance.

VishalThakur11_0-1655120138839.png

 

0 件の賞賛
返信
6 返答(返信)

2,182件の閲覧回数
VishalThakur11
Contributor I

hi @CarlosGarabito could this problem is cause from pull-up of 4.5k ohm on ISP, SWDIO, SWDCLK, RESET pin as starting it was able to program the mcu.

Data sheet mention the range of 10-100k ohm, could you please figure out the problem.  

0 件の賞賛
返信

2,152件の閲覧回数
CarlosGarabito
NXP TechSupport
NXP TechSupport

So, are you using a custom board?

0 件の賞賛
返信

2,148件の閲覧回数
VishalThakur11
Contributor I

yes

0 件の賞賛
返信

2,129件の閲覧回数
CarlosGarabito
NXP TechSupport
NXP TechSupport

In this case, I can't replicate your error having you a custom board, so I suggest that try to do the same in a some evaluation board of us, and see if you obtain the same error. I suggest to that see the pdf Hardware Development Guide for your MCU to see if some hardware that you are using have a mistake

0 件の賞賛
返信

2,188件の閲覧回数
VishalThakur11
Contributor I

hi @CarlosGarabito 

I am using windows 11 system

MCUExpresso is able to display lpc link2 connection via usb, there is no connection issue.

When ever I tried to debug the program usually it show the Failed on connect: Em(04). Cannot provide power to DAP bus.

Debugg console is displaying the error message.

VishalThakur11_0-1655721969991.png

 

 

0 件の賞賛
返信

2,216件の閲覧回数
CarlosGarabito
NXP TechSupport
NXP TechSupport

Hi @VishalThakur11 first of all i think you need to explain with more details about your problem, i can see that you are using a LPC845, that's correct?, are you using linux? which one? did you add the rule for the LPC-Link2? what did you get in the console when you connect your usb device and type dmesg?

0 件の賞賛
返信