cancel
Showing results for 
Search instead for 
Did you mean: 

SetupSTM32CubeProgrammer-2.16.0.linux installation on Docker

parshv22
Associate II

Hello ST community

I'm trying to install SetupSTM32CubeProgrammer-2.16.0.linux in docker

But getting error like below

root@1694a12cc06d:/home/app/en.stm32cubeprg-lin-v2-16-0# ./SetupSTM32CubeProgrammer-2.16.0.linux
./SetupSTM32CubeProgrammer-2.16.0.linux
/home/app/en.stm32cubeprg-lin-v2-16-0
chdir /home/app/en.stm32cubeprg-lin-v2-16-0/.
current dir /home/app/en.stm32cubeprg-lin-v2-16-0
SEVERE: com.izforge.izpack.api.exception.IzPackException: Console implementation not found for panel: com.st.CustomPanels.AnalyticsPanels

Thanks in advance.

1 ACCEPTED SOLUTION

Accepted Solutions
Maryem
ST Employee

Hello @parshv22,

 

The feature is now supported in v2.18.0. It is now possible to install STM32CubeProgrammer via CLI (without using the GUI installer). 

You can download it from this Link.

 

Maryem.


In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.

View solution in original post

9 REPLIES 9
Maryem
ST Employee

Hello @parshv22,

 

I apologize for the delayed response.

This error generally occurs when trying to install CubeProgrammer in an environment that lacks a user graphical interface. Unfortunately, it's not possible to install the tool without using the GUI installer or in silent mode at this time. A request has already been submitted to our development team to support this feature. I will keep you updated on any progress.

 

Maryem.


In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
parshv22
Associate II

@Maryem 

Dear Maryem,

Thank you for your response and for clarifying the situation regarding the installation of CubeProgrammer.

I understand that the tool requires a graphical user interface for installation and that the current version does not support silent mode. I appreciate your efforts in requesting this feature from the development team and would be grateful if you could keep me informed about any updates or potential solutions.

If there are any interim steps or alternative methods you could suggest for environments without a GUI, I would be very interested in exploring those options.

Thank you once again for your assistance.

 

 

Thanks & Regards

Parshv Ajmera

Maryem
ST Employee

Hello @parshv22,

 

The feature is now supported in v2.18.0. It is now possible to install STM32CubeProgrammer via CLI (without using the GUI installer). 

You can download it from this Link.

 

Maryem.


In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
parshv22
Associate II

Hello @Maryem 

I apologize for the delayed response.

Thanks for the update.

 

 

Thanks & Regards

Parshv Ajmera

Hello @Maryem

what will be the install command for starting the SetupSTM32CubeProgrammer-2.20.0.linux to install it in cli mode? I am not able to find some documentation to this issue.

CTare.1
Associate II

Same here, I do not figure out how to install the programmer in silent mode on linux station (docker environment).

 

Regards

Amine_Jridi
ST Employee

Hello @CTare.1 @janfrischling9 ,

To install STM32CubeProgrammer from the command line, please refer to Section 1.2.7 of the User Manual, where detailed steps are provided.

Feel free to reach out if you encounter any issues.

 

Thanks,

Amine.


In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
Thanks for the cooperation.

@Amine_Jridi Could you explain how, under linux, docker it should work as of v2.18?
I am currently using the v2.21 zip file for linux (Part of the Dockerfile, note that I have all dependencies for stm32programmer installed as well)

RUN cd /tmp && \
unzip stm32cubeprogrammer.zip && \
chmod +x SetupSTM32CubeProgrammer-*.linux && \
mkdir -p /opt/stm32cubeprogrammer && \
./SetupSTM32CubeProgrammer-*.linux --mode unattended --prefix /opt/stm32cubeprogrammer

This results in the following error:

Command line arguments: --mode unattended --prefix /opt/stm32cubeprogrammer
SEVERE: /opt/stm32cubeprogrammer (Is a directory)
The command '/bin/sh -c cd /tmp && unzip stm32cubeprogrammer.zip && chmod +x SetupSTM32CubeProgrammer-*.linux && mkdir -p /opt/stm32cubeprogrammer && ./SetupSTM32CubeProgrammer-*.linux --mode unattended --prefix /opt/stm32cubeprogrammer' returned a non-zero code: 1

According to the documentation the root folder 'stm32cubeprogrammer should be available, the installer would create /opt/stm32cubeprogrammer/stm32cubeprogr


Hope you can help me with this