I don't have a NUCLEO-F401RE. I tested on a blackpill (STM32F401CC) with an old on-board st-link and no problems at speeds from original config. Just noticed that st-link ``` Info : STLINK V2J32S0 (API v2) VID:PID 0483:3748 ... > reset init ... Unable to match requested speed 8000 kHz, using 4000 kHz Unable to match requested speed 8000 kHz, using 4000 kHz ``` reduces the speed substantially. Therefore I reconnect to FT232H based adapter and tested at 12 MHz - flash erase/write/verify works just fine.
Also please be aware that we do not accept patches from mail or bug tracking. See https://openocd.org/doc/doxygen/html/patchguide.html --- **[tickets:#461] stm32f4x.cfg Requested Speed Too High** **Status:** new **Milestone:** 0.12.0 **Created:** Fri Oct 17, 2025 04:15 PM UTC by Antonio Chiu **Last Updated:** Fri Oct 17, 2025 04:18 PM UTC **Owner:** nobody **Attachments:** - [stm32f4x.cfg Requested Speed Too High.rtf](https://sourceforge.net/p/openocd/tickets/461/attachment/stm32f4x.cfg%20Requested%20Speed%20Too%20High.rtf) (50.0 kB; application/msword) Tested on NUCLEO-F401RE (stm32f401re). It has the slowest Fcpu (adapter speed) in the STM32F4 series. It seems that the original adapter speed for reset-init and reset-start is too high for my board. I've reduced the speed to get rid of the errors. Technically this should work on all other STM32F4 boards as they all have higher Fcpu. --- Sent from sourceforge.net because [email protected] is subscribed to https://sourceforge.net/p/openocd/tickets/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/openocd/admin/tickets/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.
