Search found 23 matches

by Vassilis
Mon Mar 18, 2024 10:50 am
Forum: Libraries & Hardware
Topic: Reset HID Bootloader on the Blue Pill (?)
Replies: 4
Views: 7122

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.
by Vassilis
Fri Mar 15, 2024 8:16 am
Forum: Libraries & Hardware
Topic: Reset HID Bootloader on the Blue Pill (?)
Replies: 4
Views: 7122

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.
by Vassilis
Tue Jan 09, 2024 3:35 pm
Forum: General discussion
Topic: Happy new year 2k24
Replies: 5
Views: 1146

Re: Happy new year 2k24

Wishing you a New Year with full of great achievements and experiences !
by Vassilis
Wed Dec 06, 2023 10:56 am
Forum: General discussion
Topic: #ifdef not working
Replies: 3
Views: 5789

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 default, board...
by Vassilis
Thu May 18, 2023 1:29 pm
Forum: General discussion
Topic: Serial port part add RS485 chip DE pin control
Replies: 6
Views: 1484

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.
RS-485_transceiver.jpg
RS-485_transceiver.jpg (37.77 KiB) Viewed 1274 times
Source: https://www.waveshare.com/w/upload/1/1d ... ematic.pdf
by Vassilis
Wed Apr 05, 2023 7:56 pm
Forum: General discussion
Topic: application start address
Replies: 15
Views: 1865

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.m...
by Vassilis
Sun Feb 19, 2023 1:20 pm
Forum: IDE's
Topic: Arduino IDE 2 & Debug feature
Replies: 45
Views: 30274

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\STMicr...
by Vassilis
Sun Feb 19, 2023 9:28 am
Forum: IDE's
Topic: Arduino IDE 2 & Debug feature
Replies: 45
Views: 30274

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?
by Vassilis
Fri Feb 17, 2023 3:29 pm
Forum: IDE's
Topic: Arduino IDE 2 & Debug feature
Replies: 45
Views: 30274

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 !
Arduino_IDE_Debugging_F103.jpg
Arduino_IDE_Debugging_F103.jpg (87.49 KiB) Viewed 4566 times
by Vassilis
Fri Feb 17, 2023 1:30 pm
Forum: IDE's
Topic: Arduino IDE 2 & Debug feature
Replies: 45
Views: 30274

Re: Arduino IDE 2 & Debug feature

@fpiSTM
I will write a simple guide on how to install and use the STM32 debugger on Windows

[EDIT] I think it's better, to send you a GitHub pull request with the necessary changes

Go to advanced search