I’m an Electrical & Computer Engineering student working on a project for school. We’ve decided to use the Olimex LPC-MT-2138 to implement our design, but and I’m trying to get our board up and running.
I’m using the ARM-JTAG dongle from Olimex to connect the board to my computer. I’m using IAR Kickstart for ARM as the IDE and H-JTAG to download and debug. I’ve also successfully downloaded a precompiled working .hex file through the RS232 port on the board using the Philips Flash Utility. I got the precompiled code from here: http://soft.mado.at/lpc2138.htm. When I compile the code myself in IAR, not only is the .hex file much smaller (~5K vs. 15K), but it does not work.
I would love to be able to get my compiler working so I can run that code, and also this code, from the Olimex site: http://www.olimex.com/dev/soft/arm/LPC/ … _relay.zip. It is a very simple program that will be great in helping me get started (once I can get it to compile and run!).
I’m having IAR generate the hex files by enabling the additional output (intel extended) in the project options. What am I doing wrong in IAR that is preventing my .hex files from working?
Thanks in advance for your help.