LPC4337 JTAG debugging not possible

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

LPC4337 JTAG debugging not possible

664 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by PrimeMicro on Wed Jul 22 06:03:32 MST 2015
Hi,

on a new designed board I checked the controller a first time. All seems ok. Debugging, programming via ULINK Pro was working. After a download nothing is ok. On uVison I see the controller signation (M0, M4) but when I am trying to clean the flash or program it again I get the following error message:

Flash Timeout. Reset the target and try it again.


To correct this problem with FlashMagic doesn't work too.

best regards

J. Baumann
Labels (1)
0 Kudos
7 Replies

599 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by PrimeMicro on Thu Jul 23 07:53:53 MST 2015
Hi Support Team,

this was an angry error. My manufactorer places a LPC4330 instead of a LPC4337 Controller on the board. Compiling with LPC4330 the board is working (without FLASH!!!)


many thank's

best regards

J. Baumann
0 Kudos

599 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by PrimeMicro on Thu Jul 23 02:49:56 MST 2015
Hi,

please tell me, how to connect to my board with LPCXpresso.


best regards

J. Baumann
0 Kudos

599 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by lpcxpresso-support on Thu Jul 23 01:47:00 MST 2015
Sorry, I do not use or know Keil. What does LPCXpresso do when you boot into ISP and try to debug?

0 Kudos

599 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by PrimeMicro on Thu Jul 23 01:15:07 MST 2015
Hi,

With P2_7 low I booted in ISP UART3 mode( P2_9_H, P2_8_L, P1_2_L, P1_1_L). But the controller doesn't answer. The JTAG connection showes the following picture but doesn't work too.


best regards

J. Baumann
0 Kudos

599 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by lpcxpresso-support on Thu Jul 23 00:37:48 MST 2015
As stated in the "regaining debug access" FAQ, boot into ISP mode. This does not mean connect a UART and use FlashMagic, but just boot into ISP. When it is in ISP mode, then try connecting a debugger.
0 Kudos

599 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by PrimeMicro on Thu Jul 23 00:13:03 MST 2015
Hi,

I tried it with FlashMagic on USART3, but I don't get any response. Selecting the USB port seemes to work (driver detection on windows is working)
Now I will test LPCXpresso an look forward. This doesn't work too. I assumed that USART3 should work. What can I do more?

thank's
0 Kudos

599 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by TheFallGuy on Wed Jul 22 06:10:26 MST 2015
This should help:
https://www.lpcware.com/content/faq/lpcxpresso/regaining-debug-access
0 Kudos