KeilC51_Proteus—Joint modulation

Publisher:安静的夜晚Latest update time:2017-11-21 Source: eefocusKeywords:Keil Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

1) Install Proteus and Keil

2) Find the VDM51.dll file in the Proteus\MODELS directory (if you can't find it, don't worry, just search it online, or you can q me and I'll give it to you~~, the most annoying thing is CSDN, all kinds of money~ hum!), copy it to the \C51\BIN directory of the Keil installation directory

3) Modify the Tools.ini file in the Keil installation directory, add TDRV5=BIN\VDM51.DLL ("Proteus VSM Monitor-51 Driver") in the C51 field, and save.

Note: You don't have to use TDRV5. Just choose a non-repeating value based on the original field. The name in the quotation marks is arbitrary (it seems that you can use Chinese, but I haven't tried it~~haha KeilC51_Proteus—Joint modulation).

4) Select use remote debug monitor in the debug menu of proteus

5) Enter KEIL's project menu option for target 'project name'. In the DEBUG option, select Proteus VSM Monitor-51 Driver from the drop-down menu on the upper right column.

When entering setting, if the IP name is the same machine, then enter the IP address of the other machine. The port number must be 8000.

Note: You can run Keil on one machine and Proteus on another for remote simulation.

6) Debug in Keil and view the intuitive results in Proteus.

Look at the pictures~~

KeilC51_Proteus—Joint modulation


Keywords:Keil Reference address:KeilC51_Proteus—Joint modulation

Previous article:The difference between Proteus simulation and reality
Next article:Analysis of the software architecture based on 51 serial communication programming

Recommended ReadingLatest update time:2024-11-16 14:46

Memory Unit and Bit Address in C51
The RAM in the microcontroller is composed of 8 bits per unit, that is, each 8-bit binary number is a storage unit. The RAM has a total of 256 such storage units. The first 128 units are general storage units, and the last 128 units are special function registers. Each storage unit is like a house, and the rooms in
[Microcontroller]
Performance Comparison between AVR/C51 and PIC 8-bit MCU
The 8-bit single-chip microcomputer is widely used in some simple controllers due to its simple internal structure, small size and low cost. Even in this century, it still occupies a considerable share in the application of single-chip microcomputers. Due to the wide variety of 8-bit single-chip microcomputers, this ar
[Microcontroller]
C51 Interrupt Explanation
1. The concept of interruption When the CPU is processing an event A, another event B occurs and requires the CPU to process it quickly (interrupt occurs); the CPU temporarily interrupts its current work and switches to processing event B (interrupt response and interrupt service); after the CPU finishes processing ev
[Microcontroller]
C51 Interrupt Explanation
C51 library functions (3)
3.3 STRING.H: String Functions String functions usually take pointer strings as input values. A string consists of 2 or more characters. The end of a string is represented by a null character. In the functions memcmp, memcpy, memchr, memccpy, memmove, and memset, the string length is explicitly specified by the caller
[Microcontroller]
Intelligent power control circuit design of C51 microcontroller for oil pumping unit
In order to achieve the goal of the oil pumping unit automatically performing Δ/Y bidirectional switching and intermittent timing control in real time according to load requirements, the control circuit shown in Figure 1 was designed using embedded control technology. The hardware system of the intelligent power con
[Microcontroller]
Intelligent power control circuit design of C51 microcontroller for oil pumping unit
51 single chip microcomputer based on Proteus to make a calculator within 10
The 51 single-chip microcomputer is essentially a microcontroller that excels in logical operations. Use it to design a calculator? I don't know who came up with this question, the idea is obviously off track, haha Especially the latter question, which not only requires the ability to add, subtract, multiply and div
[Microcontroller]
51 single chip microcomputer based on Proteus to make a calculator within 10
The use of interrupt and using in C51 interrupt
The format of C51 interrupt function is: void FuncIr(void) interrupt x Both interrupt and using are keywords of C51. The C51 interrupt process is implemented by using the interrupt keyword and the interrupt number (0 to 3). The interrupt number indicates the entry address of the interrupt program. With this declarati
[Microcontroller]
Function pointers and reentrant functions in Keil C51
Overview Function pointers are one of the few difficult parts of C. Due to the unique requirements of the 8051 C compiler, function pointers and reentrant functions have more challenges to overcome, mainly due to the passing of function variables. Typically (on most 8051 chips) function variables are passed via stac
[Microcontroller]
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号