当前位置:网站首页>On the discrimination of "fake death" state of STC single chip microcomputer
On the discrimination of "fake death" state of STC single chip microcomputer
2022-07-07 06:00:00 【perseverance52】
About STC Single chip microcomputer “ Feign death ” State discrimination
- Declare that this is not laihei
STCSingle chip microcomputer .
I found out in the process of testing the program today , my
STC8G2K64S4The development board suddenly cannot burn the program , Just burned everything normal , Suddenly, I can't burn into the program , Serial port can recognize , adopt ISP No matter the board is cold started, the software can't detect the MCU , There are serial port numbers , SCM can't be so weak to sacrifice , There is no physical operation , Burning a program can also burn out the single-chip microcomputer, which will not .
Open today STC-ISP Burn Software , Prompt for a new version , Upgraded version
v6.90
Cause analysis
As for why STC ISP The software cannot recognize the chip , Here is my personal view :
- stay IO Mouth operation , The external crystal oscillator pin is used as the input or output pin , Try to avoid using crystal oscillator pins in the development process of single chip microcomputer , Here, only the external crystal oscillator is used , Because some models provide crystal oscillator internally .
- It is indeed.
STC ISPThe tool has the following options .
STC-ISPV6.88J edition , Old edition
stc-isp-v6.90edition , At present, the latest , The first embarrassing thing I encountered .
stay
stc-isp-v6.90edition , The choice isSTC8G2K64S4, I'm sure it's impossible for me to check the above options , Because I have encountered this situation before , The download time is right “At the next cold start ,P3.2/P3.3 by 0/0 Before downloading the program”, Because I burned the program several times before , It's a sudden fake death , Unrecognized situation .

First of all, I want to correct STC-ISP A mistake here :“ At the next cold start ,P3.2/P3.3 by 0/0 Before downloading the program ” It should actually be : Want to 89 The model of single chip microcomputer is the same ,“ At the next cold start ,P1.0/P1.1 by 0/0 Before downloading the program ”. As for why I can find this problem , I also thank myself for recording some mining experience .
Last year, I published an article about STC Burning articles ;
See this picture in this article :
Trying to followSTC-ISPCorresponding model“At the next cold start ,P3.2/P3.3 by 0/0 Before downloading the program”,Option operation did not succeed , Just try to use the previous “At the next cold start ,P1.0/P1.1 by 0/0 Before downloading the program” Follow this connection , Click detection MCU, Immediately see the serial port Indicator Flashing , And successfully detected the single-chip microcomputer model .
SCM fake death judgment
If you know what program is burned in the MCU , If there is IO Mouth state , You can measure the corresponding IO Whether the mouth state is normal . If IO normal , It is certain that the SCM is not broken , It's just ISP The single chip microcomputer cannot be detected .
边栏推荐
- Wechat applet Bluetooth connects hardware devices and communicates. Applet Bluetooth automatically reconnects due to abnormal distance. JS realizes CRC check bit
- 一名普通学生的大一总结【不知我等是愚是狂,唯知一路向前奔驰】
- EMMC print cqhci: timeout for tag 10 prompt analysis and solution
- Go language context explanation
- I didn't know it until I graduated -- the principle of HowNet duplication check and examples of weight reduction
- 线性回归
- Hcip eighth operation
- Dynamic memory management
- Introduction to the extension implementation of SAP Spartacus checkout process
- make makefile cmake qmake都是什么,有什么区别?
猜你喜欢

苹果cms V10模板/MXone Pro自适应影视电影网站模板

@pathvariable 和 @Requestparam的详细区别

Introduction to the extension implementation of SAP Spartacus checkout process

cf:C. Column Swapping【排序 + 模擬】

How to improve website weight

Realize GDB remote debugging function between different network segments

10W word segmentation searches per second, the product manager raised another demand!!! (Collection)

Modes of optical fiber - single mode and multimode
![[daily training -- Tencent selected 50] 235 Nearest common ancestor of binary search tree](/img/4c/16bb943e517c7b703996715632e6ca.png)
[daily training -- Tencent selected 50] 235 Nearest common ancestor of binary search tree
![SQLSTATE[HY000][1130] Host ‘host. docker. internal‘ is not allowed to connect to this MySQL server](/img/05/1e4bdddce1e07f7edd2aeaa59139ab.jpg)
SQLSTATE[HY000][1130] Host ‘host. docker. internal‘ is not allowed to connect to this MySQL server
随机推荐
2pc of distributed transaction solution
SAP Spartacus checkout 流程的扩展(extend)实现介绍
What is message queuing?
If you don't know these four caching modes, dare you say you understand caching?
SQLSTATE[HY000][1130] Host ‘host. docker. internal‘ is not allowed to connect to this MySQL server
驱动开发中platform设备驱动架构详解
Check Point:企业部署零信任网络(ZTNA)的核心要素
CMD permanently delete specified folders and files
How to improve website weight
Bat instruction processing details
[daily training -- Tencent selected 50] 235 Nearest common ancestor of binary search tree
Message queuing: how to ensure that messages are not lost
数字IC面试总结(大厂面试经验分享)
绕过open_basedir
【日常训练--腾讯精选50】292. Nim 游戏
Classic questions about data storage
Modes of optical fiber - single mode and multimode
Introduction to the extension implementation of SAP Spartacus checkout process
Go语学习笔记 - gorm使用 - 原生sql、命名参数、Rows、ToSQL | Web框架Gin(九)
Flask 1.1.4 werkzeug1.0.1 analyse du code source: processus de démarrage
