How to view code size and SRAM usage in the Keil development environment?
Posted: 27 Mar 2017, 14:00
After programming, Keil will display the following message:
Program Size: Code=86496 RO-data=9064 RW-data=1452 ZI-data=16116
The parameters have the following meanings:
Note: The unit is Byte.
When programming, the occupied space in Flash is: Code+(RO-data)+(RW-data)
When a program is running, the space used for the internal SRAM inside the chip is: (RW-data)+(ZI-data)
Program Size: Code=86496 RO-data=9064 RW-data=1452 ZI-data=16116
The parameters have the following meanings:
Note: The unit is Byte.
When programming, the occupied space in Flash is: Code+(RO-data)+(RW-data)
When a program is running, the space used for the internal SRAM inside the chip is: (RW-data)+(ZI-data)