Any possibility to program LPCXpresso directly with Keil IDE?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Any possibility to program LPCXpresso directly with Keil IDE?

1,641 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by nerd62 on Wed May 26 01:48:27 MST 2010
Hi professionals!

I use the ARM environment from Keil/ARM to develop programs for my M0 target hardware. Sometimes I want to test an algorithm on the LPC1114 LPCXpresso board before I implement it into the target code.

>> Is there a way to use the LPC-link portion directly from the Keil IDE?

I miss a driver for the LPC-link. I made a workaround by opening the eight copper traces on the LPCXpresso board and created a homebrewed adapter for my Keil ULINK2 programming tool.

Kind regards, nerd62 ;-)
0 项奖励
回复
6 回复数

1,590 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ex-Zero on Tue Dec 07 10:15:01 MST 2010
MCB1760 Evaluation Board Schematic Sheet 5 shows what you are looking for:

http://www.rlocman.ru/i/File/2010/05/11/2.pdf
0 项奖励
回复

1,590 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ex-Zero on Tue Dec 07 09:53:08 MST 2010
For LPC-Link there are no pull-ups /-downs necessary.
If ULINK2 needs them, add them and scope all signals to see if something is floating :)
AFAIK Keil is selling a few Development Kits, perhaps their schematics can show you where pull-ups are necessary.
0 项奖励
回复

1,590 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Servaas on Tue Dec 07 09:39:24 MST 2010
Hi
I have connected the SWCLK, SWDIO, RESET & GND lines to the ULINK2  programmer's connector using the pinout from the user guide (http://www.keil.com/support/man/docs/ulink2/ulink2_hw_connectors.htm) and it still does not work.

I am using an LPCXpresso board with a LPC1114. I have cut all the bridge  wires on connector J4 except for 3V3 and Gnd as I am powering the board  from the LPC-Link section using the USB.

The ULINK2 user guide says that a pull-up resistor should be added to  the SWDIO line and a pull-down resistor to the SWCLK. I don't see these  on the schematic for the LPCXpresso board. Should I add them.

Is there anything else I need to do to make this work??
0 项奖励
回复

1,590 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ex-Zero on Tue Dec 07 05:01:57 MST 2010
AFAIK Ulink2 is using SWD to debug M3 (see keil.com), so you can connect your target board via SWD (SWCLK, SWDIO, RESET & GND).
See:
http://knowledgebase.nxp.com/showthread.php?t=726&highlight=SWDIO
0 项奖励
回复

1,590 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Servaas on Tue Dec 07 04:49:01 MST 2010
Hi
How do I connect the ULINK2 programmer to the LPCXpresso board so I can use it with the Keil IDE? Do I need to modify the board?
0 项奖励
回复

1,590 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by NXP_Europe on Wed May 26 02:16:32 MST 2010
Hi nerd62,
No, there is no way connecting the LPC-Link to the Keil IDE.
So I'd advice, if you rather use Keil to use that in combination with the ULink2.

Kind regards,
0 项奖励
回复