3619 views|14 replies

1w

Posts

25

Resources
The OP
 

Supplementary instructions for pyboardCN V2 using DFU upgrade [Copy link]

 
 
It is the easiest and most convenient way to upgrade the pyboard using DFU. However, due to an oversight in the parameters of this board, some boards are not easy to enter the DFU mode. The reason is that this time a better quality TDK crystal is used, and its load capacitance is 10pf; in the past, ordinary domestic crystals were used, and the load capacitance used was 18pf. This time the crystal was replaced but the capacitor was forgotten to be changed. As a result, the crystal oscillation stability time will be longer after the system is reset, which exceeds the detection time of the internal DFU program (DFU can use any integer frequency between 4-26M, and HSI is used for judgment). If your pyboardCN also encounters this problem, you can refer to the following method. The most direct solution is of course to replace the capacitor, but first, time is a bit too late, and manual replacement is easy to affect the quality. To use a sentence that has been played badly by current mobile phone manufacturers, we also have a lot of scary black technology, and the problem can be solved without changing the hardware. The method is also very simple. First, connect the RST pin to 3V3 (the two pads on the upper right corner of the 8-pin connector at the bottom of pyboardCN V2). Then, open the terminal software, connect to pyboardCN V2, and enter the pyb.bootloader() command to enter DFU mode. During the upgrade process, keep RST and 3V3 connected and do not disconnect. You can also disconnect USB first, then connect BOOT0 and RST to 3V3 at the same time, and then connect the SUB line to enter DFU mode. After entering, BOOT0 can be disconnected from 3V3, but RST needs to remain connected to 3V3.
游客,如果您要查看本帖隐藏内容请回复
This content is originally created by EEWORLD forum user dcexpert. If you want to reprint or use it for commercial purposes, you must obtain the author's consent and indicate the source


Latest reply

Thank you, bro   Details Published on 2019-12-28 18:21
 
 

821

Posts

0

Resources
2
 
Learn quickly!
 
 
 

1903

Posts

0

Resources
3
 
Reply and see
 
 
 

34

Posts

0

Resources
4
 
Reply and make sure to add 15 characters
Personal signature小丑生活
 
 
 

1453

Posts

18

Resources
5
 
Hurry up and study first
Personal signaturehttp://weibo.com/u/1391449055
 
 
 

237

Posts

0

Resources
6
 

Reply and see
 
 
 

2

Posts

0

Resources
7
 

Reply and see
 
 
 

129

Posts

1

Resources
8
 
This issue is being fixed
 
 
 

129

Posts

1

Resources
9
 
I tried it and it entered the DFU state normally.

Comments

The DFU detection time is relatively short, which caused this problem. If you encounter similar phenomena, it can also give you a reference.  Details Published on 2019-5-23 11:10
 
 
 

1w

Posts

25

Resources
10
 
zy459994202 posted on 2019-5-23 10:32 I tried it and it entered the DFU state normally
The DFU detection time is relatively short, which caused this problem. If you encounter similar phenomena, you can also give it to everyone for reference.

Comments

Although it has entered the normal state, you cannot directly burn the official firmware. It will prompt that the information in the dfu firmware does not match the current development board. It is still reliable to convert it into hex and burn it. In addition, the official code is directly compiled into dfu or hex and then burned to nucleo and discover development  Details Published on 2019-5-23 14:53
 
 
 

129

Posts

1

Resources
11
 
dcexpert posted on 2019-5-23 11:10 The detection time of DFU is relatively short, which caused this problem. If you encounter similar phenomena, you can also give you a reference.
Although it has entered the normal state, it is still not possible to directly burn the official firmware. It will prompt that the information in the dfu firmware does not match the current development board = =. It is still reliable to convert it to hex and burn it. In addition, the official code can be directly compiled into dfu or hex and then burned to the nucleo and discover development boards, which can be burned and run normally.

Comments

DFU can be written. Some chips used to have bugs in DFU mode (I encountered it on STM32L4). After downloading, the data would be wrong and could not run. Now most of them are normal.  Details Published on 2019-5-23 15:23
 
 
 

1w

Posts

25

Resources
12
 
zy459994202 posted on 2019-5-23 14:53 Although it has entered the normal state, it is still not possible to directly burn the official firmware. It will prompt that the information in the dfu firmware does not match the current development board = =, and...
dfu can be written. Some chips have bugs in dfu mode (encountered on STM32L4). After downloading, the data will be wrong and cannot run. Now most of them are normal.
 
 
 

6

Posts

0

Resources
13
 
asdads
 
 
 

6

Posts

0

Resources
14
 
Thank you, big man. Thank you, big man.
 
 
 

6

Posts

0

Resources
15
 

Thank you, bro

 
 
 

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