Page 1 of 1

Info example says the LPC2103 only has 8k

Posted: Sat Mar 12, 2011 5:38 am
by Helpdesk
I don't understand the output from Info.mod

It says Memory Available 7140 - but Info.map shows only something like 8000 bytes used in total and the 2103 has 32K.... Where did the rest go?

Re: Info example says the LPC2103 only has 8k

Posted: Sat Mar 12, 2011 5:39 am
by cfbsoftware
The LPC2103 has 32kB of flash *ROM* (program code) but only 8kB of RAM (program data).

The Memory Available 7140 shown in the Info example refers to what is left of the 8kb of RAM.

Have a look at Section 6.5 "Memory Map" in

Astrobe > Help > Oberon for LPC Microcontrollers

to see how the memory is allocated.