KeilC51 connects with Proteus to debug VDM51.dll

Publisher:EtherealGraceLatest update time:2015-09-28 Source: eefocusKeywords:KeilC51 Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere
1. If KeilC and Proteus have been correctly installed in the directory C:Program Files, copy C:Program FilesLabcenter ElectronicsProteus 6 ProfessionalMODELSVDM51.dll to the directory C:Program FileskeilCC51BIN. 
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 image070.jpg, a window will pop up, click the "Debug" button, and the page shown in the figure will appear.
KeilC51 and Proteus connect and debug VDM51.dll

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.
KeilC51 and Proteus connect and debug VDM51.dll



KeilC51 and Proteus connect and debug VDM51.dll


Keywords:KeilC51 Reference address:KeilC51 connects with Proteus to debug VDM51.dll

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

The use of single chip microcomputer simulation software proteus
1. How to use templates in proteus file--〉new design: In the pop-up dialog box, you can select a template. file--〉save design as template… and you can save your template. Open or create a circuit that you often use . Save as a template, that is: save as template to replace TemplatesDefault.DTF in the default fold
[Microcontroller]
Implementation of breathing light based on PIC16F877A + Proteus simulation
Preface While learning the PWM module, I saw few posts about the breathing light of PIC microcontroller in the forum, so I tried to do this experiment myself. Because I am learning the CCP module of PIC 16F877A recently, I thought that the PIC microcontroller has an integrated hardware PWM module, and such a good func
[Microcontroller]
Implementation of breathing light based on PIC16F877A + Proteus simulation
Design and Proteus simulation of multi-channel servo control PWM generator
Abstract: PWM pulse width signal modulation is a kind of pulse signal widely used in modern electronics industry, and its typical application is steering gear control. Based on Proteus and Keil software, this paper introduces the implementation method of using 51 single-chip microcomputer to generate multiple PWM pu
[Industrial Control]
Design and Proteus simulation of multi-channel servo control PWM generator
Würth Elektronik releases new radio modules - Proteus-III and Thyone-I
Two flexible 2.4 GHz radio applications: Würth Elektronik has released the Bluetooth Low Energy (BLE) 5.1 module Proteus-III and a proprietary version Thyone-I. The module measures only 8×12×2mm and has an integrated antenna, encryption technology and six configurable IO pins. It is based on the nRF52840 chipset from
[Embedded]
Würth Elektronik releases new radio modules - Proteus-III and Thyone-I
Based on 1602 LCD voltage driver applied in proteus simulation
This example uses 1602 driven by 5V voltage, with backlight, can display two lines, 16 characters per line, cannot display Chinese characters, has a built-in ASCII character set library containing 128 characters, only has a parallel interface, no serial interface. Analyzing the timing diagram, we can see that the pro
[Power Management]
Based on 1602 LCD voltage driver applied in proteus simulation
Latest Microcontroller Articles
  • Download from the Internet--ARM Getting Started Notes
    A brief introduction: From today on, the ARM notebook of the rookie is open, and it can be regarded as a place to store these notes. Why publish it? Maybe you are interested in it. In fact, the reason for these notes is ...
  • Learn ARM development(22)
    Turning off and on interrupts Interrupts are an efficient dialogue mechanism, but sometimes you don't want to interrupt the program while it is running. For example, when you are printing something, the program suddenly interrupts and another ...
  • Learn ARM development(21)
    First, declare the task pointer, because it will be used later. Task pointer volatile TASK_TCB* volatile g_pCurrentTask = NULL;volatile TASK_TCB* vol ...
  • Learn ARM development(20)
    With the previous Tick interrupt, the basic task switching conditions are ready. However, this "easterly" is also difficult to understand. Only through continuous practice can we understand it. ...
  • Learn ARM development(19)
    After many days of hard work, I finally got the interrupt working. But in order to allow RTOS to use timer interrupts, what kind of interrupts can be implemented in S3C44B0? There are two methods in S3C44B0. ...
  • Learn ARM development(14)
  • Learn ARM development(15)
  • Learn ARM development(16)
  • Learn ARM development(17)
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号