I have a LPC-H2138 Developmrnt board form Olimex and also I’ve downloaded LPC 2000 flash utility from Philips. When I try to connect to LPC-H2138 board by ‘LPC 2000 flash utility’ I have an error: ‘Cannot communicate with test board!’.
A serial cable and the Philips Utility should be all you need.
The utility should be V2.2.3.
You need to enter the correct crystal frequency.
Switches set in ICSP position, not RUN
4800 baud is a good reliable frequency.
Try resetting or even removing the power.
Of course it could be a bad part. I did have one LPC2136 that just stopped bootloading after being programmed perhaps 500 times. Never did figure out why.
make sure you have both icsp switches in the ON position. that will enable the bootloader and then hit the reset button. If the switches are on 1 and 2 then the code runs and bootloader is disabled. make sure that the flash utility you have supports your header board as well. download the WINARM package that will include the flash utility that supports your board as i have the same one and work with the WINARM package.
You can also use a simple parallel port JTAG interface like my design in the LPC2000 group files section with the H-JTAG software. I just tried it out of curiosity (I normally use CrossWorks) and it worked OK with an LPC2148 board.
I haven’t quite gotten to the point where I can flash my 2378 board, but have learned two gotchas if you are using the JTAG programmer. First don’t assume the USB JTAG OCD can provide the power you need. I was able to modify my board to make it work, but had to solder in a jumper wire. Also a friend had mentioned that if you upload a firmware that buggers the JTAG clock, JTAG will stop working, and you’ll have to program via 232 or alt method to get it back working.
Failed communications may indicate a buggered JTAG, can you establish other JTAG comms?