This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

armcc with Atmel AT91RM9200 - ZI-data too big.

I compiled some code for an Atmel AT91RM9200 powered board and I got the following result:

Program Size: Code=44340 RO-data=520 RW-data=2024 ZI-data=349720

My question is:
Why do I get such a big size for the ZI data?
Does this have to do with the scatter file?

The scatter file looks like this:

LR_FLASH 0x10000000 0x200000 { ; load region size_region ER_FLASH 0x10000000 0x200000 { ; load address = execution address cstartup_keil.o (reset, +First)
; *(InRoot$$Sections) } ER_SRAM 0x30000000 0x80000 { ; RW data * (+RO) * (+RW +ZI) } ARM_LIB_HEAP 0x30060000 EMPTY 0x20000-0x8000{} ARM_LIB_STACK 0x3080000 EMPTY -0x8000{}
}

Thanks.

0