2. Use Notepad to open the C:Program FileskeilCC51TOOLS.INI file, and add the following under the [C51] column: TDRV5=BINVDM51.DLL ("Proteus VSM Monitor-51 Driver") The "5" in "TDRV5" should be written according to the actual situation, and do not repeat the original one. (Steps 1 and 2 only need to be set up for the first use.)
3. Enter the KeilC μVision2 development integrated environment, create a new project, and select a suitable microcontroller CPU device for the project (such as: Atmel's AT89C51). And add the KeilC source program to the project.
4. Click the "Project menu/Options for Target" option or click the "option for target" button on the toolbar , a window will pop up, click the "Debug" button, and the page shown in the figure will appear.
In the dialog box that appears, select "Proteus VSM Monitor-51 Driver" in the drop-down menu on the upper right column. And click the small dot in front of "Use" to indicate the selection. Then click the "Setting" button to set the communication interface. Add "127.0.0.1" after "Host". If you are not using the same computer, you need to add the IP address of another computer here (the other computer should also install Proteus). Add "8000" after "Port". The setting is as shown in the figure, click the "OK" button. Finally, compile the project, enter the debugging state, and run it. 5. Proteus settings Enter Proteus's ISIS, click the menu "Debug" with the left mouse button, and select "use romote debugger monitor", as shown in the figure. After that, KeilC and Proteus can be connected for debugging. 6. KeilC and Proteus connection simulation debugging Click the simulation run start button, we can clearly observe the changes in the electrical frequency of each pin, red represents high electrical frequency, and blue represents low electrical frequency.
Previous article:MCU compilation error error A45: UNDEFINED SYMBOL
Next article:High level reset and low level reset of microcontroller
Recommended ReadingLatest update time:2024-11-16 15:36
- Popular Resources
- Popular amplifiers
- MCU C language programming and Proteus simulation technology (Xu Aijun)
- Single-chip microcomputer C language programming and simulation
- 100 Examples of Microcontroller C Language Applications (with CD-ROM, 3rd Edition) (Wang Huiliang, Wang Dongfeng, Dong Guanqiang)
- Single chip microcomputer control technology (Li Shuping, Wang Yan, Zhu Yu, Zhang Xiaoyun)
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- Innolux's intelligent steer-by-wire solution makes cars smarter and safer
- 8051 MCU - Parity Check
- How to efficiently balance the sensitivity of tactile sensing interfaces
- What should I do if the servo motor shakes? What causes the servo motor to shake quickly?
- 【Brushless Motor】Analysis of three-phase BLDC motor and sharing of two popular development boards
- Midea Industrial Technology's subsidiaries Clou Electronics and Hekang New Energy jointly appeared at the Munich Battery Energy Storage Exhibition and Solar Energy Exhibition
- Guoxin Sichen | Application of ferroelectric memory PB85RS2MC in power battery management, with a capacity of 2M
- Analysis of common faults of frequency converter
- In a head-on competition with Qualcomm, what kind of cockpit products has Intel come up with?
- Dalian Rongke's all-vanadium liquid flow battery energy storage equipment industrialization project has entered the sprint stage before production
- Allegro MicroSystems Introduces Advanced Magnetic and Inductive Position Sensing Solutions at Electronica 2024
- Car key in the left hand, liveness detection radar in the right hand, UWB is imperative for cars!
- After a decade of rapid development, domestic CIS has entered the market
- Aegis Dagger Battery + Thor EM-i Super Hybrid, Geely New Energy has thrown out two "king bombs"
- A brief discussion on functional safety - fault, error, and failure
- In the smart car 2.0 cycle, these core industry chains are facing major opportunities!
- The United States and Japan are developing new batteries. CATL faces challenges? How should China's new energy battery industry respond?
- Murata launches high-precision 6-axis inertial sensor for automobiles
- Ford patents pre-charge alarm to help save costs and respond to emergencies
- New real-time microcontroller system from Texas Instruments enables smarter processing in automotive and industrial applications
- Comparison of the advantages of digital cameras and analog cameras in machine vision system design
- About the external interrupt of HAL library
- Playing with circuits (4) - UC3843 floating buck, 60W efficiency 93%
- Sinlinx A33 Development Board Linux Interrupt Programming 1--- Principle Description
- This week's highlights
- Xiaomi has eliminated China's copycat mobile phones in just 9 years since its founding. Do you agree?
- A brief discussion on processes and threads
- Light Sabers and Light Sabers Made with CPX
- PCB package design of electronic devices
- 【RT-Thread Reading Notes】9. RT-Thread Study Chapters 14-16 Reading Notes