2026-05-27 1:47 AM - last edited on 2026-05-27 2:14 AM by Andrew Neil
Hi,
I'm currently developing on the NUCLEO board and I can't enter the bootloader using the boot button on the board.
I created an .ioc file with CubeMX2 v1.0.1 using the NUCLEOC562RE board. Then build and flash the code with vscode addon without issue.
When I press the "BOOT" button, perform a "RESET" using the reset button, and then release the "BOOT" button, I continue to boot from the flash memory and therefore cannot access USB DFU mode on USB1, which is my goal ...
However, when I change the value of BOOT0 to 1 in CubeProgrammer using ST-LINK, I can enter USB DFU mode without any issues on USB1. Is it possible to change BOOT0 from the application then ? How ?
Thank you in advance for your help !