The only difference among these bin files is the pin definition of the on-board LED used by the HID bootloader to indicate its status.
If you don't care about the status indicator, you can use any of these bin files.
how can I get one that's designed for the board with the LED on pin PB2?
The ...
Search found 24 matches
- Wed Apr 17, 2024 4:43 am
- Forum: STM32F1 based boards
- Topic: WeAct stm32F103CB HID Bootloader question
- Replies: 2
- Views: 6972
- Mon Mar 18, 2024 10:50 am
- Forum: Libraries & Hardware
- Topic: Reset HID Bootloader on the Blue Pill (?)
- Replies: 5
- Views: 30297
Re: Reset HID Bootloader on the Blue Pill (?)
In general, HID bootloader uses the USB Serial port (CDC) to put the STM32 in HID bootloader mode. If you burn the STM32 with a sketch file that the USB Serial is not enabled from Arduino IDE menu, then the hid-flash.exe cannot reboot the STM32 in HID bootloader mode.
- Fri Mar 15, 2024 8:16 am
- Forum: Libraries & Hardware
- Topic: Reset HID Bootloader on the Blue Pill (?)
- Replies: 5
- Views: 30297
Re: Reset HID Bootloader on the Blue Pill (?)
Is your MCU the STM32F103C8T6 (64 kB Flash, 20 kB RAM) ?
Some Bluepills are marketed with STM32F103C6 and only have 32kB Flash and 10kB RAM.
Some Bluepills are marketed with STM32F103C6 and only have 32kB Flash and 10kB RAM.
- Tue Jan 09, 2024 3:35 pm
- Forum: General discussion
- Topic: Happy new year 2k24
- Replies: 5
- Views: 4565
Re: Happy new year 2k24
Wishing you a New Year with full of great achievements and experiences !
- Wed Dec 06, 2023 10:56 am
- Forum: General discussion
- Topic: #ifdef not working
- Replies: 3
- Views: 17523
Re: #ifdef not working
...
I want to adapt my library to work with two different boards, so how do i define something on my main code that runs different parts of my library?
Maybe you can pass your board type as a parameter to your library constructor.
todayLib.h
...
void begin(uint8_t myboard = 1); /* By ...
- Thu May 18, 2023 1:29 pm
- Forum: General discussion
- Topic: Serial port part add RS485 chip DE pin control
- Replies: 6
- Views: 4708
Re: Serial port part add RS485 chip DE pin control
An alternative way to connect the RS-485 transceiver is as follows, where the DE/RE pins are not used in the known way.
Source: https://www.waveshare.com/w/upload/1/1d ... ematic.pdf
Source: https://www.waveshare.com/w/upload/1/1d ... ematic.pdf
- Wed Apr 05, 2023 7:56 pm
- Forum: General discussion
- Topic: application start address
- Replies: 15
- Views: 8115
Re: application start address
An easy way to do that is to modify only the boards.txt file by adding the following 2 lines:
# DISCO_F407VG board
Disco.menu.pnum.DISCO_F407VG=STM32F407G-DISC1
Disco.menu.pnum.DISCO_F407VG.node=DIS_F407VG
Disco.menu.pnum.DISCO_F407VG.upload.maximum_size=1048576
Disco.menu.pnum.DISCO_F407VG.upload ...
# DISCO_F407VG board
Disco.menu.pnum.DISCO_F407VG=STM32F407G-DISC1
Disco.menu.pnum.DISCO_F407VG.node=DIS_F407VG
Disco.menu.pnum.DISCO_F407VG.upload.maximum_size=1048576
Disco.menu.pnum.DISCO_F407VG.upload ...
- Sun Feb 19, 2023 1:20 pm
- Forum: IDE's
- Topic: Arduino IDE 2 & Debug feature
- Replies: 45
- Views: 101186
Re: Arduino IDE 2 & Debug feature
The only problem I had with setting up xpack-openocd-0.12.0-1 (Core 2.4.0, Win10 and Linux Mint 20.2, IDE 2.0.3) was that I was getting the following error when trying to click the debug button:
Failed to launch OpenOCD GDB Server: Error: spawn C:\Users\<USER>\AppData\Local\Arduino15\packages ...
Failed to launch OpenOCD GDB Server: Error: spawn C:\Users\<USER>\AppData\Local\Arduino15\packages ...
- Sun Feb 19, 2023 9:28 am
- Forum: IDE's
- Topic: Arduino IDE 2 & Debug feature
- Replies: 45
- Views: 101186
Re: Arduino IDE 2 & Debug feature
@fpiSTM I am confused. I really don't know what you are trying to do. Can you please explain your thoughts?
- Fri Feb 17, 2023 3:29 pm
- Forum: IDE's
- Topic: Arduino IDE 2 & Debug feature
- Replies: 45
- Views: 101186
Re: Arduino IDE 2 & Debug feature
PR was sent
https://github.com/stm32duino/Arduino_C ... /pull/1952
I have added the STM32F103 (Bluepill) to the debug support list
Of course, thanks to @luca_stm32, on the debug configuration !
https://github.com/stm32duino/Arduino_C ... /pull/1952
I have added the STM32F103 (Bluepill) to the debug support list
Of course, thanks to @luca_stm32, on the debug configuration !