Access to LPC1227

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

Access to LPC1227

351 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by gesine on Tue Nov 05 07:18:45 MST 2013
Hi,

I am using the LPCXpresso board and am new to this platform. In my program I configured the clock, such that the LPC1227 on my board cannot be reprogrammed. I enabled vector catch and tried setting the ISP pin (pin 0.12 if I am not mistaken) to ground, but it did not help to regain access to the LPC1227. Does anybody have another idea, what I could try to reprogram the LPC1227?

Thanks in advance!
Gesine
0 Kudos
5 Replies

322 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by R2D2 on Wed Nov 06 06:14:25 MST 2013
Another useful link: How to switch to ISP

http://www.youtube.com/watch?v=chFv1EiZcYo
0 Kudos

322 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by gesine on Wed Nov 06 06:01:13 MST 2013
Thanks for the link. Unfortunately, I still did not manage to reprogram the LPC1200, but I will keep trying :)
0 Kudos

322 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by R2D2 on Tue Nov 05 10:23:00 MST 2013

Quote: gesine
Do I see correctly that the LPCXpresso LPC1200 Rev B board does not have a UART connector to connect the UART-USB converter to?



Right, you have to connect an UART(3.3V) to USB converter to your LPC UART.

That's[color=#f00] not[/color] the Mini-USB connector of LPCXpresso LPC-Link Board, which is used to connect LPC-Link to your PC.

Tutorial: http://www.microbuilder.eu/Projects/LPC1114ReferenceDesign/FlashMagic.aspx
0 Kudos

322 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by gesine on Tue Nov 05 09:53:20 MST 2013
Hi R2D2,

thank you very much for your quick reply.

I had tried using FlashMagic before and now I tried it again. Unfortunately it does not work, as I cannot establish a connection to the board. FlashMagic tells me "Operation Failed. Failed to autobaud". Maybe I am using the wrong cable.. I used the mini-USB cable that I usually use. Do I see correctly that the LPCXpresso LPC1200 Rev B board does not have a UART connector to connect the UART-USB converter to?

Thanks,
Gesine
0 Kudos

322 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by R2D2 on Tue Nov 05 07:37:40 MST 2013
Trying to switch to ISP was correct. PIO0_12 is the correct ISP pin.

Unfortunately sometimes SWD refuses to work. Then switching to ISP and using FlashMagic is your last hope.

This has been described several times in this forum.

http://www.lpcware.com/content/forum/xpresso-lpc1115-failed-on-connect-ee07

You can try to reset your board and restart your PC, if that's not helping download FlashMagic

http://www.flashmagictool.com/

and connect an UART-USB converter

http://www.ftdichip.com/Products/Cables/USBTTLSerial.htm
0 Kudos