Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Thread

Bootloader <-> UserProgram

Bootloader <-> UserProgram

2005-10-31 by ucsebbel

Hi,

I have a little problem.
I build my own evaluation board based on the LPC2214. I can start the
bootloader, upload data and download data (also verify).
But the board never start the normal user-program that I've uploaded
in the FLASH. 
After a normal reset the Bootloader and the user-program  don't start.
So my question, what can the LPC do after a reset?? 
I don't have a debug interface or anything else. I own only a serial
cable.
Hopefully somebody can help me.
Perhabs I forget a pin which stuck at low or high and so the LPC start
into another mode ???

Regards 

Sebastian

Re: [lpc2000] Bootloader <-> UserProgram

2005-10-31 by Tom Walsh

ucsebbel wrote:

>Hi,
>
>I have a little problem.
>I build my own evaluation board based on the LPC2214. I can start the
>bootloader, upload data and download data (also verify).
>But the board never start the normal user-program that I've uploaded
>in the FLASH. 
>After a normal reset the Bootloader and the user-program  don't start.
>So my question, what can the LPC do after a reset?? 
>I don't have a debug interface or anything else. I own only a serial
>cable.
>Hopefully somebody can help me.
>Perhabs I forget a pin which stuck at low or high and so the LPC start
>into another mode ???
>
>  
>
P0.14 must be pulled to +3.3 volts, the Checksum must exits in the 
interrupt table.  Otherwise, the chip will simply enter into the monitor 
rom and not run your program.

If you are going to do development on the LPC2xxx chips, I highly 
recommend that you get a JTAG of some kind working for you.  Their are 
cheap-o parallel port wigglers which you can build for a few dollars up 
to spending several thousand dollars for a high-end Abatron BDI2000 (I 
got me one of these ;-))

Your program could have run, then did an illegal memory acess (DATA 
ABORT) or the stack register was not set properly and you returned into 
an invalid opcode (UNDEF ABORT)...  JTAG debugger will let you see what 
happened, until then, it is anyones guess what went / is wrong.  Stop 
guessing and start working, get a debugger together!

TomW

>Regards 
>
>Sebastian
>
>
>
>
>
>
> 
>Yahoo! Groups Links
>
>
>
> 
>
>
>  
>


-- 
Tom Walsh - WN3L - Embedded Systems Consultant
http://openhardware.net, http://cyberiansoftware.com
"Windows? No thanks, I have work to do..."
----------------------------------------------------

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.