Reply by thirdshoedrops December 24, 20082008-12-24
--- In l..., "eclice" wrote:

> I would like to run this simple LED blinking program only from the RAM,
> as a basis to start building more complex programs without damaging the
> flash with too much write cycles.

That's an admirable goal, but keep in mind that the Flash is spec'd at
100k write cycles & 20 years retention. Even if your development
cycle is REALLY efficient, it'll take you a long time to wear out your
Flash by programming new code. If you can't get it working before
100k tries, maybe you should consider some other line of business...

d.

An Engineer's Guide to the LPC2100 Series

Reply by hjiongh December 23, 20082008-12-23
hi, Eclice

If you want to execute code from RAM , you can modify map file.
ROMSTART address modify RAM address where you want to run start. You
can plot RAM several parts and define where to run start and where to
pput ram code .

Hope it can help you .
Regards
Vincent

--- In l..., "eclice" wrote:
>
> Hi all,
>
> I have an Olimex LPC-2378-STK board. I am completely new in the ARM
> world. I have installed the following development environment on
> Windows XP: yagarto (gcc 4.2.1), openocd (r717). I don't use
Eclipse.
> To program the board I have bought an ARM-USB-OCD tool.
> I have successfully compiled the simple LED blinking program (from
> http://olimex.com/dev/soft/arm/OpenOCD-projects100.zip), and
> successfully run it from the FLASH.
>
> I would like to run this simple LED blinking program only from the
RAM,
> as a basis to start building more complex programs without damaging
the
> flash with too much write cycles.
> I'm looking for a simple tutorial, which explains how to do it: I
have
> spent some hours googling to avoid any RTFM, but only got pointers
to
> run my programs from the FLASH.
>
> I thank you in advance,
>
> Eclice.
>

Reply by eclice December 23, 20082008-12-23
Hi all,

I have an Olimex LPC-2378-STK board. I am completely new in the ARM
world. I have installed the following development environment on
Windows XP: yagarto (gcc 4.2.1), openocd (r717). I don't use Eclipse.
To program the board I have bought an ARM-USB-OCD tool.
I have successfully compiled the simple LED blinking program (from
http://olimex.com/dev/soft/arm/OpenOCD-projects100.zip), and
successfully run it from the FLASH.

I would like to run this simple LED blinking program only from the RAM,
as a basis to start building more complex programs without damaging the
flash with too much write cycles.
I'm looking for a simple tutorial, which explains how to do it: I have
spent some hours googling to avoid any RTFM, but only got pointers to
run my programs from the FLASH.

I thank you in advance,

Eclice.