Bad ACK returned..wire error

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

Bad ACK returned..wire error

302件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by ww1 on Thu Jul 05 18:06:53 MST 2012
Hello

I am using the LPC Link as a standalone device with my board that has LPC1114/202 MCU. I am trying to run the blinky example available for LPC1114/302 by modifying the LED port and bit number.

The problem is that the IDE doesnt go into debug mode as it returns an error saying " Failure to connect: Bad ACK returned..wire error" .

When i ground the ISP pin through a connector, then it doesnt give this error but then u cant use LPCXpresso IDE for debugging in this mode.

Can you please give me some ideas, whta could be going wrong?

Thanks.
0 件の賞賛
7 返答(返信)

285件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by ww1 on Fri Jul 06 11:15:52 MST 2012
On closer inspection, there is a voltage regulator after power supply input that drops 5V o 3.3V. So know that i am giving 3.3V it is being dropped to 2.6V and the IDE is going in debug mode.

The confusing part is how can LPC1114/202 work with 2.6V?

Moreover, other errors are coming now like "Faile dto connect. MEM-AP not selected" and "Target error from Commit Flash- Flash driver not ready"..they go away when i press reset or ground n remove ISP...but i have to do that again n again. Still the program stops execution at some other point.
0 件の賞賛

285件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by ww1 on Fri Jul 06 10:38:34 MST 2012
I found the issue...The fault was with the design..it said the board needs 5V but there was no regulator after that.

When i gave 3.3V, it started working.

Thanks all for your help.
0 件の賞賛

285件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ex-Zero on Fri Jul 06 09:45:41 MST 2012

Quote: ww1
Yes i am using my own board design that has a LPC1114/202 MCU .



So if you've used debugger with LPCXpresso boards before, the answer is clear:

Your hardware is faulty :eek:
0 件の賞賛

285件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by ww1 on Fri Jul 06 09:37:22 MST 2012

Quote: creafyumi
Seems you are using customized target board.
Please Check:
1) Does your customized target board powered properly?
2) Do you release the ISP pin?(If ISP always grounded, it will return this error message)
3) Check you debugger connection.

Most likely is reason 1) or 2)



I tried powering it directly from a power supply and also through USB connector and using the VIO signal from the jtag connector. Same error :(

How can i check the debugger connection?
0 件の賞賛

285件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by ww1 on Fri Jul 06 09:35:24 MST 2012
#1 Does 'my board' mean your own design?

#2 Do you release ISP pin after resetting? Only permanent grounding does prevent debugging :eek:


Yes i am using my own board design that has a LPC1114/202 MCU .

If i release ISP after resetting, it gives the Bad ACK from status error.
0 件の賞賛

285件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by creafyumi on Fri Jul 06 01:32:15 MST 2012

Quote: ww1
Hello

I am using the LPC Link as a standalone device with my board that has LPC1114/202 MCU. I am trying to run the blinky example available for LPC1114/302 by modifying the LED port and bit number.

The problem is that the IDE doesnt go into debug mode as it returns an error saying " Failure to connect: Bad ACK returned..wire error" .

When i ground the ISP pin through a connector, then it doesnt give this error but then u cant use LPCXpresso IDE for debugging in this mode.

Can you please give me some ideas, whta could be going wrong?

Thanks.



Seems you are using customized target board.
Please Check:
1) Does your customized target board powered properly?
2) Do you release the ISP pin?(If ISP always grounded, it will return this error message)
3) Check you debugger connection.

Most likely is reason 1) or 2)
0 件の賞賛

285件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ex-Zero on Fri Jul 06 00:02:50 MST 2012

Quote: ww1
When i ground the ISP pin through a connector, then it doesnt give this error but then u cant use LPCXpresso IDE for debugging in this mode.

Can you please give me some ideas, whta could be going wrong?



#1 Does 'my board' mean your own design?

#2 Do you release ISP pin after resetting? Only permanent grounding does prevent debugging :eek:
0 件の賞賛