EmbeddedRelated.com
Forums

corrupted bootloader LPC2103

Started by mkoniarz July 19, 2007
Hi all!.

I think that my chip has corrupted bootloader. I programmed it several
times, but now it only can be programmed via JTAG, Philips flash
utility says: "cannot communicate with test board". Is any way to
upgrade or fix bootloader? I found on net bootloader hex file for
2104, but no for LPC2103.

Thanks in advance.

Mariusz

An Engineer's Guide to the LPC2100 Series

--- In l..., "mkoniarz" wrote:
>
> Hi all!.
>
> I think that my chip has corrupted bootloader. I programmed it several
> times, but now it only can be programmed via JTAG, Philips flash
> utility says: "cannot communicate with test board". Is any way to
> upgrade or fix bootloader? I found on net bootloader hex file for
> 2104, but no for LPC2103.
>
> Thanks in advance.
>
> Mariusz
>

Hi Mariusz,

as far as I know, the bootloader of the LPC2101/2/3 can not be
corrupted because it is in a ROM block. That is shown on page 7 of the
Users Manual. No such ROM block in the LPC2104/5/6

Bob
Hi,
AFAIK, the bootloader of the LPC2103 resides in a ROM. Could it be one of the reasons that not any hex file exists?
Did you check your flash utility settings or our PC COM port setting?
Regards Joerg Cantignon
Like a few people have said, the LPC2103 bootloader resides in ROM
code so there's no way to corrupt it.

What I believe the problem is, is how you're connecting your
computer's serial port to it. There is an application note (AN10302)
that explains how to properly wire everything. Follow it exactly.
You'll need a 232-level shifter hooked up to UART1's Rx, Tx, and also
P0.14 and /RST. These pins will go to the host's RS232 Rx, Tx, DTR,
and RTS (not sure of the order, see the document). This way, the
Philips Bootloader Utility will be able to pull the chip in and out of
reset, and also configure it to be bootloaded. Saves time from
manually switching jumpers every time you need it programmed.

See the app note here:
http://www.standardics.nxp.com/support/documents/microcontrollers/pdf/an10302.pdf
On 7/19/07, mkoniarz wrote:
> I think that my chip has corrupted bootloader. I programmed it several
> times, but now it only can be programmed via JTAG, Philips flash
> utility says: "cannot communicate with test board". Is any way to
> upgrade or fix bootloader? I found on net bootloader hex file for
> 2104, but no for LPC2103.