Using the mbed board

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

Using the mbed board

2,153 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by JohnDH on Fri Dec 04 15:04:53 MST 2009
Somewhere in the docs it mentions that LPCXpresso can be used with the mbed board. So what are the steps from compile to having the code running on the mbed board?
0 Kudos
Reply
6 Replies

2,122 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by kendwyer on Wed Dec 09 11:33:56 MST 2009
The LPCXpresso IDE can be used to compile C code and generate binary files for drag-and-drop flashing to mBED. You won't get all of the nice mBED libraries in the online build system.
0 Kudos
Reply

2,122 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by NXP_USA on Sun Dec 06 12:28:44 MST 2009
Hi John,

After building code in LPCXpresso, drill down in the Project Explorer until you get to the .axf executable. Right click on it and choose Create Binary from the Binary Utilities submenu. Then in windows, find the .bin file and drag it onto your MBED USB disk drive.

-NXP USA
0 Kudos
Reply

2,122 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by JohnDH on Sat Dec 05 15:21:10 MST 2009
That is another layer of hardware I would like to avoid. My main interest in the LPC1768 is for motor control and the built in encoder interface with position and velocity registers look very attractive. I've done some work with the LPC2103, but having more than one high speed interrupt is very hard to handle without nested interrupts.

I've laid out a target board with the LPC1768 pined out for my motor control project, but I'm a little reluctant to get boards made until I've done more code testing and can get a Code Red LPC1343 module to use the JTAG interface.

I've never liked C++, and mixing some C++ organization with the mbed software package together with using an on-line compiler turns me off of the mbed software and on to LPCxpresso.

So can I use something like HEX2BIN on the LPCxpresso output file and download it to the mbug file folder with some hope that the code will run?
0 Kudos
Reply

2,122 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by igorsk on Sat Dec 05 11:57:50 MST 2009
Probably you need to choose the MCU of your mbed (LPC1768 or LPC2368), compile code to raw binary and then use the same drag-and-drop trick as with the online IDE.
0 Kudos
Reply

2,122 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by LPCVictoria on Sat Dec 05 10:23:06 MST 2009
No, well this will be a nice board, the question was about using the LPCLink portion of the LPCXpresso board and ist associated IDE with the mbed board.   The IDE supports the LPC11xx, 13xx, and 17xx mpus, and so should handle the mbed board. 

Perhaps we should ask on the mbed site?

David
0 Kudos
Reply

2,122 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by amit on Sat Dec 05 09:57:17 MST 2009
Hi,

LPCXpresso development board is supported by a EA base board. The base board supports both LPCXpresso development board and mbed.

Check out this URL:
http://www.embeddedartists.com/products/lpcxpresso/xpr_base.php?PHPSESSID=c2s7qa2m91sdcgg74o5ic06m66

Hope this helps.
0 Kudos
Reply