Olimex's ARM-USB-OCD programmer and HEX files...

Hi all,

I am very new to 32-bit uC’s and JTAG, so apologies if the following is a silly question! I am working on a project that is based around an NXP LPC2368 ARM controller, and am looking to buy an Olimex JTAG programmer (ARM-USB-OCD). However, I have also bought an excellent board called an mbed which uses the same chip (as it comes with lots of pre-written libraries, thus reducing the learning curve!). The compiler with this mbed board generates raw HEX files; can I use the Olimex programmer to download this raw HEX file to my target board easily? (i.e. does the programmer come with the software to do this?).

Thanks!

Angus

The Olimex unit just comes with drivers, downloading has to be done with other software. The CrossWorks ARM software I use has a hex downloading facility, for instance.

Leon

Hi Leon,

Thanks for the reply. I see the CrossWorks software is relatively expensive for a commercial license; do you know of any freeware or cheaper software that would do the job? All I really need to do is download that raw HEX file, as the compiler side of things is taken care of!

Many thanks,

Angus

You can always use the UART0 boot-loader with LPC2000 chips.

Leon

angust_uk:
All I really need to do is download that raw HEX file, as the compiler side of things is taken care of!

That would be OpenOCD.

How to build OpenOCD for windows

viewtopic.php?t=11221

BR

Johan

angust_uk:
The compiler with this mbed board generates raw HEX files; can I use the Olimex programmer to download this raw HEX file to my target board easily? (i.e. does the programmer come with the software to do this?).

If you can connect the UART on your LPC2368 target board to a COM port on your PC you can use the FlashMagic software to upload the HEX file from the PC to your board.

http://www.flashmagictool.com

If you do not have any COM ports on your PC you can get USB / RS232 convertor cables for only ~ $10-$15.

Many thanks for the help everyone - very useful!

Angus