Talking about the nature of burning program and the operation flow of .hex file burning to single chip microcomputer

The nature of the burning program

"Burning" is a relatively professional statement. Many beginners listened to this word for the first time and thought it was related to fire. What is the inexplicable "burning"? Burning is actually a download, and the burning program is a downloading program. Download it, understand it, download the movie, download the song, and let the player play it. The download process here is exactly the same as downloading a song. Some people will ask, download songs to mobile phones, mobile phones are finished products, download programs to MCU, MCU is also a finished product? Is the newly purchased MCU not a blank electronic component? In fact, the newly bought MCU is a finished product. It is not white paper. It has embedded a system program inside. This system program is like the mobile phone you just bought. It is pre-installed with Android system, just its users. The storage area is blank. For example, a mobile phone, you can watch movies in the store and save music by listening to music. For example, the MCU, you can make different programs for the MCU by storing different programs in this storage area. The system program pre-installed inside the new MCU is responsible for communication with the external interface, and is responsible for storing the program code of the hex format in the correct position inside the MCU. This is the essence of the programming program (download program). Such a metaphor, so the .hex format of the burned file and the .MP3 format of the music file are essentially the same in storage.

To review and summarize, the essence of the programming program is: treat the microcontroller as a memory, each program instruction corresponds to a unique storage address, and store these instructions in a byte-by-byte unit to the specified storage address. The essence of the burning program. For the STC89C52RC microcontroller, the host computer software and a USB to serial cable are required when downloading the program. The upper computer software is responsible for opening the machine code file of the .hex format, and the machine code file records the address information corresponding to each program instruction. During the download process, the upper computer software records the content of the instruction according to the .hex file and the corresponding address information. After USB to serial cable, serial communication with the preset system program of the single chip microcomputer, so that the information recorded by .hex is transmitted to the internal flash memory of the single chip, and the program is downloaded and downloaded.

Tools and software required to burn the program

(1) One computer with XP or WIN7 system.

I haven't tested other higher systems yet, and it shouldn't be a big problem.

Talking about the nature of burning program and the operation flow of .hex file burning to single chip microcomputer

Figure 8.2.2

(2) With 9-pin serial port, 1 LED light, power toggle switch, and a core board of stc89c52rc microcontroller capable of 5V power supply.

The learning of the single-chip microcomputer is inseparable from the programming practice of the hardware platform. This tutorial uses the Jianhong 51 learning board. The schematic diagram of this learning board has been shared in the attached section in the seventh section. You can also learn to solder a piece of learning board according to the schematic diagram, or use other single-chip learning board with serial port to learn.

The serial port is used to communicate with the computer and communicate with the computer. It is the channel for downloading the program from STC89C52RC. The LED light is used to observe whether the microcontroller is operating normally. The power toggle switch provides the required power-off and power-up operations for programming. This microcontroller system is powered by 5V.

Talking about the nature of burning program and the operation flow of .hex file burning to single chip microcomputer

Figure 8.2.3

UHD Led Display-PJ

As one of most popular cabinet type, Priva LED's PJ series products is much easier for installation, maintenance and transportation. This series of products covers LED Screen from P1.56mm, P1.875mm, P2mm and P2.5mm. PJ series UHD led display support front acccess& back access. Modular design easier for maintenance. Lock for up and down, left and right make installation easier and fast. PJ series UHD led screen packed with modules and cabinet together, It will also speed up the installation and transportation. If more information about this sereries of LED display, Pls contract us!

UHD Video wall, UHD led screen, UHD led display

Shenzhen Priva Tech Co., Ltd. , https://www.privaled.com

Posted on