Familiar with Keil C51 and STC-ISP download burning software
1. STC-ISP
- Download software
- Connect PC and MCU
- Simulation settings
- A dialog box pops up, select the Keil C51 installation path
Two, Keil C51
-
New folder workspace
-
Open Keil C51
-
New project project->new
-
A dialog box pops up, select the workspace\test path, enter the project name in the file name, and save
-
A dialog box pops up, select STC
-
A dialog box pops up, select stc12...s2, ok
-
Create a .c/.h file and put it in the workspace\test\source_code folder
-
Place the mouse on Source Group1 and right click----->add file
-
write the code
-
For file configuration, 11.0592&&create hex file
-
Compile, check for errors
Three, download the program to the microcontroller
- Program file selection .hex file
- Click to download, cold start the microcontroller