Hi all,
I'm confused by the SPACE ALLOCATION reported by the linker in "All RAM" mode.
I'm using:
* ZDS 5.2.0
* eZ80F91 E-NET MODULE 99C0879-001 (non ROHS)
* eZ80 Family Evaluation Platform 99C0858-001
I'm trying to configure the linker to use only the 512KB off-chip RAM for both code and data when developing. But the linker report is:
| Code: |
SPACE ALLOCATION:
=================
Group: group->name Base Top Size Used Unused
------------------------------------ ----------- ----------- --------- --------- ---------
Space: ROM 000000 0619FC 100000H 41E64H BE19CH
( 1048576 269924 778652)
Space: RAM 040400 05FDF2 80000H 1F9F3H 6060DH
( 524288 129523 394765)
Space Base Top Size Used Unused
------------------ ----------- ----------- --------- --------- ---------
RAM D:040400 D:05FDF2 80000H 1F9F3H 6060DH
( 524288 129523 394765)
ROM C:000000 C:0619FC 100000H 41E64H BE19CH
( 1048576 269924 778652)
|
It's reporting ~512K RAM and ~1024K ROM. Why? When I've only configured 512K RAM and no ROM? I've noticed that it seems to allocate ROM with size double what I enter in the RAM range.
The relevant project settings are:
* Link Configuration: All RAM
* Address Spaces: ROM: 000000-07FFFF
* Address Spaces: RAM: (empty)
Debugger settings:
* Target: eZ80DevPlatform_F91_RAM
* Program Counter: 0
* SPL Stack Pointer: 7FFFF
* Chip Select 1 (CS1) Bounds: 000000-07FFFF (this maps RAM into address beginning at 0)
* External RAM: 0-0
* Enable Data RAM: yes
* Enable EMAC RAM: yes
* Enable Flash: no
The space allocation report makes sense when in "Standard" mode.
Cheers