lpc link fault ?

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

lpc link fault ?

5,362 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by sergio on Sun Sep 25 15:34:35 MST 2011
Hello guys.
Several days before i got famous error
"[B]02: failed to connect: Ee(07). bad ack returned from status - wire error[/B]", but succesfully solve its with ISP mode, from hyper terminal.

But today LPC-Link makes me totally confused - errors comes from nowhere, and changes from
"[B]02: failed to connect: Ee(07). bad ack returned from status - wire error[/B]" to "[B]02: failed to connect: Em(02) MEM-AP is not selected[/B]".
Trying to grounding PIO0_1 with futher resetting controller had no luck - device did not respond to COM port. I`ve got LPC-link separated from 1114 board, and according to several threads on this forum - try to supply board with different 3v3. And what a happy i was when FlashMagic can Read device signature and Erase chip. Also i tried hyper terminal - all OK. BUT when i connect erased chip to LPC-link, i still got "[B]MEM-AP is not selected[/B]" .. wtf ..
Removing PIN2 from J4 connector (lpc-link -> lpc1114 board) which is 3v3 supply from LPC_link and powering 3v3 from third party supply - i got "[B]wire error[/B]". What a hell ..

Also i got interesting trouble - when LPC-link connected to board, even w/o supply pin, and board powered from other supply - i cant enter ISP (or i can, but ISP dont respond to Sync request from terminal or FlashMagic - i dont actually know on which stage error comes)
P.S. trying both variants w/ and w/o Vector catch

sorry for my imperfect english :)
0 Kudos
Reply
16 Replies

5,344 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by sergio on Mon Sep 26 06:24:45 MST 2011

Quote: Zero
And reset level is always low or always high or 1000V or what :confused::confused:



take a look on the schematics, on page 4 we can see that RST line is bidirectional, and therefore problem in one of those two buffers( U6A or U4D ).
As we have problems even if lpc-link is not powered - means buffer malfunction, sorry, i wont investigate this trouble further, cause i dont have abilities to get spare 74LVC125 to replace this one
0 Kudos
Reply

5,344 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by sergio on Mon Sep 26 06:15:05 MST 2011
What i know - RST definately doesnt have Short Circuit.
Cutting off PIN11-12 on J4 (JTAG_RESETX) solves my problem - IDE avaible to debug through lpc-link again, and ISP functionality with connected LPC-link restored
0 Kudos
Reply

5,344 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ex-Zero on Mon Sep 26 06:00:06 MST 2011
And reset level is always low or always high or 1000V or what :confused::confused:
0 Kudos
Reply

5,344 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by sergio on Mon Sep 26 05:48:36 MST 2011
Right, i have only one suggestion - reset channel on the LPC-link side is broken.. maybe its lvc125 buffer .. cause SWDx pins doesnt participate in ISP mode as i know.
So i will solder back all pins except reset, power up target from lpc-link, and see what will changes
0 Kudos
Reply

5,344 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ex-Zero on Mon Sep 26 05:35:20 MST 2011
If FlashMagic is working, and LPC-link is not working first thing to check are all J4 signals (as suggested several times before).
Without working Reset / SWD signals your LPC-link can't work :eek::eek:
0 Kudos
Reply

5,343 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by sergio on Mon Sep 26 05:07:32 MST 2011
[IMG]http://s2.ipicture.ru/uploads/20110926/SJFvETPz.gif[/IMG]here we go
0 Kudos
Reply

5,343 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by sergio on Mon Sep 26 04:27:02 MST 2011
I see a some misunderstanding between us, give me one minute, and i make an illustration :)
0 Kudos
Reply

5,343 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ex-Zero on Mon Sep 26 04:18:18 MST 2011

Quote: Zero
This usually indicates a wire problem (LPC-link -> target board) , so it's a good idea to scope power, reset and debug lines :)



And the result of checking wires was?

With ISP-pin low FlashMagic is able to communicate?
0 Kudos
Reply

5,343 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by sergio on Mon Sep 26 04:08:13 MST 2011
my problem is always there, no matter how I'm the power on the target
0 Kudos
Reply

5,343 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ex-Zero on Mon Sep 26 03:54:44 MST 2011
So your problem only occurs when you supply target board external with 3.3V?

Then measuring a voltage is not enough :eek:, scope supply lines, change your voltage supply...

See: http://support.code-red-tech.com/CodeRedWiki/DebugErrors
0 Kudos
Reply

5,343 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by sergio on Mon Sep 26 03:37:57 MST 2011
The other power supply is connected to VIO3v3X
Yea, i measured voltage on targed board - its normal 3.3V
0 Kudos
Reply

5,343 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ex-Zero on Mon Sep 26 03:29:12 MST 2011

Quote: sergio
When i powered target from OTHER 3v3 power supply - i cut-off PIN2 in J4 connector


 
And your power supply is connected to :confused:

Did you scope this power supply and VIO_3V3X of target board?
0 Kudos
Reply

5,343 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by sergio on Mon Sep 26 03:14:15 MST 2011
Zero, i make hard-soldered bridges between lpc-link and target board.
When i powered target from lpc-link - i leave connected whole J4 connector.
When i powered target from OTHER 3v3 power supply - i cut-off PIN2 in J4 connector
0 Kudos
Reply

5,343 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ex-Zero on Mon Sep 26 03:08:19 MST 2011
Sorry, can't follow you :)

You separated LPC-link and target board and bridged J4 (all pins ?) :confused:

You connected a power supply to 3.3V or VIN or :confused:
0 Kudos
Reply

5,343 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by sergio on Mon Sep 26 02:34:59 MST 2011
Zero, thank you for reply.
I make solder bridges, but no luck this time too, again "MEM-AP" error
Problem is whether boards are powered by LPC-link or from another source
0 Kudos
Reply

5,343 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ex-Zero on Sun Sep 25 19:32:55 MST 2011

Quote: sergio
[COLOR=Red]...wire error...[/COLOR]



This usually indicates a wire problem (LPC-link -> target board) , so it's a good idea to scope power, reset and debug lines :)
0 Kudos
Reply