FAQ

常见问答

How to view code size and SRAM usage in the Keil development environment?  Datum:2015-07-09

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:

Code

The space occupied by the code.

RO-data

The read-only constant, e.g. const.

RW-data (Read Write)

The initialized read-write variables.

ZI-data (Zero Initialize)

The uninitialized read-write variables. ZI-data is not regarded as code because it is not initialized.

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)

Produkte: Mikrocontroller ,Arm Cortex-M0-MCUs ,M051-Base-Serie ,M0518-Serie ,M0519-Serie ,Mini51-Base-Serie ,Nano100/102-Base-Serie ,Nano110/112-LCD-Serie ,Nano120-USB-Serie ,Nano130-Advanced-Serie ,NUC029-Serie ,NUC100/200-Advanced-Serie ,NUC120/122/123/220-USB-Serie ,NUC130/230-CAN-Serie ,NUC131-NUC1311-CAN-Serie ,NUC140/240-Konnektivität-Serie ,Arm Cortex-M4-MCUs ,M451-Base-Serie ,M451M-Serie ,M452-USB-Serie ,M453-CAN-Serie ,NUC442/472-Serie ,NUC505-Serie
Applikationen:
Funktion: Software and Tools,Development-Environment,Keil
This website uses cookies to ensure you get the best experience on our website. Learn more
OK