Skip to content

Commit 2cb4425

Browse files
Add a warning about duplicate USB pullup for STM32F4 boards
This is suboptimal hardware design, which might need some special care on the software side. This noticed in the Arduino_Core_STM32, see stm32duino/Arduino_Core_STM32#1029 For these boards, a schematic is available to confirm the resistor: - STM32F407VET6-STM32-F4VE-V2.0 - STM32F407ZGT6-VCC-GND-Large - STM32F407VET6-VCC-GND-Small These boards have not schematic, but there is a 1.5kΩ resistor clearly visible in the USB data path that is almost certainly a pullup: - STM32F401RCT6-STM32F-Core-Board - STM32F407VET6-Euse-M4-DEMO-Medium - STM32F407ZGT6-STM32F-Core-Board - STM32F407VGT6-SR-Board All other F4 boards have no such resistor in the schematic or visible in the images. Other series might also have this problem, but were not checked.
1 parent 1d05156 commit 2cb4425

7 files changed

+14
-7
lines changed

_data/boards/STM32F401RCT6-STM32F-Core-Board.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@
3838
"mounting": "None"
3939
},
4040
"remarks": [
41-
{ "type": "warning", "content": "The +5V pins on this board are directly connected to the +5V pin of the USB connector. There is no protection in place. Do not power this board through USB and an external power supply at the same time." }
41+
{ "type": "warning", "content": "The +5V pins on this board are directly connected to the +5V pin of the USB connector. There is no protection in place. Do not power this board through USB and an external power supply at the same time." },
42+
{ "type": "warning", "content": "This board has an external fixed USB pullup (R11) which is not actually needed (since automatic internal pullups are present) and might actually be harmful (when both pullups are enabled, the USB specification is violated)." }
4243
],
4344
"resources": [
4445
{

_data/boards/STM32F407VET6-Euse-M4-DEMO-Medium.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@
4141
"mounting": "4x mounting hole (M2)"
4242
},
4343
"remarks": [
44-
{ "type": "warning", "content": "The +5V pins on this board are directly connected to the +5V pin of the USB connector. There is no protection in place. Do not power this board through USB and an external power supply at the same time." }
44+
{ "type": "warning", "content": "The +5V pins on this board are directly connected to the +5V pin of the USB connector. There is no protection in place. Do not power this board through USB and an external power supply at the same time." },
45+
{ "type": "warning", "content": "This board has an external fixed USB pullup which is not actually needed (since automatic internal pullups are present) and might actually be harmful (when both pullups are enabled, the USB specification is violated)." }
4546
],
4647
"resources": [
4748
{

_data/boards/STM32F407VET6-STM32-F4VE-V2.0.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@
3838
"mounting": "4x mounting hole (M3)"
3939
},
4040
"remarks": [
41-
{ "type": "warning", "content": "The +5V pins on this board are directly connected to the +5V pin of the USB connector. There is no protection in place. Do not power this board through USB and an external power supply at the same time." }
41+
{ "type": "warning", "content": "The +5V pins on this board are directly connected to the +5V pin of the USB connector. There is no protection in place. Do not power this board through USB and an external power supply at the same time." },
42+
{ "type": "warning", "content": "This board has an external fixed USB pullup (R21) which is not actually needed (since automatic internal pullups are present) and might actually be harmful (when both pullups are enabled, the USB specification is violated)." }
4243
],
4344
"resources": [
4445
{

_data/boards/STM32F407VET6-VCC-GND-Small.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@
3838
"mounting": "None"
3939
},
4040
"remarks": [
41-
{ "type": "warning", "content": "The +5V pins on this board are directly connected to the +5V pin of the USB connector. There is no protection in place. Do not power this board through USB and an external power supply at the same time." }
41+
{ "type": "warning", "content": "The +5V pins on this board are directly connected to the +5V pin of the USB connector. There is no protection in place. Do not power this board through USB and an external power supply at the same time." },
42+
{ "type": "warning", "content": "This board has an external fixed USB pullup (R21) which is not actually needed (since automatic internal pullups are present) and might actually be harmful (when both pullups are enabled, the USB specification is violated)." }
4243
],
4344
"resources": [
4445
{

_data/boards/STM32F407VGT6-SR-Board.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@
3535
"mounting": "None"
3636
},
3737
"remarks": [
38-
{ "type": "warning", "content": "The +5V pins on this board are directly connected to the +5V pin of the USB connector. There is no protection in place. Do not power this board through USB and an external power supply at the same time." }
38+
{ "type": "warning", "content": "The +5V pins on this board are directly connected to the +5V pin of the USB connector. There is no protection in place. Do not power this board through USB and an external power supply at the same time." },
39+
{ "type": "warning", "content": "This board has an external fixed USB pullup (R8) which is not actually needed (since automatic internal pullups are present) and might actually be harmful (when both pullups are enabled, the USB specification is violated)." }
3940
],
4041
"resources": [
4142
{

_data/boards/STM32F407ZGT6-STM32F-Core-Board.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@
3838
"mounting": "None"
3939
},
4040
"remarks": [
41-
{ "type": "warning", "content": "The +5V pins on this board are directly connected to the +5V pin of the USB connector. There is no protection in place. Do not power this board through USB and an external power supply at the same time." }
41+
{ "type": "warning", "content": "The +5V pins on this board are directly connected to the +5V pin of the USB connector. There is no protection in place. Do not power this board through USB and an external power supply at the same time." },
42+
{ "type": "warning", "content": "This board has an external fixed USB pullup (R14) which is not actually needed (since automatic internal pullups are present) and might actually be harmful (when both pullups are enabled, the USB specification is violated)." }
4243
],
4344
"resources": [
4445
{

_data/boards/STM32F407ZGT6-VCC-GND-Large.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@
3838
"mounting": "None"
3939
},
4040
"remarks": [
41-
{ "type": "warning", "content": "The +5V pins on this board are directly connected to the +5V pin of the USB connector. There is no protection in place. Do not power this board through USB and an external power supply at the same time." }
41+
{ "type": "warning", "content": "The +5V pins on this board are directly connected to the +5V pin of the USB connector. There is no protection in place. Do not power this board through USB and an external power supply at the same time." },
42+
{ "type": "warning", "content": "This board has an external fixed USB pullup (R8) which is not actually needed (since automatic internal pullups are present) and might actually be harmful (when both pullups are enabled, the USB specification is violated)." }
4243
],
4344
"resources": [
4445
{

0 commit comments

Comments
 (0)