Info example says the LPC2103 only has 8k

Newcomers to Astrobe and Oberon are welcome to ask any beginner-level questions here
Post Reply
Helpdesk
Posts: 24
Joined: Sat Jan 01, 2011 5:43 am
Contact:

Info example says the LPC2103 only has 8k

Post by Helpdesk » Sat Mar 12, 2011 5:38 am

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?

cfbsoftware
Site Admin
Posts: 423
Joined: Fri Dec 31, 2010 12:30 pm
Contact:

Re: Info example says the LPC2103 only has 8k

Post by cfbsoftware » Sat Mar 12, 2011 5:39 am

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.

Post Reply