Loading...
 

Zephyr project on STM32

   Zephyr Workbench, a VSCode extension to manage Zephyr on STM32.
It enables users to easily create, develop, and debug Zephyr applications.
Main features:
  • Install host dependencies.
  • Import toolchain and SDK.
  • Create, configure, build and manage apps.
  • Debug STM32.
You can directly download it from the VSCode marketplace
For more details, visit the Zephyr Workbench

System Workbench for STM32


NUCLEO H743ZI Unable to match requested speed 8000 kHz, using 4000 kHz.

NUCLEO F429ZI works without Stlink adapter speed issue.
Project on NUCLEO H743ZI has trouble with Stlink adapter speed below.
What can I do to fix it?


Open On-Chip Debugger 0.10.0+dev-00021-g524e8c8 (2019-04-12-08:48)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
srst_only separate srst_nogate srst_open_drain connect_assert_srst
Info : The selected transport took over low-level target control. The results might differ compared to plain JTAG/SWD
adapter speed: 8000 kHz
adapter_nsrst_delay: 100
Info : clock speed 8000 kHz
Info : STLINK v2.1 JTAG v34 API v2 SWIM v25 VID 0x0483 PID 0x3752
Info : using stlink api v2
Info : Target voltage: 3.227694
Info : Unable to match requested speed 8000 kHz, using 4000 kHz
Info : Stlink adapter speed set to 4000 kHz
Info : STM32H743ZITx.cpu0: hardware has 8 breakpoints, 4 watchpoints
Info : Listening on port 3333 for gdb connections
target halted due to debug-request, current mode: Thread
xPSR: 0x01000000 pc: 0x080036a0 msp: 0x20020000
Info : Unable to match requested speed 8000 kHz, using 4000 kHz
Info : Stlink adapter speed set to 4000 kHz
Info : Unable to match requested speed 8000 kHz, using 4000 kHz
adapter speed: 4000 kHz

    • Programming Started **

auto erase enabled
Info : Device: STM32H7xx 2M
Info : flash size probed value 2048
Info : STM32H flash has dual banks. Bank (0) size is 1024kb, base address is 0x8000000
wrote 131072 bytes from file Debug/743zi_FMC_v1.elf in 2.822992s (45.342 KiB/s)

    • Programming Finished **
    • Verify Started **

target halted due to breakpoint, current mode: Thread
xPSR: 0x61000000 pc: 0x2000002e msp: 0x20020000
verified 14220 bytes in 0.717003s (19.368 KiB/s)

    • Verified OK **
    • Resetting Target **

Info : Unable to match requested speed 8000 kHz, using 4000 kHz
Info : Stlink adapter speed set to 4000 kHz
Info : Unable to match requested speed 8000 kHz, using 4000 kHz
adapter speed: 4000 kHz
shutdown command invoked

Having the exact same issue with an STM32L0538-DISC0. did you manage to find a fix for it?

No. I couldn’t.
I am coding on F429 instead of H743.
I guess I have to wait for fetch from ST. I had same issue on F429 before. After some fetch on SWorkbench, no problem with F429.


Goto Run -> Run Configuration -> Select ‘project name’ Debug -> Debugger -> Under Configuration Script Click Show generator options -> General Option -> Connection Setup -> Set Frequency Less than 4000KHz.

Goto Run -> Debug Configuration -> Select ‘project name’ Debug -> Debugger -> Under Configuration Script Click Show generator options -> General Option -> Connection Setup -> Set Frequency Less than 4000KHz.

I hope this help.biggrin


I am having the same problem. I tried the above solution, but did not work. I get the following,
..
..
auto erase enabled
Info : flash size probed value 1024
target halted due to breakpoint, current mode: Thread
xPSR: 0x61000000 pc: 0x20000084 msp: 0x20050000
wrote 65536 bytes from file Debug/project1_design.elf in 1.341359s (47.713 KiB/s)

    • Programming Finished **
    • Verify Started **

target halted due to breakpoint, current mode: Thread
xPSR: 0x61000000 pc: 0x2000002e msp: 0x20050000
verified 45940 bytes in 0.152100s (294.959 KiB/s)

any other setting changes? please suggest.


 

Newest Forum Posts

  1. SPI on Nucleo_STMH533RE by royjamil, 2025-05-04 20:13
  2. SPI on Nucleo_STMH533RE by higginsa1, 2025-03-25 07:37
  3. SPI on Nucleo_STMH533RE by royjamil, 2025-03-23 11:31
  4. SPI on Nucleo_STMH533RE by higginsa1, 2025-03-23 09:33
  5. Configuring DMA for ADC in SW? by sam.hodgson, 2025-03-04 12:58
  6. Build a project in "release" mode by info@creosrl.it, 2025-02-20 18:12
  7. Build a project in "release" mode by info@creosrl.it, 2025-02-20 17:05
  8. Build a project in "release" mode by tang, 2025-02-20 10:36
  9. Build a project in "release" mode by info@creosrl.it, 2025-02-19 17:35
  10. Fail to debug in Win 11 C/C++ by mortenlund, 2024-12-26 20:27

Last-Modified Blogs