Hello,
I did a feasibility project for a client using the NXP mbed LPC1768 device and the online C++ compiler tools at mbed.org. The study was successful and now the client wants to move to the Keil Development tool set as the company has used Keil for past projects. Also mbed.org is not releasing the source code for their libraries, some of which is buggy and incomplete. The client also wants to port any mbed C++ code to pure C which should be no problem with the Keil system.
While the new project specs are being drawn up, I ordered an NXP LCPXpresso LPC1769 development board and downloaded the 30-day trial Keil development system software. Under CodeRed IDE the USB download flash link was straight forward. I haven't found a similar method for a Keil to LPCXPresso download link.
What would be the best link to the target to use assuming that we use the Keil ARM Pro package? The choices I find are: * USB serial (similar to mbed) * ULINK Cortex Debugger * ULINK Cortex Debugger Pro * others listed in Keil brochures...
Ideally I'd like to set up a development stream that goes from edit/compile/flash/debug without a lot of manual intervention.
Any comments about how others have set this up would be appreciated.
Thanks for any comments and suggestions.
I'm pretty sure I saw a document about porting mbed to Keil on the mbed site? Or maybe it was the Keil site?
Have you asked on the mbed forum?
Andrew,
Thank for your suggestion on searching mbed.org to see what others have done. I'll do that search after mailing this.
mbed.org now does in fact provide facilities to export the user source code and mbed's static libraries from their cloud compiler. The libraries are in object-binary format with no source code. The current exports available are Keil/uVision, CodeRed, CodeSourcery, and GNU/GCC. I've used the export for Keil and it links an output as an .afx file. The "fromelf" utility converts the program to .bin for flashing.
I was hoping to find a uVision-to-USB link that would connect and flash download to the mbed module. Right now I can drag/copy the .bin file from the uVision output folder to the mbed module. (the mbed module has a bootloader that make it look like a thumb drive to a PC).
To make use of the uVision debugger I am going to have to purchase some hardware interface--probably JTAG. The small XPresso LPC1769 board I purchased has a break-away JTAG interface on it, but no drivers for Keil/uVision. This JTAG board works with CodeRed Xpresso, but I don't care for the IDE as it is rather user antagonistic.
Thanks again.
...assuming that we use the Keil ARM Pro package?
If you're considering buying an MDK licence - especially a Pro licence - then you should discuss with your supplier to get a deal on bundling-in a uLink...
http://www.keil.com/arm/selector.asp
http://www.keil.com/appnotes/docs/apnt_207.asp