First of all, every microcontroller programming software has a software simulation function. We can learn some functions of the microcontroller through this software simulation function.
For example, the software simulation function can be used to realize the high and low level output of the microcontroller port, and then the corresponding port can be observed.
We can check the value of the register to see whether the program is executed correctly; we can also write a timing program to implement the output function of the port at a fixed time (for example, 1 second), and use software simulation to see whether the interrupt is entered according to the set time, etc. However, the function of software simulation is really limited. At most, we can only see whether the corresponding register is executed correctly. Because there is no cooperation with the hardware circuit, we can't see whether the circuit is executed correctly.
Therefore, the software simulation function of the microcontroller programming software can only be used to learn about microcontrollers to a limited extent.
The first software I recommend in this regard is Proteus, which is the software I have seen and used so far, and can simulate many types of microcontrollers.
Piece.
The microcontrollers supported by the proteus software include: 51 microcontroller, PIC microcontroller, MSP430 microcontroller, Freescale microcontroller, and also supports ARM7 of the LPC21xx series and some cortex m3 chips.
Especially for 51 single-chip microcomputer, proteus has embedded 51 single-chip microcomputer programming software keil into it, which can be used in
Proteus is used for program writing, circuit construction, system simulation, PCB generation, etc. It is equivalent to realizing all functions of a single-chip microcomputer, such as software design, hardware design, PCB drawing, etc., which is very convenient.
Proteus is very powerful. We can draw the circuit diagram first, then load the compiled MCU burning file into the MCU in the circuit diagram, and then run the entire MCU system to observe whether each part of the circuit is the same as the software function we designed, such as whether the LED is lit, the LCD is displayed, the key is detected, and the IIC device accesses data normally, etc. Proteus even provides a lot of virtual instruments, such as virtual oscilloscopes, voltmeters, ammeters, logic analyzers, etc. These instruments can be used to observe the operation of programs and circuits. For example, an oscilloscope can be used to observe whether the output waveform of the PWM we designed meets the design requirements.
Previous article:Comparison of some abbreviations of single chip microcomputer
Next article:Preparatory tasks for studying single chip microcomputer
- Popular Resources
- Popular amplifiers
- Naxin Micro and Xinxian jointly launched the NS800RT series of real-time control MCUs
- How to learn embedded systems based on ARM platform
- Summary of jffs2_scan_eraseblock issues
- Application of SPCOMM Control in Serial Communication of Delphi7.0
- Using TComm component to realize serial communication in Delphi environment
- Bar chart code for embedded development practices
- Embedded Development Learning (10)
- Embedded Development Learning (8)
- Embedded Development Learning (6)
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- Intel promotes AI with multi-dimensional efforts in technology, application, and ecology
- ChinaJoy Qualcomm Snapdragon Theme Pavilion takes you to experience the new changes in digital entertainment in the 5G era
- Infineon's latest generation IGBT technology platform enables precise control of speed and position
- Two test methods for LED lighting life
- Don't Let Lightning Induced Surges Scare You
- Application of brushless motor controller ML4425/4426
- Easy identification of LED power supply quality
- World's first integrated photovoltaic solar system completed in Israel
- Sliding window mean filter for avr microcontroller AD conversion
- What does call mean in the detailed explanation of ABB robot programming instructions?
- STMicroelectronics discloses its 2027-2028 financial model and path to achieve its 2030 goals
- 2024 China Automotive Charging and Battery Swapping Ecosystem Conference held in Taiyuan
- State-owned enterprises team up to invest in solid-state battery giant
- The evolution of electronic and electrical architecture is accelerating
- The first! National Automotive Chip Quality Inspection Center established
- BYD releases self-developed automotive chip using 4nm process, with a running score of up to 1.15 million
- GEODNET launches GEO-PULSE, a car GPS navigation device
- Should Chinese car companies develop their own high-computing chips?
- Infineon and Siemens combine embedded automotive software platform with microcontrollers to provide the necessary functions for next-generation SDVs
- Continental launches invisible biometric sensor display to monitor passengers' vital signs
- The confusion of working in an industry for a long time
- A D-type flip-flop and ADC sampling debounce problem
- ad7768-1 spi readback data
- Mobile Terminal Antenna Design Techniques
- 【NXP Rapid IoT Review】W4 Bluetooth Review
- Transistor problem
- 【AT-START-F425 Review】Using the USB flash drive file storage function to achieve data recording
- Lingyang launches LIN node solution based on 16-bit MCU SPMC75
- Creative Gift Winners List|2020-2021 ON Semiconductor and Avnet IoT Creative Design Competition
- E103-W01-BF test version use