1673 views|11 replies

4

Posts

0

Resources
The OP
 

STM32 may crash, and it will work normally after rewriting the program [Copy link]

 

Today I used a domestic 32 chip STM32F103RBT6 to run something and found that the board did not work. The buttons and indicator lights did not respond. After powering on again, it still did not work. When I connected it to the computer and entered debug, it was normal. Why is this happening? I did not do anything else but entered debug once and re-burned the program and it was normal. Please help me, experts

This post is from stm32/stm8

Latest reply

Check the electrical level. The pirated emulator is externally powered, and the electrical level may be unstable when the emulator is unplugged.   Details Published on 2022-8-24 12:57
 

17

Posts

0

Resources
2
 

Was it resolved later?

This post is from stm32/stm8
 
 

4764

Posts

12

Resources
3
 

Fake death? The system got stuck at a certain line of code, or hung?

This post is from stm32/stm8
 
 

6062

Posts

4

Resources
4
 

The code may have hidden problems. More testing is needed to find them.

Added a watchdog?

This post is from stm32/stm8

Comments

No watchdog  Details Published on 2022-8-24 09:07
 
 
 

4

Posts

0

Resources
5
 
Azuma Simeng posted on 2022-8-23 19:31 Fake death? The system got stuck at a certain line of code, but it hung?

It should not be a simple fake death. I tried to power off and then on again, but it still did not work until I re-burned the program.

This post is from stm32/stm8
 
 
 

4

Posts

0

Resources
6
 
damiaa posted on 2022-8-24 08:45 The code probably has hidden problems. More tests are needed to find them. Have you added a watchdog?

No watchdog

This post is from stm32/stm8
 
 
 

25

Posts

3

Resources
7
 

What operating system is it running? Freertos?

This post is from stm32/stm8

Comments

Just a bare metal machine with simple operations such as ADC on-chip flash reading and writing  Details Published on 2022-8-24 09:46
 
 
 

4

Posts

0

Resources
8
 
xiaosong06 posted on 2022-8-24 09:39 What system is it running? FreeRTOS?

Just a bare metal machine with simple operations such as ADC on-chip flash reading and writing

This post is from stm32/stm8

Comments

Maybe the program in the Flash was modified or deleted, causing the program to malfunction?  Details Published on 2022-8-24 10:33
 
 
 

6742

Posts

2

Resources
9
 
Yizhongren123 posted on 2022-8-24 09:46 Just a bare metal machine with simple operations such as adc on-chip flash reading and writing

Maybe the program in Flash was modified or deleted, causing the program to malfunction?

This post is from stm32/stm8
 
 
 

5998

Posts

6

Resources
10
 

It should be a program problem, causing the system to be erased incorrectly or locked. In this case, restarting will not work.

This post is from stm32/stm8
 
 
 

1w

Posts

142

Resources
11
 

If there is online programming code for program memory in the program, pay attention to the setting of running conditions to avoid wrong operation.

This post is from stm32/stm8
 
Personal signature上传了一些书籍资料,也许有你想要的:http://download.eeworld.com.cn/user/chunyang
 
 

7422

Posts

2

Resources
12
 

Check the electrical level. The pirated emulator is externally powered, and the electrical level may be unstable when the emulator is unplugged.

This post is from stm32/stm8
 
Personal signature

默认摸鱼,再摸鱼。2022、9、28

 
 

Guess Your Favourite
Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list