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


Trouble configuring WorkBench for STM32VL Discovery

I installed Workbench for STM32 today on Windows 7. I begin by creating a project for a STM32VL Discovery (SMT32F100RBxxx mcu). I select File -> New -> C Project and proceed to the Target Configuration window. When I select Series: STM32F1, my board is not shown in the “Board” drop down; so, I press “Create a new custom board.” I name if discoverf100vl, Select series: STM32F1, and Select mcu: STM32F100RBTx. The displayed mcu, core, package, and memory are correct. I select Next which takes me to the Project Firmware configuration window. I select Standard Peripheral Library (the same things happens if I select Hardware Abstraction Layer). The message “Target firmware has not been found locally, please install it!” is shown. I press Download Target Hardware. A progress indicator shows it is downloading. When it finishes, the “Target firmware has not been found locally, please install it!” is still there. No “Next” selection is available.

I searched the forum and did not find posts or answers to help me. I will appreciate any guidance that you may provide. Thanks

France

Hello,

I’ve got a try on my side this day. STM32 F1 serie firmware has been downloaded and installed successfully. STM32Cube_FW_F1_V1.6.0 directory is found (see attached snapshot).

Please could you share on which OS and System Workbench release you’re relying on.

Br.

cartu38,

I am using Windows 7, SP1. System Workbench is 2.2.0.

Thanks,

Frank

Hello,

The STM32VL Discovery is not supported by SW4STM32.
It contains a STLink V1 (old version).
You can check this is a STLink V1 by trying to upgrade the STlink firmware with STLink Utility for example (menu STLink => Firmware update).

I think it is the only STM32 board with a STLink V1 and so not supported by the tool.
You can see the list of boards supported here: http://www.openstm32.org/Supported%2BSTM32%2BboardsQuestion
In STM32F1 family, the STM32VL Discovery is not listed.

Rgds,
Laurent


LaurentL,

I agree that the STM32VL Discovery is not supported.

I was attempting to create a custom board that uses the STM32F100RB. If the tool can create a *.hex file, I have an ST-Link version that can program it.

It seems that SW4STM32 might not support the STM32F100RB. Could that be the problem?

Thanks,

Frank

Hi,

Yes, if you have another stlink (v2 or v2-1), you can use it to debug the STM32F100RB on the STM32VL-disco.
But you should disconnect the STLink V1 in that case and supply the mcu.
So, you should review the stlink v1 schematic to have a proper hw config to do this.
The Disco board is not a Nucleo where you can break the Stlink part or disconnect the Stlink via jumpers/solder bridges.

Laurent


Additional information.

This same problem occurs with different board/mcu selections. I watched Adam Bemski’s tutorial (https://www.youtube.com/watch?v=ztoXohZaST4&list=PLrLYs4BdzrqhlRYUUfQXVJU9p9J8QnBtF&t=23) and duplicated his steps. His tutorial uses the STM32F4 mcu and the STM32F4DISCOVERY board. At the Project Firmware configuration window, I got the warning: “Target firmware has not been found locally, please install it!” I pressed Download Target Hardware, accepted the license agreement, and pressed OK. A 31.5 MB downloaded was done, but the “Target firmware has not been found locally, please install it!” warning remained. No Next or Finish button is available.

I have another Eclipse Installation, and I wonder whether it may be interfering with System Workbench for STM32. The installation includes: GNU MCU Eclipse Build Tools, GNU MCU Eclipse OpenOCD, and GNU Tools for ARM Embedded Processors 5.4 2016. Has anyone experienced interference among these items?

Is the selection of a workspace directory important? Mine is C:\Users\jim\workspace.

Thanks,

Frank


Hi,

The F4 HAL fw zip has a size of more than 400 MB.
So, maybe it is the network that is slow.
Can you retry ?

The workspace you use is fine, just don’t put space char or other funny char in project name or directories where you install or in the workspace directory too.

The other install should not interfere. But i can’t be sure.
Did you use the SW4STM32 exe installer to install the SW4STM32 v2.2 ?
It is a Win 7 64 bits ? or 32 bits ?

Rgds,
Laurent


Laurent,

Thank you for your continuing assistance.

My Windows 7 is the 32-bit version.

At the Project Firmware configuration window, if I select HAL, everything is good. I received the errors only when I select standard peripheral library. Perhaps there is not support for the standard peripheral library?

Thanks,

Frank

France

Hello,

I’ve got a try myself relying on Windows 7 32b and latest SystemWorkbench for STM32 release. No issue to me to get standard peripheral library firmware either for F1 serie (package is around 21Mb) or F4 serie (package is around 75Mb).

Br.


cartu38,

Thank you for verifying that SystemWorkbench for STM32 should work with my configuration. I will uninstall everything and start anew. If that doesn’t work, I will attempt to install it on another PC.

Thanks again,

Frank