Yahoo Groups archive

Lpc2000

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

Thread

How execute ram code after load by isp command

How execute ram code after load by isp command

2004-05-10 by Sébastien MARION (UMM)

Hi,
I want load a code in ram with isp command and then execute it.
I load the code successfull in ram (start adresse 0x40000000) but when I send the Go command, nothing append ?
if I start my debugger and watch the memory content, the data is correct.
Wich caution do I take for realize this task ?
Sebastien

Re: How execute ram code after load by isp command

2004-05-10 by philips_apps

Sebastien,

You are overwriting the bootloader RAM variables area.
Use 0x40000200 as start address. Also relink your code to run from 
address 0x40000200.

Philips apps.

--- In lpc2000@yahoogroups.com, Sébastien MARION (UMM) 
<s.marion@u...> wrote:
> Hi, 
> 
> I want load a code in ram with isp command and then execute it.
> I load the code successfull in ram (start adresse 0x40000000) but 
when I send the Go command, nothing append ?
> if I start my debugger and watch the memory content, the data is 
correct.
Show quoted textHide quoted text
> 
> Wich caution do I take for realize this task ?
> 
> Sebastien

Re: [lpc2000] Re: How execute ram code after load by isp command

2004-05-14 by Sébastien MARION (UMM)

thanks for your reply, it work better but not completly,
if I first start my board, load my code in ram and execute, it don't worked.
if I load with debugger a code in ram at start adress 0x40000000, it works
then if I reload by serial my code in 0x40000200 with the same process the first time, It works.
Why ?
Show quoted textHide quoted text
----- Original Message -----
Sent: Monday, May 10, 2004 9:31 PM
Subject: [lpc2000] Re: How execute ram code after load by isp command

Sebastien,

You are overwriting the bootloader RAM variables area.
Use 0x40000200 as start address. Also relink your code to run from
address 0x40000200.

Philips apps.

--- In lpc2000@yahoogroups.com, Sébastien MARION (UMM)
<s.marion@u...> wrote:
> Hi,
>
> I want load a code in ram with isp command and then execute it.
> I load the code successfull in ram (start adresse 0x40000000) but
when I send the Go command, nothing append ?
> if I start my debugger and watch the memory content, the data is
correct.
>
> Wich caution do I take for realize this task ?
>
> Sebastien


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.