LPC1345 hangs on powerup.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LPC1345 hangs on powerup.

2,073 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by ub3r on Mon Mar 24 07:48:13 MST 2014
Hi

Sometimes when powering my device, using a LPC1345, the MCU locks up and does nothing.
Seems to work perfect once I disconnect and re-connect the power.

I've enabled brown-out reset at 2.7volts but still having issues. :(

Does anyone know why this happens?

cheers
Labels (1)
0 Kudos
6 Replies

2,030 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by mc on Fri Apr 04 09:58:12 MST 2014
Hi ub3r,
Do you know whether it is locked up due to hardware problem or  S/W bug. To segregate this, could you please do following?

1) Not sure if you have this problem with debugger attached on the target. Please Run code using debugger, put breakpoint at the first instruction of user code (just after reset) and run the code.
2) If you still can not debug, please post scope snapshot between VDD/Reset/ISP pin at power on.

0 Kudos

2,031 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by ub3r on Fri Apr 04 08:35:25 MST 2014
Power-On seems normal. 740us from 0.0v to 3.3v.

[img]http://www.lpcware.com/system/files/poweron_lpc3.png[/img]
0 Kudos

2,031 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by LabRat on Mon Mar 31 17:25:45 MST 2014

Quote: ub3r
...Do i need to pull-up the ISP pin?



Could be useful to avoid unintended booting into ISP...
0 Kudos

2,031 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by nxp_apps on Mon Mar 31 16:55:25 MST 2014
Hi,

Can you please somehow try the set-up without the large capacitor? I just wonder whether the desired supply voltage has reached the proper level by the time bootloader has executed and maybe you are stuck in ISP mode. What is connected to the boot pins (PIO0_1 and PIO0_3)?

You might have to scope the power supply and boot pins to see what is occuring.

Thanks.

nxp_support
0 Kudos

2,031 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by ub3r on Mon Mar 24 09:07:53 MST 2014
Yes it is a custom board. Do i need to pull-up the ISP pin?

On power up I have a large capacitor bank charging could the noise be triggering the boot loader??
0 Kudos

2,031 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by LabRat on Mon Mar 24 07:54:53 MST 2014

Quote: ub3r
...my device, using a LPC1345...



Custom board? Did you check pull-ups already (ISP, Reset)?
0 Kudos