Search found 505 matches

by GonzoG
Sun Jun 22, 2025 7:48 pm
Forum: Projects
Topic: RedPill001 STM32F103 Board
Replies: 1
Views: 210

Re: RedPill001 STM32F103 Board

It's H5 board, not F1.
You probably won't find a compiled USB bootloader for it, you will have to compile one yourself.
analogRead() is really slow on H5/H7 MCUs.
by GonzoG
Mon Jun 16, 2025 9:54 am
Forum: Off topic
Topic: IR remote control project
Replies: 2
Views: 1389

Re: IR remote control project

Did you try to use this library ??
by GonzoG
Fri Jun 13, 2025 10:17 am
Forum: General discussion
Topic: Issue with STM32 Core: Board Not Detected After Upload / Red SYS LED
Replies: 2
Views: 7739

Re: Issue with STM32 Core: Board Not Detected After Upload / Red SYS LED

Not enough information.

1. are you 100% sure the LED shouldn't be on ??
2. did you set it up to have com port ??
3. do you connected it to correct usb port ??
4. my crystal ball run out of magic juice... which board you're talking about... ??
by GonzoG
Tue Jun 10, 2025 10:18 am
Forum: STM boards (Discovery, Eval, Nucleo, ...)
Topic: mini STM32F103C8T6 CH340 Serial pins
Replies: 9
Views: 9197

Re: mini STM32F103C8T6 CH340 Serial pins


To program stm32f103c8t6 blue pill via uart you need to set boot0
and you need stm32cubeprogrammer (or some such programming util)
https://www.st.com/en/development-tools/stm32cubeprog.html
^^ this is from ST (you can consider that an official programming tool)

Isn't that exactly what he wrote ...
by GonzoG
Tue Jun 10, 2025 10:10 am
Forum: General discussion
Topic: STM32 Algorithms
Replies: 2
Views: 4517

Re: STM32 Algorithms

Wrong subforum - you're asking about STM32 and posted in STM8.

This won't be done automatically by MCU (with one or a few simple commands).
First you need to measure length of pulses or time between them and by comparing them find the gap to get your program synchronized. Then you can count pulses ...
by GonzoG
Mon Jun 09, 2025 9:59 pm
Forum: STM boards (Discovery, Eval, Nucleo, ...)
Topic: mini STM32F103C8T6 CH340 Serial pins
Replies: 9
Views: 9197

Re: mini STM32F103C8T6 CH340 Serial pins

STM32F103 has a USB interface built-in. Those are PA11 and PA12 pins. But it does not have USB bootloader (called DFU by STM) so you cannot flash firmware using USB without software bootloader (like HID bootloader )

It looks like those jumpers (not resistors) are under CH340 and by default are not ...
by GonzoG
Mon Jun 09, 2025 7:03 pm
Forum: STM boards (Discovery, Eval, Nucleo, ...)
Topic: mini STM32F103C8T6 CH340 Serial pins
Replies: 9
Views: 9197

Re: mini STM32F103C8T6 CH340 Serial pins

What are your settings for UART and USB support in Arduino IDE ??
by GonzoG
Fri May 30, 2025 10:32 pm
Forum: STM boards (Discovery, Eval, Nucleo, ...)
Topic: Blink on STM32L011: section `._user_heap_stack' will not fit in region `RAM'
Replies: 4
Views: 3584

Re: Blink on STM32L011: section `._user_heap_stack' will not fit in region `RAM'

No, it shouldn't. You can reduce RAM usage to a few 100 bytes disabling unnecessary things.

Output after compiling blink sketch for L011F4:

Sketch uses 4556 bytes (27%) of program storage space. Maximum is 16384 bytes.
Global variables use 412 bytes (20%) of dynamic memory, leaving 1636 bytes for ...
by GonzoG
Wed May 28, 2025 10:12 am
Forum: STM boards (Discovery, Eval, Nucleo, ...)
Topic: Blink on STM32L011: section `._user_heap_stack' will not fit in region `RAM'
Replies: 4
Views: 3584

Re: Blink on STM32L011: section `._user_heap_stack' will not fit in region `RAM'

Reduce RAM usage (variables).
You can do it by disabling unused peripherals and not needed features.

stm32duino isn't meant to be used on MCUs with low RAM/ROM. It has a lot "bloatware" to make it universal and easy to use.
by GonzoG
Wed May 28, 2025 10:08 am
Forum: General discussion
Topic: Playing with Weact STM32H562RGT6
Replies: 10
Views: 7751

Re: Playing with Weact STM32H562RGT6

1. You don't need to use dfu-util. You can upload directly from Arduino IDE.
2. You don't need U(S)ART enabled for USB serial.
3. If your sketch takes control of USB pins USB Serial won't work.

Go to advanced search