当前位置:网站首页>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
STC
Single chip microcomputer .
I found out in the process of testing the program today , my
STC8G2K64S4
The 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 ISP
The tool has the following options .
STC-ISP
V6.88J edition , Old edition
stc-isp-v6.90
edition , At present, the latest , The first embarrassing thing I encountered .
stay
stc-isp-v6.90
edition , 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-ISP
Corresponding 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 .
边栏推荐
- Differences and introduction of cluster, distributed and microservice
- Industrial Finance 3.0: financial technology of "dredging blood vessels"
- 得物客服一站式工作台卡顿优化之路
- zabbix_ Get test database failed
- 线性回归
- Realize GDB remote debugging function between different network segments
- mac版php装xdebug环境(m1版)
- 2pc of distributed transaction solution
- 从“跑分神器”到数据平台,鲁大师开启演进之路
- Detailed explanation of platform device driver architecture in driver development
猜你喜欢
《ClickHouse原理解析与应用实践》读书笔记(6)
Mac version PHP installed Xdebug environment (M1 version)
Web authentication API compatible version information
mac版php装xdebug环境(m1版)
产业金融3.0:“疏通血管”的金融科技
【日常训练--腾讯精选50】235. 二叉搜索树的最近公共祖先
cf:C. Column Swapping【排序 + 模擬】
ML's shap: Based on the adult census income binary prediction data set (whether the predicted annual income exceeds 50K), use the shap decision diagram combined with the lightgbm model to realize the
Financial risk control practice - decision tree rule mining template
Question 102: sequence traversal of binary tree
随机推荐
What are the common message queues?
Flask 1.1.4 werkzeug1.0.1 analyse du code source: processus de démarrage
SAP Spartacus checkout 流程的扩展(extend)实现介绍
Three level menu data implementation, nested three-level menu data
[cloud native] what is the microservice architecture?
zabbix_get测试数据库失败
EMMC print cqhci: timeout for tag 10 prompt analysis and solution
JVM命令之 jstack:打印JVM中线程快照
解决pod install报错:ffi is an incompatible architecture
[daily training -- Tencent selected 50] 292 Nim games
三级菜单数据实现,实现嵌套三级菜单数据
The solution of a simple algebraic problem
Mysql-centos7 install MySQL through yum
Message queuing: how to ensure that messages are not lost
Loss function and positive and negative sample allocation in target detection: retinanet and focal loss
Ten stages of becoming a Senior IC Design Engineer. What stage are you in now?
Say sqlyog deceived me!
SAP ABAP BDC (batch data communication) -018
如何提高网站权重
【已解决】记一次EasyExcel的报错【读取xls文件时全表读不报错,指定sheet名读取报错】