Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

What is extended memory in microcontrollers?

Status
Not open for further replies.

phanikumar

Newbie level 4
Joined
Oct 27, 2005
Messages
7
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,333
hi

what is extended memory.and where is it used.how to use that memory.
 

dunn

Full Member level 3
Joined
Apr 12, 2001
Messages
155
Helped
22
Reputation
44
Reaction score
7
Trophy points
1,298
Activity points
1,276
Re: microcontrollers

phanikumar said:
hi

what is extended memory.and where is it used.how to use that memory.


Microcontrollers have a certain amount of memory BUILT INTO the chip (for example 2K Bytes).

If the programmer requires more then 2K Bytes the he/she must extend the memory.

THis is doen by using additional Memory Chips (for example EPROMs or EEPROMs).

This is called Extended Memory.
 

phanikumar

Newbie level 4
Joined
Oct 27, 2005
Messages
7
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,333
Re: microcontrollers

hi

i like to know about memory models.( tiny,small,large..)

how many memory models do we have.?
what are they.?
how to use them.?
what are the benificts of using them.?

please help i like to know about this in detail.
 

dunn

Full Member level 3
Joined
Apr 12, 2001
Messages
155
Helped
22
Reputation
44
Reaction score
7
Trophy points
1,298
Activity points
1,276
Re: microcontrollers

With a microcontroller (like the 8051) the first decision is which memory model to use.

Whereas the PC programmer chooses between TINY, SMALL, MEDIUM, COMPACT, LARGE and HUGE to control how the processor segmentation of the RAM is to be used (overcome!), the 8051 user has to decide where the program and data are to reside.

Some compilers supports the following memory configurations:

ROM: currently the largest single object file that can be produced is 64K, although up to 1MB can be supported with the BANKED model described below. All compiler output to be directed to Eprom/ROM, constants, look-up tables etc., should be declared as "code".
RAM: There are three memory models, SMALL, COMPACT and LARGE
SMALL: all variables and parameter-passing segments will be placed in the 8051's internal memory.
COMPACT: variables are stored in paged memory addressed by ports 0 and 2. Indirect addressing opcodes are used. On-chip registers are still used for locals and parameters.
LARGE: variables etc. are placed in external memory addressed by @DPTR. On-chip registers are still used for locals and parameters.
BANKED: Code can occupy up to 1MB by using either CPU port pins or memory-mapped latches to page memory above 0xFFFF. Within each 64KB memory block a COMMON area must be set aside for C library code. Inter-bank function calls are possible.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top