hKRnUYY

51 microcontroller emulator

 
Overview
I. Overview
When learning 51 microcontrollers, it's often necessary to download programs before verifying phenomena. This simulator uses an IAP15F2K61S2 microcontroller to simulate various 51 microcontroller models. It allows debugging using Keil, eliminating the tedious downloading process. Furthermore, it supports single-step simulation, improving independent debugging capabilities, making it an excellent choice for learning!
(Note: This microcontroller is a 1T microcontroller, 12 times faster than traditional microcontrollers. Caution should be exercised when performing operations related to delays, timing circuits, etc.!)
II. Hardware Overview
2.1 Overall Circuit Board
2.2 Detailed Explanation of Related Hardware Circuits
1. To reduce size, the serial port download circuit uses a CH340N
. 2. The reset circuit is shown in the diagram below. It uses a PMOS transistor for control. When the button is not pressed, R2 pulls down the gate by default, turning on the MOSFET and powering on the microcontroller. When SW13 is pressed, the MOSFET gate goes high, turning off the microcontroller's power, completing the cold start and resetting the microcontroller.
2.3 Hardware Operation:
When plugging in the Type-C interface and downloading and creating the simulation chip, simply click "Download" or "Create Simulation Chip," then press the reset button on the board.
III. Related Software Settings and Simulation Chip Creation Method
3.1 Driver Installation:
The attachment includes the CH340 driver. After soldering, plug in the board and then open it to install.
3.2 Simulation File Settings:
Use the attached STC-ISP software for related settings. First, add the simulation driver to the Keil file, then create the simulation chip.
3.3 Debug Settings
: Note that these settings must be configured for each new project; otherwise, the simulation will not run correctly. Select the correct serial port number (if you don't know it, check the "Automatic Serial Port Number Detection" function in the STC-ISP software). The default speed remains unchanged.
IV. Summary:
This project allows us to use Keil for debugging, saving the tedious download process. It also allows for single-step simulation, improving our independent debugging capabilities! Successful creation is a significant improvement to our hardware skills! Hope this helps!
 
参考设计图片
×
 
 
Search Datasheet?

Supported by EEWorld Datasheet

Forum More
Update:2026-03-20 23:15:22

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
community

Robot
development
community

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号