WeAct stm32F103CB HID Bootloader question
Posted: Tue Apr 16, 2024 5:44 pm
Hello.
I need to be educated on this a bit.
I just bought a bunch of WeAct stm32F103CB BluePills whose internal LED is connected to pin PB2. I have an STLink and the STM32CubeProgrammer software installed. I couldn't find a hid_generic_pb2.bin file to flash so I just used the hid_generic_pc13.bin file that I have used for other variants of blue pills.
Everything seems to work fine. I can upload a sketch from the Arduino IDE using the HID Bootloader upload method connected via a USB cable and I can make the LED blink by specifying the PB2 pin. I can upload sketches repeatedly with no difficulty. The serial monitor works fine. So all's good, no?
So, am I missing anything by having used the _pc13.bin file that I used? What is the purpose of having all those different bin files? If it matters which bin file I use, how can I get one that's designed for the board with the LED on pin PB2?
A million thanks in advance.
Peter
I need to be educated on this a bit.
I just bought a bunch of WeAct stm32F103CB BluePills whose internal LED is connected to pin PB2. I have an STLink and the STM32CubeProgrammer software installed. I couldn't find a hid_generic_pb2.bin file to flash so I just used the hid_generic_pc13.bin file that I have used for other variants of blue pills.
Everything seems to work fine. I can upload a sketch from the Arduino IDE using the HID Bootloader upload method connected via a USB cable and I can make the LED blink by specifying the PB2 pin. I can upload sketches repeatedly with no difficulty. The serial monitor works fine. So all's good, no?
So, am I missing anything by having used the _pc13.bin file that I used? What is the purpose of having all those different bin files? If it matters which bin file I use, how can I get one that's designed for the board with the LED on pin PB2?
A million thanks in advance.
Peter