2020-11-21 01:09 AM
i am not able to flash the image in stm32mp157c-dk2
Solved! Go to Solution.
2020-11-23 11:53 PM
Hi @MVENN.1 ,
Only the last version 2.6 is supported on Ubuntu 20.04.
And since this version the JRE is bundle inside STM32CubeProgrammer and no longer need extra JRE package.
Olivier
2020-11-21 03:58 AM
There is a detailed description in the wiki. Works fine for me. The latest version 2.6. should also have some improvements.
2020-11-22 11:14 PM
Thanks @KnarfB .
Here is the wiki link https://wiki.st.com/stm32mpu/wiki/Getting_started/STM32MP1_boards/STM32MP157x-DK2/Let%27s_start/Populate_the_target_and_boot_the_image
Regards.
2020-11-23 01:04 AM
Thanks
I can able to flash the image in SD card through Windows only but only two images screenshots getting.
2020-11-23 05:43 AM
when i am launch through the linux its getting errors this please once check.
Error: Unable to access jarfile /STM32CubeProgrammerLauncher
how to i open STM32Cubeprogramming in ubuntu.
2020-11-23 06:10 AM
moveon@moveon-VirtualBox:/usr/local/STMicroelectronics/STM32Cube/STM32CubeProgrammer/bin$ sudo ./STM32CubeProgrammer
Error: Could not find or load main class com.st.app.Main
moveon@moveon-VirtualBox:/usr/local/STMicroelectronics/STM32Cube/STM32CubeProgrammer/bin$
This message i am getting
2020-11-23 01:50 PM
Hi @MVENN.1 ,
Which version of Ubuntu are you using ?
You should have a icon on the desktop.
You may have to right click / select "Allow Launching".
Then double click on this should launch CubeProg.
Could you also try to run the CLI for a check ?
Thanks
Olivier
2020-11-23 08:54 PM
HI Olivier GALLIEN (ST Employee)
I am using Ubuntu 20.04 version.
on the desktop icon is there but it doesn't open when i am click to "Allow Launching"
it shows like
Thanks
2020-11-23 11:06 PM
Hi @MVENN.1 ,
First of all, did you do all these prerequisites:
PC $> sudo apt-get install openjdk-8-jre-headless
PC $> sudo update-alternatives --config java
Select the java-8-openjdk configuration.
PC $> sudo apt purge openjfx
PC $> sudo apt install openjfx=8u161-b12-1ubuntu2 libopenjfx-jni=8u161-b12-1ubuntu2 libopenjfx-java=8u161-b12-1ubuntu2
PC $> sudo apt-mark hold openjfx libopenjfx-jni libopenjfx-java
Then, did you well choose "$HOME/STM32MPU_workspace/STM32MPU-Tools/STM32CubeProgrammer-2.5.0" as path when installing the launcher ? And is it working when running "$HOME/STM32MPU_workspace/STM32MPU-Tools/STM32CubeProgrammer-2.5.0/./STM32CubeProgrammer" ?
Also, does the CLI is working ? (what do you get when running "$HOME/STM32MPU_workspace/STM32MPU-Tools/STM32CubeProgrammer-2.5.0/./STM32_Programmer_CLI")
Armand
2020-11-23 11:49 PM
this information i am getting please check it.
Thanks