Yahoo Groups archive

Lpc2000

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

Thread

flashing an elf-file to internal Flash

flashing an elf-file to internal Flash

2005-10-17 by Klaus

I am downloading an elffile to the internal Flash. I write the
sections with IAP. So far everything works. But after reset, the
program doesnt start. I set the valid User Code Signature and i
reserve the top 32 bytes of the internal Ram. Has anybody experience
with that topic or a clue, what could go wrong?
Thanks in advance, Klaus

Re: flashing an elf-file to internal Flash

2005-10-17 by bdmlpc

Hello Klaus,

if you have a bootloader flash tool you can check at UART0 if you can
connect with that tool after RUN command to your bootloader without
asserting P0.14 and /Reset. If your bootloader responses your user
signature is wrong.
Another solution is to start the IC and stop it with your JTAG tools
to see "where" it is running. Check if this address is in bootloader
section or in user code (maybe bad exception).

  Sten

--- In lpc2000@yahoogroups.com, "Klaus" <klaus276@y...> wrote:
Show quoted textHide quoted text
>
> I am downloading an elffile to the internal Flash. I write the
> sections with IAP. So far everything works. But after reset, the
> program doesnt start. I set the valid User Code Signature and i
> reserve the top 32 bytes of the internal Ram. Has anybody experience
> with that topic or a clue, what could go wrong?
> Thanks in advance, Klaus
>

Re: [lpc2000] flashing an elf-file to internal Flash

2005-10-18 by Alexandre PETIT

Hi,

During the reset, you would like to verify the state of pins which give the boot mode : internal flash, external peripherical on CS0 or other.

good luck

Alexandre
Show quoted textHide quoted text
  ----- Original Message ----- 
  From: Klaus 
  To: lpc2000@yahoogroups.com 
  Sent: Monday, October 17, 2005 3:25 PM
  Subject: [lpc2000] flashing an elf-file to internal Flash


  I am downloading an elffile to the internal Flash. I write the
  sections with IAP. So far everything works. But after reset, the
  program doesnt start. I set the valid User Code Signature and i
  reserve the top 32 bytes of the internal Ram. Has anybody experience
  with that topic or a clue, what could go wrong?
  Thanks in advance, Klaus





------------------------------------------------------------------------------
  YAHOO! GROUPS LINKS 

    a..  Visit your group "lpc2000" on the web.
      
    b..  To unsubscribe from this group, send an email to:
     lpc2000-unsubscribe@yahoogroups.com
      
    c..  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 


------------------------------------------------------------------------------



[Non-text portions of this message have been removed]

Re: [lpc2000] flashing an elf-file to internal Flash

2005-10-18 by Tom Walsh

Alexandre PETIT wrote:

>Hi,
>
>During the reset, you would like to verify the state of pins which give the boot mode : internal flash, external peripherical on CS0 or other.
>
>  
>
yeah, this got me too.  I misread the user manual of the LPC2xxx and had 
a pullup on the wrong pin.  The LPC2xxx processors don't have internal 
pullup resistors.  You have to make sure that P0.14 is pulled high with 
something like a 10K resistor.

TomW






>good luck
>
>Alexandre
>
>
>
>  ----- Original Message ----- 
>  From: Klaus 
>  To: lpc2000@yahoogroups.com 
>  Sent: Monday, October 17, 2005 3:25 PM
>  Subject: [lpc2000] flashing an elf-file to internal Flash
>
>
>  I am downloading an elffile to the internal Flash. I write the
>  sections with IAP. So far everything works. But after reset, the
>  program doesnt start. I set the valid User Code Signature and i
>  reserve the top 32 bytes of the internal Ram. Has anybody experience
>  with that topic or a clue, what could go wrong?
>  Thanks in advance, Klaus
>
>
>
>
>
>------------------------------------------------------------------------------
>  YAHOO! GROUPS LINKS 
>
>    a..  Visit your group "lpc2000" on the web.
>      
>    b..  To unsubscribe from this group, send an email to:
>     lpc2000-unsubscribe@yahoogroups.com
>      
>    c..  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 
>
>
>------------------------------------------------------------------------------
>
>
>
>[Non-text portions of this message have been removed]
>
>
>
>
> 
>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.