How big is the MCU program?

This problem, among the beginners I have contacted, many people have encountered, what is the problem?

Give everyone a chestnut:

First introduce common sense:

The hex file is the program file we want to download into the MCU, and each MCU has a certain program storage space. Generally, it is how many K Flash. For example, STC15W408AS is 8K Flash, which is 8K program storage space, STC15W404AS It is 4K program storage space.

If you write a program larger than 4K, you can't use a 4K MCU, but you can use a MK above 4K. This is simple.

Lead to the problem:

How big is the program we wrote?

Many people will look at the size of the hex file in windows, as shown above, is 4K. However, this is not the size of the memory space occupied by the microcontroller program. Occupy the size of the microcontroller program storage space, you can see in the compiler software:

The 1 point and more K shown here is the actual storage space of the microcontroller program.

Have you been bothered by this problem?

Pressure Gauges Calibration

The product are CS601 Digital Pressure Gauge, CS108 Digital Pressure Gauge, CS602 Intelligent Pressure Calibrator.

Pressure Gauge Calibration Standard,Pressure Gauge Calibration Equipment,Pressure Gauge Calibration Services,Digital Pressure Calibrator

Changshu Herun Import & Export Co.,Ltd , https://www.herunchina.com

This entry was posted in on