Menu

#461 stm32f4x.cfg Requested Speed Too High

0.12.0
new
nobody
None
2025-11-09
2025-10-17
No

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.

1 Attachments

Discussion

  • Antonio Chiu

    Antonio Chiu - 2025-10-17

    My edited stm32f4x.cfg

     
  • Tomas Vanek

    Tomas Vanek - 2025-11-01

    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

     
  • Tomas Vanek

    Tomas Vanek - 2025-11-01

    And also note that

    Info: Unable to match requested speed 8000 kHz, using 4000 kHz
    

    is just an informational message, not error at all!

     
  • Antonio Chiu

    Antonio Chiu - 2025-11-09

    Hello. I think I ve submit a pull request on that. Let me know if the project accepts.

     

Log in to post a comment.

MongoDB Logo MongoDB