2021-10-04 07:04 PM
I mean, is there any button or pins I could press when power on then make it into DFU mode, and the DFU mode would be recognized by Ubuntu?
Solved! Go to Solution.
2021-10-04 07:48 PM
Not easily.
This board only has a single USB connector (CN1) which is connected to the ST-Link chip, not the STM32G474. So that won't help you.
You would need to solder a USB connector to the relevant pins, then put the device in bootloader mode by holding BOOT0 high during reset. Then it would be recognized as a DFU.
2021-10-04 07:48 PM
Not easily.
This board only has a single USB connector (CN1) which is connected to the ST-Link chip, not the STM32G474. So that won't help you.
You would need to solder a USB connector to the relevant pins, then put the device in bootloader mode by holding BOOT0 high during reset. Then it would be recognized as a DFU.
2021-10-07 07:37 AM
So I need 3 components - USB socket, USB-TTL convertor, and 5v to 3.3v regulator?
2021-10-07 08:21 AM
2021-10-07 08:41 AM
The BOOT0 pin gets the System Loader to run at reset.
For *USB* connectivity you'd need a connector suitably wired to the DP/DM (D+/D-) pins of the STM32
Can't you use the SERIAL connectivity of the Loader via the ST-LINK/VCP ?
This all seems unnecessarily convoluted.
2021-10-08 11:21 PM
I have thought I need to program the chip by UART as an AVR.
2021-10-08 11:22 PM
It was said there was no connectivity to the BOOT0 pin, so I couldn't enter into DFU mode by pressing some button during power-on.
2021-10-09 06:50 AM