Try to debug using Arduino IDE 2.2.1.
The latest version 2.3.x changes the debug configuration way. I will fix this within next release.
Simply enable the optimize for debugging option and you should be able to debug and see where it stucks.
Search found 1762 matches
- Sun Apr 21, 2024 5:49 am
- Forum: General discussion
- Topic: WeAct Studio STM32F411CEU6 BlackPill v3.1 crystal is 8 MHz
- Replies: 41
- Views: 10008
- Sat Apr 20, 2024 2:11 pm
- Forum: General discussion
- Topic: WeAct Studio STM32F411CEU6 BlackPill v3.1 crystal is 8 MHz
- Replies: 41
- Views: 10008
Re: WeAct Studio STM32F411CEU6 BlackPill v3.1 crystal is 8 MHz
You should redefine the system core clock config to properly configure the pll vs the HSE value.
- Sat Apr 20, 2024 11:21 am
- Forum: General discussion
- Topic: WeAct Studio STM32F411CEU6 BlackPill v3.1 crystal is 8 MHz
- Replies: 41
- Views: 10008
Re: WeAct Studio STM32F411CEU6 BlackPill v3.1 crystal is 8 MHz
Pay attention it seems you set 80MHz and not 8MHz
- Sat Apr 20, 2024 10:48 am
- Forum: General discussion
- Topic: WeAct Studio STM32F411CEU6 BlackPill v3.1 crystal is 8 MHz
- Replies: 41
- Views: 10008
Re: WeAct Studio STM32F411CEU6 BlackPill v3.1 crystal is 8 MHz
Is the LED_BUILTIN correct for this new board?
- Sat Apr 20, 2024 7:56 am
- Forum: General discussion
- Topic: WeAct Studio STM32F411CEU6 BlackPill v3.1 crystal is 8 MHz
- Replies: 41
- Views: 10008
Re: WeAct Studio STM32F411CEU6 BlackPill v3.1 crystal is 8 MHz
https://github.com/stm32duino/Arduino_C ... adaptation
https://github.com/stm32duino/Arduino_C ... efinitions
So simply create the file with at sketch level :
#define HSE_VALUE 800000000U
https://github.com/stm32duino/Arduino_C ... efinitions
So simply create the file with at sketch level :
#define HSE_VALUE 800000000U
- Sat Apr 20, 2024 7:02 am
- Forum: General discussion
- Topic: WeAct Studio STM32F411CEU6 BlackPill v3.1 crystal is 8 MHz
- Replies: 41
- Views: 10008
Re: WeAct Studio STM32F411CEU6 BlackPill v3.1 crystal is 8 MHz
Simply redefine HSE_VALUE using hal_conf_extra.h.
See the wiki.
See the wiki.
- Fri Apr 19, 2024 6:46 am
- Forum: STM32F4 based boards
- Topic: FreeRTOS library not working in stm32f407
- Replies: 1
- Views: 3106
Re: FreeRTOS library not working in stm32f407
Your best bet is to debug to see where it fails.
- Mon Apr 15, 2024 2:29 pm
- Forum: General discussion
- Topic: SD card problem with SPI
- Replies: 1
- Views: 2081
Re: SD card problem with SPI
You should use the official SDFat library from Bill Greiman.
https://github.com/greiman/
We made some fixes within the 2.7.1 core version and works as expected.
https://github.com/greiman/
We made some fixes within the 2.7.1 core version and works as expected.
- Mon Apr 15, 2024 9:56 am
- Forum: General discussion
- Topic: F401 blackpill no deepsleep
- Replies: 5
- Views: 2469
Re: F401 blackpill no deepsleep
Note that the measure is done on IDD. So only the MCU consumption is measured.
- Fri Apr 05, 2024 1:19 pm
- Forum: General discussion
- Topic: F401 blackpill no deepsleep
- Replies: 5
- Views: 2469
Re: F401 blackpill no deepsleep
Hi, deepsleep (stop mode) works as expected. I've tested with a Nucleo F401RE, I've got something close to your value (3 mA when the LED is OFF). Anyway, you probably have to ensure all unused pins are set to Analog Input and the respective GPIO port clock disabled. The library can't do that for you...