You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While using a HID bootloader method to upload a sketch over the USB, it throws an error that the IDE can not detect the board. It does not show up on the COM port. Tried with the Reset button, but no luck.
What could be a problem? Maybe the onboard bootloader is not compatible with this STM32 support?
I can always program it with a UART adapter using Arduino IDE, but thought it should be better this way.
The USB CDC have to be enabled to allow restart in HID bootloader. You have to flash it the first time with USB enabled then it should be OK. Else probably it is not compatible.
Sketch uses 26228 bytes (2%) of program storage space. Maximum is 1048576 bytes.
Global variables use 5036 bytes (3%) of dynamic memory, leaving 126036 bytes for local variables. Maximum is 131072 bytes.
Trying to open the [COM9]...
Unable to open the [COM9]
Searching for [1209:BEBA] device...
##########
Error - [1209:BEBA] device is not found :(> Searching for [COM9] ...
Finish
the selected serial port > Finish
does not exist or your board is not connected
And this no matter if I try to enter the bootloader with a button or not.
Activity
fpistm commentedon Oct 13, 2023
The USB CDC have to be enabled to allow restart in HID bootloader. You have to flash it the first time with USB enabled then it should be OK. Else probably it is not compatible.
ITstreet1 commentedon Oct 13, 2023
Tried all options for USB support. All I get is
And this no matter if I try to enter the bootloader with a button or not.
PS
This is just a Blink sketch
fpistm commentedon Oct 13, 2023
What is COM9?
You have to start the Serial at least in the Setup. Else how do you want reset in HID mode?
ITstreet1 commentedon Oct 13, 2023
There is nothing on COM9, nor is anything selected as a COM PORT option.
I get the same message as above. For USB support tried both CDC options. Nothing. Do I have to enable USART or something else?