Precompiled led flasher for Olimex H2294

Ok so I’ve recently aquired this lovely lpc2294 based board from spark fun and Ive quietly messed about trying to get it going for a couple days with moderate sucess…

It’s actually quite a long story, but to shorten it considerably, Under linux I have the (quite common?) flash utility “lpc21isp” aparently working fine. Unfortunately I think I have problems with GCC under both windows and linux and to test whether this is the case I would be really keen to at least try to upload a ready-compiled hex file to my Olimex h2294 board.

My question then is: Does anyone have this same board or at least this same microcontroller and an example hex file that say turns an i/o port pin on/off at a low frequency (like an led flasher) they would be willing to send to me. I just want somthing simple I can check with a scope (or led :D) to confirm this part of the procedure is working fine for me and that I am infact just an idiot who can’t use gcc :slight_smile:

Cheers,

Mikael

Ok got sent a sample code and got the problem solved :slight_smile:

It seems after testing in windows the philips flash utility doesnt operate at all with manual reset and doesnt switch out of reset in automatic mode…how stupid. I have to program with icsp switches on, then after programming, switch them off and manually reset…

gcc and script file seem to work fine now under windows too but not yet under linux.

cheers,

mikael

Hi Mikael,

I’ve got the exactly same problem.

I recently purchased an olimex h2294 to learn a little arm.

I’ve got the arm gnu toolchain up and running under cygwin as described in Jim Lynch’s book…

But I can’t for the life of me get an LED to blink.

I modified the linker script from one of the LPC sample projects and in theory I should be running at ~60MHz and blinking about once a second… but I can’t see a thing

Since you’ve already been through this

1.) Could you please send me a copy of your gnu make file etc

2.) Could you give a rundown on the header board switch / jumper configurations.

3.) Could you send me a pre-compiled hex file so that I can check that the flash utility setup is working properly

My email is s.simpson64----aaaatttttttt–gmAAAil-dotttt-coooooom

Much abliged

Steve