EmbeddedRelated.com
Forums

LPC2132 not starting up. Always in ISP.

Started by jona...@gmail.com February 14, 2008
Hi,

First unit to be repaired of a new design has been sent to me. As It's the first one, I'm more interesting in identifying what happened than in repairing it, in order to know if it's necessary to change something in HW or SW for future supplies or if it's ok as it is and it's just a common reparation.

LPC2132 in the not working board is not starting up. If I debug using JTAG I can see that starting up (startup.s) is not finished. Hardware seems to be OK (Power supply voltage is OK, rise time of this voltage is lower than 10ms, and while Reset no hardware ISP is forced). But micro seem to be in ISP mode all the time, as I can upload my firmware as many times as I want without using RST an P0.14 pins (Flash magic application without using DTR and RTS to control RST and P0.14).

Using LPC2000 flash utility I downloaded flash and compared it to a correct one, and both are identical. Besides vector checksum in 0x00000014 is correct.

¿Could anybody give me a hint of what more can I check to know why it's not starting up?

Thanks in advance!!!!!!!

Jon.

An Engineer's Guide to the LPC2100 Series

Have you checked also if some input/output pin may be damaged (HW
trouble) and this can block the startup process for some reason?

Cheers
Fabio Filippa

-----Messaggio originale-----
Da: j...@gmail.com [mailto:j...@gmail.com]
Inviato: gioved14 febbraio 2008 19.06
A: l...
Oggetto: [lpc2000] LPC2132 not starting up. Always in ISP.
Hi,

First unit to be repaired of a new design has been sent to me. As It's
the first one, I'm more interesting in identifying what happened than in
repairing it, in order to know if it's necessary to change something in
HW or SW for future supplies or if it's ok as it is and it's just a
common reparation.

LPC2132 in the not working board is not starting up. If I debug using
JTAG I can see that starting up (startup.s) is not finished. Hardware
seems to be OK (Power supply voltage is OK, rise time of this voltage is
lower than 10ms, and while Reset no hardware ISP is forced). But micro
seem to be in ISP mode all the time, as I can upload my firmware as many
times as I want without using RST an P0.14 pins (Flash magic application
without using DTR and RTS to control RST and P0.14).

Using LPC2000 flash utility I downloaded flash and compared it to a
correct one, and both are identical. Besides vector checksum in
0x00000014 is correct.

¿Could anybody give me a hint of what more can I check to know why it's
not starting up?

Thanks in advance!!!!!!!

Jon.


Thank you for your answer,

I solved the problem. You were right. It was HW. Few pins were touching the pad but not soldered (one of them was Vss 50). When product was manufactured the problem was not detected as pins were touching the pad.

Common reparation so good news.

Best Regards,

Jon.

Have you checked also if some input/output pin may be damaged (HW
>trouble) and this can block the startup process for some reason?
>
>Cheers
>Fabio Filippa
>
>-----Messaggio originale-----
>Da: j...@gmail.com [mailto:j...@gmail.com]
>Inviato: gioved14 febbraio 2008 19.06
>A: l...
>Oggetto: [lpc2000] LPC2132 not starting up. Always in ISP.
>Hi,
>
>First unit to be repaired of a new design has been sent to me. As It's
>the first one, I'm more interesting in identifying what happened than in
>repairing it, in order to know if it's necessary to change something in
>HW or SW for future supplies or if it's ok as it is and it's just a
>common reparation.
>
>LPC2132 in the not working board is not starting up. If I debug using
>JTAG I can see that starting up (startup.s) is not finished. Hardware
>seems to be OK (Power supply voltage is OK, rise time of this voltage is
>lower than 10ms, and while Reset no hardware ISP is forced). But micro
>seem to be in ISP mode all the time, as I can upload my firmware as many
>times as I want without using RST an P0.14 pins (Flash magic application
>without using DTR and RTS to control RST and P0.14).
>
>Using LPC2000 flash utility I downloaded flash and compared it to a
>correct one, and both are identical. Besides vector checksum in
>0x00000014 is correct.
>
>¿Could anybody give me a hint of what more can I check to know why it'>s
>not starting up?
>
>Thanks in advance!!!!!!!
>
>Jon.
>
>
>
>
I experienced similar problems in the past: the MCU appears to be defective
-- replacing it with a new one solved the problem in my case. It seems that
P0.14 input was damaged (forced to 0) -- possibly ESD. In some cases the
defect may be obvious by measuring the pin P0.14 (open drain) -- if in ISP
mode P0.14 is always an input. Do you have a pull-up resistor connected to
this pin? If not, this may explain the behavior.

Good luck,

Stefan
-----Original Message-----
From: l... [mailto:l...] On Behalf Of
j...@gmail.com
Sent: February 14, 2008 10:06 AM
To: l...
Subject: [lpc2000] LPC2132 not starting up. Always in ISP.

Hi,

First unit to be repaired of a new design has been sent to me. As It's the
first one, I'm more interesting in identifying what happened than in
repairing it, in order to know if it's necessary to change something in HW
or SW for future supplies or if it's ok as it is and it's just a common
reparation.

LPC2132 in the not working board is not starting up. If I debug using JTAG I
can see that starting up (startup.s) is not finished. Hardware seems to be
OK (Power supply voltage is OK, rise time of this voltage is lower than
10ms, and while Reset no hardware ISP is forced). But micro seem to be in
ISP mode all the time, as I can upload my firmware as many times as I want
without using RST an P0.14 pins (Flash magic application without using DTR
and RTS to control RST and P0.14).

Using LPC2000 flash utility I downloaded flash and compared it to a correct
one, and both are identical. Besides vector checksum in 0x00000014 is
correct.

¿Could anybody give me a hint of what more can I check to know why it's not
starting up?

Thanks in advance!!!!!!!

Jon.