Yahoo Groups archive

Lpc2000

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

Message

Re: LPC2138FBD64

2005-10-26 by lpc2100_fan

Hi Patrick,

it is possible to store data while running from the internal RAM but
it is not possible to run a program from Flash while programming
another part of the Flash.

The Keil C-Compiler is a good choice but it is not freeware. There is
a version that allows you to write 16k of your code and can be
downloaded from www.keil.com

Size of Blinky, a few hundred bytes, unless you use such a library
function like printf, then we are immediately talking a couple kbytes.

There is a free compiler (GNU) and if you take ten minutes to search
this forum you will find many references to that compiler as well. One
warning, the library functions of the GNU are very big and increase
the size of a program a lot compared to a compilers you have to buy.
For the application you mention (sounds like a data logger), the GNU
compiler is perfect, actually the 16k of the Keil compiler might be
enough to do the function you mentioned. 

Bob

--- In lpc2000@yahoogroups.com, "Patrick Doll" <Patrick-doll@g...> wrote:
>
> Hi,
> 
> I have three (easy) questions:
> 
> 1.)Is it possible to store Data in the nonvolatile internal Flash memory
> region of the LPC2138FBD64 by a program running on the MCU? I want
to store
> serial values coming from the SPI Interface (~100KBytes). Or do I
need an
> external memory chip?
> 
> 2.)I'm looking for a C-Compiler
> In the book "The Insiders guide to the Philips ARM7-Based MCUs" the
Keil ARM
> Compiler is mentioned. Is there any experience with this Compiler? Is it
> freeware? Is it possible to use it for the LPC2138FBD64? Or do you
suggest
> another compiler?
> 
> 3.)At the moment I'm looking for the right MCU, so the size of the
program
> space is a very important part. How much memory is used by a simple
program?
> (e.g. let an led blink incl. startup code + ...?).
> 
> Thank you
> 
> -- 
> Highspeed-Freiheit. Bei GMX supergünstig, z.B. GMX DSL_Cityflat,
> DSL-Flatrate für nur 4,99 Euro/Monat*  http://www.gmx.net/de/go/dsl
>

Attachments

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.