EmbeddedRelated.com
Forums
The 2024 Embedded Online Conference

Problems flashing LPC2138

Started by markevans_1 October 3, 2005
Hi
I have a LPC2138 soldered onto my own board. I have a USB-serial
bridge IC attached to UART0. I am using a 12MHz crystal (I have also
tryed 16MHz) I have no 32kHz crystal attached.

Using Phillips flash utility I can read device ID: 196389, Boot loader
ID: 2.0.

I can successfully erase and blank check. However when I attempt to
Upload Flash it fails mid way through the write. I have tryed using
all the baud rates. Any ideas?


An Engineer's Guide to the LPC2100 Series

Take a look at the power supplies. I had a similar problem with the
2119 and traced it to needing a larger bypass cap on the VCC pin.
Looking at the pin with a meter, everything was fine. I had to go to
100MHz view, AC coupled, then saw major spikes in power supply. The
device "kind of worked" - I could do some JTAG, some ISP. Adding a 10uF
chip cap at the regulator cleared it all up.
_____

From: lpc2000@lpc2... [mailto:lpc2000@lpc2...] On Behalf
Of markevans_1
Sent: Monday, October 03, 2005 5:49 AM
To: lpc2000@lpc2...
Subject: [lpc2000] Problems flashing LPC2138
Hi
I have a LPC2138 soldered onto my own board. I have a USB-serial
bridge IC attached to UART0. I am using a 12MHz crystal (I have also
tryed 16MHz) I have no 32kHz crystal attached.

Using Phillips flash utility I can read device ID: 196389, Boot loader
ID: 2.0.

I can successfully erase and blank check. However when I attempt to
Upload Flash it fails mid way through the write. I have tryed using
all the baud rates. Any ideas? SPONSORED LINKS

Microprocessor
<http://groups.yahoo.com/gads?t=ms&k=Microprocessor&w1=Microprocessor&w2
=Microcontrollers&w3=Pic+microcontrollers&w451+microprocessor&c=4&s=9
3&.sig=tsVC-J9hJ5qyXg0WPR0l6g>

Microcontrollers
<http://groups.yahoo.com/gads?t=ms&k=Microcontrollers&w1=Microprocessor&
w2=Microcontrollers&w3=Pic+microcontrollers&w451+microprocessor&c=4&s
&.sig=DvJVNqC_pqRTm8Xq01nxwg>

Pic microcontrollers
<http://groups.yahoo.com/gads?t=ms&k=Pic+microcontrollers&w1=Microproces
sor&w2=Microcontrollers&w3=Pic+microcontrollers&w451+microprocessor&c
=4&s&.sig=TpkoX4KofDJ7c6LyBvUqVQ>

8051 microprocessor
<http://groups.yahoo.com/gads?t=ms&k51+microprocessor&w1=Microprocess
or&w2=Microcontrollers&w3=Pic+microcontrollers&w451+microprocessor&c=
4&s&.sig=1Ipf1Fjfbd_HVIlekkDP-A

_____

> .
_____


Take a look at the power supplies. I had a similar problem with the
2119 and traced it to needing a larger bypass cap on the VCC pin.
Looking at the pin with a meter, everything was fine. I had to go to
100MHz view, AC coupled, then saw major spikes in power supply. The
device "kind of worked" - I could do some JTAG, some ISP. Adding a 10uF
chip cap at the regulator cleared it all up.
_____

From: lpc2000@lpc2... [mailto:lpc2000@lpc2...] On Behalf
Of markevans_1
Sent: Monday, October 03, 2005 5:49 AM
To: lpc2000@lpc2...
Subject: [lpc2000] Problems flashing LPC2138
Hi
I have a LPC2138 soldered onto my own board. I have a USB-serial
bridge IC attached to UART0. I am using a 12MHz crystal (I have also
tryed 16MHz) I have no 32kHz crystal attached.

Using Phillips flash utility I can read device ID: 196389, Boot loader
ID: 2.0.

I can successfully erase and blank check. However when I attempt to
Upload Flash it fails mid way through the write. I have tryed using
all the baud rates. Any ideas? SPONSORED LINKS

Microprocessor
<http://groups.yahoo.com/gads?t=ms&k=Microprocessor&w1=Microprocessor&w2
=Microcontrollers&w3=Pic+microcontrollers&w451+microprocessor&c=4&s=9
3&.sig=tsVC-J9hJ5qyXg0WPR0l6g>

Microcontrollers
<http://groups.yahoo.com/gads?t=ms&k=Microcontrollers&w1=Microprocessor&
w2=Microcontrollers&w3=Pic+microcontrollers&w451+microprocessor&c=4&s
&.sig=DvJVNqC_pqRTm8Xq01nxwg>

Pic microcontrollers
<http://groups.yahoo.com/gads?t=ms&k=Pic+microcontrollers&w1=Microproces
sor&w2=Microcontrollers&w3=Pic+microcontrollers&w451+microprocessor&c
=4&s&.sig=TpkoX4KofDJ7c6LyBvUqVQ>

8051 microprocessor
<http://groups.yahoo.com/gads?t=ms&k51+microprocessor&w1=Microprocess
or&w2=Microcontrollers&w3=Pic+microcontrollers&w451+microprocessor&c=
4&s&.sig=1Ipf1Fjfbd_HVIlekkDP-A

_____

> .
_____



The 2024 Embedded Online Conference