Loading...
 

SW4STM32 and SW4Linux fully supports the STM32MP1 asymmetric multicore Cortex/A7+M4 MPUs

   With System Workbench for Linux, Embedded Linux on the STM32MP1 family of MPUs from ST was never as simple to build and maintain, even for newcomers in the Linux world. And, if you install System Workbench for Linux in System Workbench for STM32 you can seamlessly develop and debug asymmetric applications running partly on Linux, partly on the Cortex-M4.
You can get more information from the ac6-tools website and download (registration required) various documents highlighting:

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.