Using LPC-Link for different LPC controller

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Using LPC-Link for different LPC controller

900件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Rob65 on Wed Jun 22 05:28:44 MST 2011
I have just finished my first lpc1754 board (see photo) and I can program the board using Flash Magic.

But I am wondering ... is it possible to use the LPC-Link module from an lpc1343 module with the lpc1754 processor? I quickly tested this but I get an error (02: Failed on connect: Em(02). MEM-AP is not selected.)
The connections look OK (I've checked that all pins are indeed connected and that there is no short circuit).

Before continuing my investigations it might be worthwhile to ask if this is possible at all.
Is the LPC-Link module universal or is it linked to a certain configuration?
The lpc1754 starts up in JTAG mode, the lpc1343 in SWD mode so there could be a difference.

Regards,

Rob

[IMG]http://bikealive.nl/img-for-others/LPCXpresso-forum/lpc1754-target_sm.jpg[/IMG]
0 件の賞賛
返信
5 返答(返信)

879件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by muhammadatif on Thu Feb 16 02:55:58 MST 2012
Has anyone programmed an LPC controller with an STM32VL discovery using SWD?
0 件の賞賛
返信

879件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Rob65 on Wed Jun 22 07:20:29 MST 2011
Works!

This was a clear case of "Cick your hardware designer in the ...(tm)" :D

After fixing the cable it all works as expected (yes yes ... I've already been asked before sending out the design why I did not include the 10 pin mini JTAG connector on my board ...)

Rob
0 件の賞賛
返信

879件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Rob65 on Wed Jun 22 06:21:53 MST 2011
And as always Zero has the answer!


Quote: Zero
LPC-Link is LPC-Link :)

Of course there are different versions (separate voltage regulator...)



Yes, I noticed the voltage regulator - makes sense with the bigger power hungry devices. :p
Good to know that it should work, some more work to do ...

As a bonus some more photos.

In the previous photo I've shown the top side of the board.
Top right is the USB connector with ESD protection on the D+/D- pins and the 1Mohm, 10 nF decoupling from the connector's housing to ground (proudly stolen from Embedded Artists) and on the left side the micro SD, 3v3 regulator and BAT54C (to allow powering from both external 5V and/or USB).

I could not get the 12 MHz crystal to fit on the top side so that one, plus a 24LC08 EEPROM, are on the bottom of the board. Here you'll also find the decoupling caps for the power pins.

[IMG]http://bikealive.nl/img-for-others/LPCXpresso-forum/lpc1754-target-bottom_sm.jpg[/IMG]

Soldering the lqfp80 package has proven to be a simple task.
You just need the right amount of soldering paste and some hot air (I use a simple cheap Aoyue rework station). Right amount ... if you think there is not enough paste you've probably already got too much.

Here is a detail of the lqfp soldering

[IMG]http://bikealive.nl/img-for-others/LPCXpresso-forum/lpc1754-soldering_sm.jpg[/IMG]

Click on the photos for a larger view.

Regards,

Rob
0 件の賞賛
返信

879件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Luis Digital on Wed Jun 22 06:20:24 MST 2011
Hello,

I use my LPC-Link (LPC1343), with my other chips:
LPC1111
LPC1342
LPC1764

Always using SWD (two or three wires).

Double check all your connections, shorts, etc.

Thanks for the photo.
0 件の賞賛
返信

879件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ex-Zero on Wed Jun 22 05:36:10 MST 2011
LPC-Link is LPC-Link :)

Of course there are different versions (separate voltage regulator...), but you can use all of them for all supported chips. In fact I've used my first LPC-Link (from LPCXpresso1343) with my own LPC1768 board before LPCXpresso1768 was available.
0 件の賞賛
返信