Continued issues with WeAct STM32F411

Post Reply
MGeo
Posts: 19
Joined: Thu Dec 19, 2019 10:29 am

Continued issues with WeAct STM32F411

Post by MGeo »

I see this board presents challenges. With v1.9.0 core, Blink sketch and upload via J-Link SWD I have problems with board immediately losing the SWD connection and I am unable to debug. After that I am unable to connect to the board over SWD with or without hardware reset. I have to fully erase the chip via DFU to bring the board back to a working state. I am running the board bare, no bootloader of any sort.

I've reviewed this closed issue https://github.com/stm32duino/Arduino_C ... issues/876 my issues look similar.

Using the variant files from this comment https://github.com/stm32duino/Arduino_C ... -577418051 with a dedicated PILL_F411XX variant resolves the issue but I've not traced the root cause as of yet.

I realize this board unfortunately has a 25MHz oscillator on HSE rather than 8MHz. Are there any special instructions to use this board with v1.9.0 core?

.rpv
Posts: 24
Joined: Wed Dec 18, 2019 10:19 pm

Re: Continued issues with WeAct STM32F411

Post by .rpv »

I made a "black pill" with the F411CEU and duplicating the variant since it wasn't clear what HSE clock was the variant using... just overwriting the .id file and the clock config function (my board uses an 8MHz crystal) for what the stm32cubeide creates and I didn't have any problem so far with my blackpill version.

User avatar
fpiSTM
Posts: 673
Joined: Wed Dec 11, 2019 7:11 pm
Answers: 25
Location: Le Mans
Contact:

Re: Continued issues with WeAct STM32F411

Post by fpiSTM »

You can try to define HSE_VALUE to 25000000 thanks build_opt.h or hal_conf_extra.h

Post Reply

Return to “STM32F4 based boards”