Has anyone figured out how to program an Olimex LPC2294 board?
I have tried both the LPC21ISP command line tool and the LP2000 flash utility too at various baud rates. Neither works for me. I have the BSL jumper installed and have tried using COM1 (the serial port) and COM3 (the USB serial port) with no success. I have tried using -control from the command line and use DTS/RTS from the LPC2000 utility with no success. I have tried not using the control options with no success.
If anyone has successfully flashed this board could you please post a reply that will help me get past this stumbling block? It would be greatly appreciated.
Hi. Mine seems to work fine with the Philips LPC2000 Flash tool. I have the ICSP switches ‘on’ and the BOOT switches ‘off’ (like default). I used 9600 baud (on my laptop, the USB chip comes up as COM4). I then pressed ‘Read Device ID’ and it read it and recognized it as an LPC2294. Then I selected a .hex file and pressed ‘upload to flash…’ and it flashed the MCU successfully (sometimes it won’t though, but if you press the button again it will ask you to reset your board and then it will work).
The secret (at least for me) was to make sure the BOOT0 and BOOT1 jumpers are in the left position, selecting 32 bits memory width. Either I had moved these or my board came with them positioned to the right.
Also, as Tsvetan points out, the BSL and JRST jumpers must be connected, and only the USB serial port can be used for flashing.
Another note: I got this to work on a different machine than the one I had previously been working with. It remains to be seen if it will work on that machine, and if not then the difference would have to be with the USB ports on the PC (as someone else has previoulsy noted).
Old topic i realise but I bought this board just recently and it took me a while to get it programmed via isp so for anyone else who just purchsed this board and is running linux, download lpc21isp (google search) and try this command:
where blahblah.hex is the hex file you want to upload. Also notice i am using /dev/ttyUSB0 which is a usb to rs232 convertor device i have connected (uses standard FTDI chip with driver built into linux kernel). I think serial ports are labeleld ttyS0, ttyS1 and is somthing you absolutely need to confirm before hand (or prepare to be frustrated)…
Anyhow, so my very first program uploads fine… but it doesnt work Time to start a new thread…