1. Select the MCU model (such as STC89C52RC)
2. Add the Hex file to be downloaded
3. Select the COM port. You need to find the COM port corresponding to the USB to serial port in the computer's device manager (this advantage can only be displayed after the driver is installed). The rest are left as default.
4. Leave the default as default.
5. Click the download button. Note that you must click the download button first and then power on the MCU to successfully download. Download address of flash magic:
http://www.51hei.com/f/Flash Magic.rar ISP mode:
1. Select COM4 port (same as before), select a lower baud rate, select P89V51RD+ as chip, and the last two items are default.
2. Select the second option: ERASE BLOCKS USED BY HEX FILE
3. Select the HEX file to be downloaded
4. Select the first option: VERIFY AFTER PROGRAMMING
5. Power on the MCU first, click the START button, and reset the MCU after the dialog box appears. To let the MCU run the program, press the reset button again.
ICE mode:
1. In flash magic, click ISP and select ENABLE SOFTICE in the drop-down menu. After the dialog box pops up, reset the MCU, pop it up again, and reset it again.
2. In the keil software, click OPTION FOR Target, select keil monitor 51 under the DEBUG option, select COM4 port in setting, and click OK.
3. Click start debug session, enter the simulation state, click the run button to start the simulation, reset the MCU to stop the simulation, and then click stop debug session to exit the simulation
4. In the lower left box in the third step, click WATCH #1, click F2 to enter the variables to be viewed, and set breakpoints in the program, debug the program step by step, and view the values of each variable.
Previous article:How to calculate the linearity of AD acquisition data in analog circuits
Next article:Implementation Method of Wireless Sensor Network
- Popular Resources
- Popular amplifiers
Recommended Content
Latest Microcontroller Articles
- Learn ARM development(16)
- Learn ARM development(17)
- Learn ARM development(18)
- Embedded system debugging simulation tool
- A small question that has been bothering me recently has finally been solved~~
- Learn ARM development (1)
- Learn ARM development (2)
- Learn ARM development (4)
- Learn ARM development (6)
He Limin Column
Microcontroller and Embedded Systems Bible
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
MoreSelected Circuit Diagrams
MorePopular Articles
- LED chemical incompatibility test to see which chemicals LEDs can be used with
- Application of ARM9 hardware coprocessor on WinCE embedded motherboard
- What are the key points for selecting rotor flowmeter?
- LM317 high power charger circuit
- A brief analysis of Embest's application and development of embedded medical devices
- Single-phase RC protection circuit
- stm32 PVD programmable voltage monitor
- Introduction and measurement of edge trigger and level trigger of 51 single chip microcomputer
- Improved design of Linux system software shell protection technology
- What to do if the ABB robot protection device stops
MoreDaily News
- From probes to power supplies, Tektronix is leading the way in comprehensive innovation in power electronics testing
- From probes to power supplies, Tektronix is leading the way in comprehensive innovation in power electronics testing
- Sn-doped CuO nanostructure-based ethanol gas sensor for real-time drunk driving detection in vehicles
- Design considerations for automotive battery wiring harness
- Do you know all the various motors commonly used in automotive electronics?
- What are the functions of the Internet of Vehicles? What are the uses and benefits of the Internet of Vehicles?
- Power Inverter - A critical safety system for electric vehicles
- Analysis of the information security mechanism of AUTOSAR, the automotive embedded software framework
- Brief Analysis of Automotive Ethernet Test Content and Test Methods
- How haptic technology can enhance driving safety
Guess you like
- Commonly used algorithms for drones - Kalman filter (VIII)
- Recruitment of electronic system engineers BMS direction
- Using simple components such as diodes, we can distinguish between resistance and inductance
- How to select external memory for DSP?
- Understanding the static electricity problems in the field of microelectronics manufacturing from the perspective of integrated circuit back-end manufacturing (chip packaging and testing)
- Today's Fujitsu Live Topic 2: Watch 3D movies without glasses, learn about German-quality naked-eye 3D technology
- Brightsign core board HS124, HS144 hardware and software development. Brightsign player
- EMC electromagnetic compatibility design and test case analysis (2nd edition)
- TMS320F28335 Serial Port SCI
- [Raspberry Pi Pico Review] FreePascal RPI Pico Engineering Structure Analysis