STC MCU One-key Downloader

Publisher:MagicGardenLatest update time:2015-06-16 Source: 51hei Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere
      This article introduces the principle of STC MCU one-key downloader. When using STC-ISP software to download STC MCU programs, after clicking the direct download button, the MCU needs to be powered on and cold-started. This may not be a problem if the download is not frequent, but for frequent downloads of STC MCU programs, each download requires a power-on and cold-start, which not only adds inconvenience to the user, but also aggravates the loss of switching devices, increases the operating burden, and reduces the download efficiency. The STC MCU one-key downloader introduced below completely solves the above problems.
       Using the STC MCU one-key downloader, you only need to click "Download" to complete the program download, and there is no need to manually power on. The figure below is the schematic diagram of the STC MCU one-key downloader (the schematic diagram is attached). The principle of this downloader is: through a MCU with serial port resources (STC15F102 in the circuit), its serial port is connected in parallel with the serial port of the user's MCU. The monitoring MCU detects the serial port information interaction between the user's MCU and the external device through the corresponding monitoring program. When the STC-ISP software is monitored to download the command stream correctly, it means that the user is downloading the program. At this time, the downloader automatically starts a hard restart to power on the user's MCU and complete the program download.
 


 

 


Reference address:STC MCU One-key Downloader

Previous article:Humidity controller and calibration based on MSP430
Next article:32-light shake stick made by STC11F04 single chip microcomputer

Recommended ReadingLatest update time:2024-11-16 16:52

STC89C52 MCU drives digital tube dynamic display
///////////////////////////////////////////////////// ///////////////////////////   Function:  drive the digital tube on the development board to scroll and display 1, 2, 3, 4, 5, 6, and realize                         the dynamic display of the digital tube   . Experimental board model: BS-XYD-C52 Experiment   nam
[Microcontroller]
NRF24L01 receiving program (MCU is STC89C52)
#include #include intrins.h typedef   unsigned int uint; typedef   unsigned char uchar; #define TX_ADDR_WITDH 5 //Set the transmit address width to 5 bytes #define RX_ADDR_WITDH 5 #define TX_DATA_WITDH 8 #define RX_DATA_WITDH 8 #define R_REGISTER       0x00   // Read register #define W_REGISTER       0x20 
[Microcontroller]
Experience in debugging ultrasonic HC-SR04 distance measurement with STC15F2K60S2 MCU
After a day of debugging, I finally got the program for the STC15F2K60S2 microcontroller to measure ultrasonic HC-SR04. The main problems are:   1. The microcontroller clock is set to 22.1184MHz, and when running in 1T mode, the trigger signal must be maintained for more than 10us. The delay function Delay_us(250) mus
[Microcontroller]
8051 MCU (STC89C52) uses timer interrupt mode to implement asynchronous timing of two countdown timers
Compared with the initial value setting of timer0 in single countdown timer, the triggering time interval of interrupt handler is changed to 5ms here, in order to give people a better visual experience (the flicker will be obviously felt if it is set to 10ms). #include STC89C5xRC.H   unsigned char code DIG_CODE = {
[Microcontroller]
8051 MCU (STC89C52) uses timer interrupt mode to implement asynchronous timing of two countdown timers
CRC serial port verification program for multiple versions of STC microcontrollers
The microcontroller source program is as follows: #include reg52.h #include intrins.h typedef unsigned char uchar8; typedef unsigned short uint16; typedef unsigned long uint32; bit Bee_flag = 0; bit Rx_start_flag; bit Rx_stop_flag; bit crc_flag = 0; uchar8 Rx_BUF ; uchar8 Rx_count; uint32 crcData; uint32 crc
[Microcontroller]
STC15 single chip microcomputer DHT11 temperature and humidity detection (detailed comments) oled display program
I added oled here to display temperature and humidity, using STC15, dht11 modules #include STC15.H #include "intrins.h" // used to provide _nop_(); function #include "OLED_Contrul_Hygrothermograph.c" //OLED control function sbit YLED=P3^1; sbit RLED=P3^0; sbit DHT=P3^5; //DHT11 module unsigned int Temperature
[Microcontroller]
Design of circuit module of amphibious disaster relief vehicle system using STC89C52 single chip microcomputer
  Traditional disaster relief vehicles have high requirements for road surfaces. This paper proposes and designs an amphibious disaster relief vehicle. This paper mainly combines the hovercraft with the wheeled vehicle, selects the STC89C52 single-chip microcomputer, and realizes the design of the amphibious disaster
[Power Management]
Design of circuit module of amphibious disaster relief vehicle system using STC89C52 single chip microcomputer
STC89C52 microcontroller digital tube dynamic display
Digital tube dynamic display Static and dynamic display dynamic display The characteristic of dynamic display is that the segment selection lines of all digital tubes are connected in parallel, and the bit selection lines control which digital tube is effective. The selected digital tube adopts dynamic scanning displa
[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号