Programming LPC1227 via LPC-Link2

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

Programming LPC1227 via LPC-Link2

1,173 Views
ugurkebir
Contributor I

Hello,

I try to load program LPC1227 wit use LPC-Link2 . I followed the instructions, but I got an connection error. LPCXpresso IDE can see LPC-Link2 but LPC-Link2 can not see LPC1227 MCU. So I took Connection failed to MCU error.

Extra Info: When I try to connect the LPC1227, Against the possibility of making mistakes I try all JP1 and JP2 position combinations. But it is not working...

* I successfully installed LPC-Link2.

pastedImage_1.jpg

* LPCXpresso IDE see LPC-Link2

pastedImage_2.jpg

*Got error failed on connect

pastedImage_3.jpg

pastedImage_10.jpg

* Debug error due to connection failure

pastedImage_5.jpg

pastedImage_6.jpg

pastedImage_7.jpg

Possible error possibilities:

My Debug configurations may be incorrect. When I checked the boot debug probe, I noticed that the probe was LinkServer. Is it correct?

pastedImage_9.png

*I am absolutely sure that the MCU is working because I have already programmed it via LPCXpresso with Jlink Segger.

But now I want to upload program with use LPC-Link2. I initially connect the ISP pin to GND. Then I take it back to switch debug mode the LPC1227. Maybe I'm making a mistake at this point.

Do you have any idea about the connection failure?

0 Kudos
1 Reply

708 Views
lpcxpresso_supp
NXP Employee
NXP Employee

Yes, for use with LPC-Link2, "LinkServer" is correct.

Try booting the part into ISP mode... 

https://community.nxp.com/message/630748 

And if this is your own board, check the requirements detailed at:

Design Considerations for Debug 

and in particular make sure you have ISP pulled correctly.

The other thing to watch with LPC12 parts is the watchdog : LPC12 Watchdog 

Regards,

LPCXpresso Support

0 Kudos