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


OpenOCD Binary not found

After 1.6 update run Debug and get “OpenOCD Binary not found”.
How can i repair SW4STM32?


Hi,

Please verify in your debug configuration (Run > Debug Configurations...) that the OpenOCD command value is “${openstm32_openocd_path}\openocd.exe”.

Did you add arguments in this command ? (if you did, they should not be under the executable path double quote.

Regards,
Kevin
Ac6

Hi!
I didnt change anythink in Debug configuration.

It was
”${openstm32_openocd_path}\openocd.exe”
and it has error
OpenOCD Binary not found (after 1.6 update. Installed under Eclipse Mars.1 )

But if I change to
”${openstm32_openocd_path}\openocd.exe” -d
or
”${openstm32_openocd_path}\openocd.exe” -

it work (Debug and Run)


Hi,

I cannot reproduce this behavior. I’m still investigating it. As no one else has yet report the same problem, can you tell me on which OS you are using System Workbench ?

Regards,
Kevin.

Hi!

Win10 64bit Home

Eclipse IDE for C/C++ Developers
Version: Mars.1 Release (4.5.1)
Build id: 20150924-1200

Java version 8 Update 66 (build 1.8.0_66-b18)



Hi.

I just got the same error. I’ve installed AC6 as an eclipse plugin within eclipse Mars on Windows 10. But, adding a - at the end of the OpenOCD command worked around the problem.
To my humble opinion Eclipse (or the underlying Java environment) does not execute the command correctly. E.g. it does probably use the CLI and does not hand over the path properly. (The Windows CLI needs double qoutes around the path if there are spaces) There are double qoutes in the value of the OpenOCD command but it seems they are removed before the execution of the command. But, in windows there are many ways to invoke an application. Probably one of them is more convenient than the CLI.
Additionally, the plugin directory of eclipse is constructed from a relative path (on my system: ../../../../Users/MartinK/.p2/pool/plugins/). This is prefixed by “C:\Program Files\eclipse\cpp-mars\eclipse\”, where the space comes in.

A comment of mine:
Removing spaces from installation directories is not an option for me! Seriously, that is just an excuse of a lazy programmer.
On one hand this breaks the layout of the Windows directory structure because you will reach a point where you have dozens of extra folders in your root drive. And I feel back in the 90ies if I would see this. Why don’t you suppose to use 8.3 directory and file names again? On the other hand you only have an influence on the eclipse installation directory if you setup AC6 as a plugin. I once did use extra folders in my root drive to group programs by their purpose. But, meanwhile I think it is more practicable to have them all together in a single directory.

Greets,
Martin.