Programming LPC2148: pain in the ass?

Yes, I measure 3.3v. The 2148 runs the factory set program which plays a sound byte using the speaker which is still loaded in flash, anytime I power up with the wiggler disconnected…I found that with the wiggler plugged in, all LEDs are on continuously. We appear to be in all high impedence all the time…the wiggler is holding the device in reset…

If I disconnect the JTAG (where I have to listen the loud and annoying sound byte which is an advestisement from keil), I still cannot change the device type, only scroll through and view the different types in the list. Pretty much every button (Upload to flash, Manual Reset, ERase, Read Device ID) will, after a few seconds, give the error message “Cannot communicate with test board!” …I finally figured out that my serial cable contains all handshake signals, and that DTR was asserting RST. Removed J10 jumper, but still cannot communicate…Tried 115200, 19200, 9600, 4800…I can see a signal arriving at RXD0, capturing it on scope…Yes, I made sure that the DTR/RTS box is UNchecked…I have been using the “ReadDeviceType” all along here to no avail…been pressing reset button on board, then enter on keyboard…Any ideas anyone???

The device needs to be in bootmode in order to communicate with the Philips flash utility. If you hear the demo sound, it is NOT in bootmode. Bootmode is entered by keeping P0.14 activated during reset. The flash utility does this for you if your hardware supports it (DTR/RTS connected to RESET/P0.14). If not, you can try entering boot mode manually (keep P0.14 activated during reset).

Isn’t there something about this in the Keil documentation? Or can you ask them for support?

With my embedded artists LPC2148 board, the flash utility works fine: max baudrate is 38400 (because of 12 MHz crystal), I have the ‘Use DTR/RTS…’ box checked and Time-Out set to 2 seconds.

With my embedded artists LPC2148 board, the flash utility works fine: max baudrate is 38400 (because of 12 MHz crystal), I have the ‘Use DTR/RTS…’ box checked and Time-Out set to 2 seconds.

I agree 38.4k is max but, please help we out with the math here! :slight_smile: