Ground UART1 RX (PA10) pin while you reset board.
If MCU gets anything on UART it will start bootloader with UART enabled, not USB.
Search found 407 matches
- Sun Jul 16, 2023 9:01 pm
- Forum: STM32F4 based boards
- Topic: Cannot upload Blackpill F411 v3.0 from Arduino IDE
- Replies: 7
- Views: 4455
- Sun Jul 16, 2023 5:22 pm
- Forum: Projects
- Topic: standalone board based on STM32F303K8T6
- Replies: 4
- Views: 5626
Re: standalone board based on STM32F303K8T6
Nucleo boards do not have software bootloader. They use ST-Link programmer.
- Mon Jul 03, 2023 10:16 pm
- Forum: General discussion
- Topic: Program an STM32F411 with an Raspberry Pi
- Replies: 13
- Views: 2371
Re: Program an STM32F411 with an Raspberry Pi
@Sparky
mini/micro USB is just a connector. You don't need it to use USB. Just connect D+, D- and GND.
mini/micro USB is just a connector. You don't need it to use USB. Just connect D+, D- and GND.
- Wed Jun 28, 2023 9:41 pm
- Forum: General discussion
- Topic: STM32F103C8T6 how to Thread?
- Replies: 6
- Views: 1584
Re: STM32F103C8T6 how to Thread?
myksj1105 Same thing. Parallel threads can be achieved only on multi core MCUs. Concurrent threads can be achieved using RTOS. There is a FreeRTOS for STM32duino: https://github.com/stm32duino/STM32FreeRTOS But concurrent multithreading should be used only if there is no other way. Jumping between ...
- Tue Jun 27, 2023 4:39 pm
- Forum: General discussion
- Topic: Program an STM32F411 with an Raspberry Pi
- Replies: 13
- Views: 2371
Re: Program an STM32F411 with an Raspberry Pi
Nucleo board have a built-in ST-Link programmer and you probably used it to flash board.
F411 board (probably "black pill") does not have one. You need to manually reset board into bootloader mode and use DFU as an upload method.
F411 board (probably "black pill") does not have one. You need to manually reset board into bootloader mode and use DFU as an upload method.
- Tue Jun 27, 2023 4:34 pm
- Forum: General discussion
- Topic: How to Program the STM32 "Blue Pill" with Arduino IDE
- Replies: 9
- Views: 1612
Re: How to Program the STM32 "Blue Pill" with Arduino IDE
It's saved into flash memory until it's rewritten. If you flash a big program that will need almost whole memory and without virtual EEPROM it may overwrite data saved in virtual EEPROM. Also: 1. Flash memory has limited (more then EEPROM) erase/write cycles. If you'll write lots of data or very oft...
- Tue Jun 27, 2023 4:26 pm
- Forum: General discussion
- Topic: STM32F103C8T6 how to Thread?
- Replies: 6
- Views: 1584
Re: STM32F103C8T6 how to Thread?
There are no threads without a RTOS that supports threads.
- Sun Jun 25, 2023 6:08 am
- Forum: General discussion
- Topic: 'STM32F103C8T6' not work PWM Function.
- Replies: 9
- Views: 1369
Re: 'STM32F103C8T6' not work PWM Function.
@myksj1105
If you use Roger's/Steve's core then with most hardware setup you are limited to standard setup.
With STM32 core all pins connected to timers work in PWM mode.
If you use Roger's/Steve's core then with most hardware setup you are limited to standard setup.
With STM32 core all pins connected to timers work in PWM mode.
- Fri Jun 23, 2023 8:44 pm
- Forum: General discussion
- Topic: 'STM32F103C8T6' not work PWM Function.
- Replies: 9
- Views: 1369
Re: 'STM32F103C8T6' not work PWM Function.
@myksj1105
What do you mean by "desired results".
At 0 it's off, at 255, it's on.
What do you mean by "desired results".
At 0 it's off, at 255, it's on.
- Thu Jun 22, 2023 9:52 am
- Forum: General discussion
- Topic: 'STM32F103C8T6' not work PWM Function.
- Replies: 9
- Views: 1369
Re: 'STM32F103C8T6' not work PWM Function.
There is no such thing as PWM mode for pins.
You can set pin in INPUT or OUTPUT (with pull-up or pull-down also) mode.
For analogWrite you don't need to set pin mode, as analogWrite does it.
How do you check if PWM works ??
You can set pin in INPUT or OUTPUT (with pull-up or pull-down also) mode.
For analogWrite you don't need to set pin mode, as analogWrite does it.
How do you check if PWM works ??