MON51 Memory Considerations

Status
Not open for further replies.

kyle86

Newbie level 4
Joined
Dec 16, 2008
Messages
7
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,329
my mon51 cant work,
i using atmel86S8252
1 internal flash memory 8k, and 1 external static ram 32k (RD/ and PSEN/
signals connect to RD/ signal for the RAM)
Install.bat "0 3f 0"
Install.A51 "INT_ADR_OFF EQU 0H"
startup.A51 "CSEG AT 0"
In keil uversion option:
off-chip Xdata memory:
ram start : 0x0000
size : 0x7fff

my setting correct? for the code memory and xdata memory?
 

FYR

If you don't need XDATA to store your volatile data,
I suggest you map SRAM into 0x8000~0xFFFF.
By doing this, the max code for your program
will be 32Kbytes.

If you map SRAM into 0x0000~0xFFFF, the first
8Kbytes can not be used for program code in
your case. You have let /EA = 1 for enabling the
internal flash as program ROM.
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…