cancel
Showing results for 
Search instead for 
Did you mean: 

B-G431B-ESC1: How to build software?????

sgordon777
Associate III

All I want to do (for now) is build the ESC software and download it into the B-G431B-ESC1 board.

1. After alot of searching, I installed this: MC_SDK_6.2.0

2.  I ran MotorControl Workbench 6.2.0, loaded the "Electronics Speed control on B-G431B-ESC kit", Click "Generate the Project"

3. I get error: STM32CubeMX not found - ver. "6.0.0" or higher is required

4. I install STM32Cube 6.1, and also it's "patch" (which the instructions for applying are extremely confusing)

 

Well, that didn't help. I installed STM32CubeMX , tried again and I see the same thing:

sgordon777_0-1701847684750.png

 

Logfile from my project:

2023-12-06 02:36:22,256 DEBUG [WB_to_MX.lambda$run_gui_mode$0] Arguments: [-mx_timeout, -1, -pack, assets/MotorControlPack/MotorControl.zip, -exp, templates/wb-defines_where_and_what.txt, -ftl, templates/wb_ioc_template.ftl, -xdm, C:\develop\st_workbench\ElectronicSpeedControl_ESC-G4\ElectronicSpeedControl_ESC-G4.wbdef, -ioc, C:\develop\st_workbench\ElectronicSpeedControl_ESC-G4\ElectronicSpeedControl_ESC-G4.ioc]
2023-12-06 02:36:22,259 DEBUG [ArgsValue.lambda$retrieve$2] CLI_ARG[ftl]: templates/wb_ioc_template.ftl
2023-12-06 02:36:22,260 DEBUG [ArgsValue.lambda$retrieve$2] CLI_ARG[exp]: templates/wb-defines_where_and_what.txt
2023-12-06 02:36:22,260 DEBUG [ArgsValue.lambda$retrieve$2] CLI_ARG[xdm]: C:\develop\st_workbench\ElectronicSpeedControl_ESC-G4\ElectronicSpeedControl_ESC-G4.wbdef
2023-12-06 02:36:22,260 DEBUG [ArgsValue.lambda$retrieve$2] CLI_ARG[ioc]: C:\develop\st_workbench\ElectronicSpeedControl_ESC-G4\ElectronicSpeedControl_ESC-G4.ioc
2023-12-06 02:36:22,260 DEBUG [ArgsValue.lambda$retrieve$2] CLI_ARG[pack]: assets/MotorControlPack/MotorControl.zip
2023-12-06 02:36:22,261 DEBUG [ArgsValue.lambda$retrieve$2] CLI_ARG[mx_timeout]: -1
2023-12-06 02:36:22,261 DEBUG [ArgsValue.retrieve] {xdm=C:\develop\st_workbench\ElectronicSpeedControl_ESC-G4\ElectronicSpeedControl_ESC-G4.wbdef, updftl=templates/wb_ioc_mc-middleware.ftl, mx_timeout=-1, exp=templates/wb-defines_where_and_what.txt, ioc=C:\develop\st_workbench\ElectronicSpeedControl_ESC-G4\ElectronicSpeedControl_ESC-G4.ioc, pack=assets/MotorControlPack/MotorControl.zip, ftl=templates/wb_ioc_template.ftl}
2023-12-06 02:36:22,331 DEBUG [WB_to_MX.run] Targeted MCU family = G4
2023-12-06 02:36:22,339 DEBUG [WB_to_MX.run] Minimum associated CubeMx to the `6.0.0-a0` targeted MCU family is `G4`
2023-12-06 02:37:29,950 DEBUG [IOCDialogController.lambda$onClose$8] IOCGenerationDialog exists with return code 4

1 ACCEPTED SOLUTION

Accepted Solutions
Gael A
ST Employee

Hello sgordon777,

It seems that depending on the installation mode of CubeMX (for all Windows users or for only one), Workbench may not find the repository. We will work on a fix and you will hear from us as soon as it gets out.
However, this issue seems to be restricted to CubeMX version 6.10, so in the meantime, consider downloading CubeMX v6.9.2 if you can't change the installation method of CubeMX 6.10.

If you agree with my answer, please consider accepting it by clicking on 'Accept as solution'.

Hope this will help,
Gaël A.

View solution in original post

6 REPLIES 6
Tobe
Senior III

LoooL. Welcome to the club. I had the same problem with WB 6.1.0.

Have you installed cubeMX / cubeIDE on another path?

sgordon777
Associate III

Hi, Thanks.

 

I installed STM32CubeMX (V6.1) it where the installer reccomended:

 

C:\Users\XXX\AppData\Local\Programs\STM32CubeMX

 

BTW, STWorkbench is here:

 

C:\Program Files (x86)\STMicroelectronics\MC_SDK_6.2.0\Utilities\PC_Software\STMCWB

Gael A
ST Employee

Hello sgordon777,

It seems that depending on the installation mode of CubeMX (for all Windows users or for only one), Workbench may not find the repository. We will work on a fix and you will hear from us as soon as it gets out.
However, this issue seems to be restricted to CubeMX version 6.10, so in the meantime, consider downloading CubeMX v6.9.2 if you can't change the installation method of CubeMX 6.10.

If you agree with my answer, please consider accepting it by clicking on 'Accept as solution'.

Hope this will help,
Gaël A.

I will install the software wherever it will work(I am the only user of this compter)

Shall I install them both for All or only one?

sgordon777
Associate III

Installing both as "all users" fixed it. I can now build and uplaod the app

No, i got cubeMX 6.8.0. Its the same issue.