Regarding to programing LPC1768

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

Regarding to programing LPC1768

427 Views
durga3887
Contributor I
HI, I have designed a proto-type board for LPC1768 micro controller .I would like to know what are all the possible ways to program it for 1st time .
Tags (1)
0 Kudos
2 Replies

415 Views
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi,

I think you can populate a standard 20 pins male JTAG connect on your PCB board with 100mil pitch, you can use J-Link or the other device to download/debug the board of LPC1768.

This is the 20 pins JTAG connector pin assignment.

 

xiangjun_rong_0-1618387731770.png

Hope it can help you

BR

XiangJun Rong

 

0 Kudos

418 Views
converse
Senior Contributor V

To program for the first time, you can use a debugger, connected via the SWD/JTAG port, or use FlashMagic to program via the USART.

For the debugger, you will need a debug probe, such as LPC-Link2 or the new MCU-Link, which cost about $15 each and to use the free MCUXpresso. You will also need the SWD circuit described here

https://community.nxp.com/t5/LPCXpresso-IDE-FAQs/Design-Considerations-for-Debug/m-p/469565

If you are going to write any code, having a debugger will save you a lot of time, so it is better to make sure you can use it from the start, rather than have to re-engineer you board to add it later.

0 Kudos