cancel
Showing results for 
Search instead for 
Did you mean: 

"unknown protocol c" Java Exception when generating project in MC workbench

nb_coresight
Associate II

Hi,

I'm in charge of the motor driver for a new project we've started working on. I freshly installed MotorControl Workbench, CubeMX and the IDE. After setting all parameters in Workbench and hitting "Generate the project" button I get a Java runtime Exception "unkown protocol c". I've hit a wall trying to fix this as there's almost no info about similar issues on the web.
I tried uninstalling and installing different versions, too.

Using windows 11 pro, 24H2.

 

Any suggestions what might go wrong here? I've tried installing the oracle JDK and using that instead of the openJDK runtime but I couldn't get Workbench to use it (this was the only info I could find).
Thanks for any help on this!

7 REPLIES 7
GMA
ST Employee

Hello @nb_coresight,

If the code generation proceeds to the main.c file, you can use the generated project.

If you agree with the answer, please accept it by clicking on 'Accept as solution'.
Best regards.
GMA

Thank you,

Unfortunately, it doesn't even reach that point. It fails right away, pretty much.

Hello @nb_coresight,

You can try using MCSDK6.4.1 available here.

Refer to the STM32Cube environment chapter of the MCSDK6.3.0 release note (accessible through Workbench tool > About > Documentations) for the STM32CubeMX version (v6.11.0 is expected) and firmware packages to be used.

 

If you agree with the answer, please accept it by clicking on 'Accept as solution'.
Best regards.
GMA

Thank you for your quick answer.

I uninstalled all previous versions of Workbench and MX and downloaded and installed the newest again. I also re-installed the FW package for the G431 and I'm STILL getting this error (see screenshot).

 

Edit: I also tried making new projects, choosing a predefined pack (everything stock from ST)

nb_coresight
Associate II

Anyone else with any suggestions?
Still stuck on this. It HAS to be something my machine, but I have no idea what could cause this.

ASA
ST Employee

Hi @nb_coresight ,

 

this issue has been identified and should be fixed within next release of STM32CubeMx 6.16.0 which will be available in the coming weeks.

Nevertheless, can you please check with the version 6.14.0 and let us know your status.

 

Thanks in advance

Regards

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

Thank you.
I will try as soon as I have the time to.