FAQ

よくある質問

How to view code size and SRAM usage in the Keil development environment?  日付: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)

製品: マイクロコントローラ ,Arm Cortex-M0 MCU ,M051 ベースシリーズ ,M0518シリーズ ,M0519シリーズ ,ミニ 51 ベースシリーズ ,ナノ 100/102 ベースシリーズ ,ナノ 110/112 LCD シリーズ ,ナノ 120 USB シリーズ ,ナノ 130 アドバンストシリーズ ,NUC029 シリーズ ,NUC100/200 アドバンストシリーズ ,NUC120/122/123/220 USB シリーズ ,NUC130/230 CAN シリーズ ,NUC131/NUC1311 CAN シリーズ ,NUC140/240 コネクティビティシリーズ ,Arm Cortex-M4 MCU ,M451 Base シリーズ ,M451M シリーズ ,M452 USB シリーズ ,M453 CAN シリーズ ,NUC442/472 シリーズ ,NUC505 シリーズ
アプリケーション:
機能: Software and Tools,Development-Environment,Keil
This website uses cookies to ensure you get the best experience on our website. Learn more
OK