Skip to main content
dam74
Associate II
January 24, 2025
Solved

STM32CubeProgrammer fatal Java error with LSM100A (STM32WLE5CC) and ST-Link V2

  • January 24, 2025
  • 2 replies
  • 917 views

Hello,

i try to program LSM100A ( STM32WLE5CC ) .

i can connect but can't program an elf file : error fail to erase memory, then cube programmer crashed.

thank you for support

logs :

#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x000078ae2276d917, pid=43070, tid=0x000078ae31bff6c0
#
# JRE version: OpenJDK Runtime Environment (8.0_382-b06) (build 1.8.0_382-b06)
# Java VM: OpenJDK 64-Bit Server VM (25.382-b06 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C [libCubeProgrammer_API.so+0x16d917] checkDeviceConnection+0xa7
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /home/dam/STM32CubeProgrammer/bin/hs_err_pid43070.log
#
# If you would like to submit a bug report, please visit:
# https://bell-sw.com/support
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
STM32CubeProgrammer/bin/STM32CubeProgrammer : ligne 5 : 43070 Abandon (core dumped) GDK_BACKEND=x11 "$DIR"/jre/bin/java -Djdk.gtk.version=2 -jar "$DIR/STM32CubeProgrammerLauncher" 2> /dev/null

 

 

Capture d’écran du 2025-01-24 04-58-47.png

Capture d’écran du 2025-01-24 05-08-30.png

Best answer by STTwo-32

It semes that you are using a clone ST-LINK V2, so we can’t guarantee that it will work fine. Please ensure that you are using a genuine ST-LINK V2 to guarantee that it will work fine. More details are available in this article.

Best Regards.

STTwo-32

 

2 replies

STTwo-32
Technical Moderator
January 25, 2025

Hello @dam74 

What is the ST-LINK that you are using and après you using the last cube programmer version V2.18.0. also, you can contact the înternal support of ours partner that works on this product.

Best Regards.

STTwo-32

dam74
dam74Author
Associate II
January 25, 2025

I'm using V2.18.0.

Here's the STlink I'm using with STM32F103 also.

signal-2025-01-25-124358.jpeg

STTwo-32
STTwo-32Best answer
Technical Moderator
January 25, 2025

It semes that you are using a clone ST-LINK V2, so we can’t guarantee that it will work fine. Please ensure that you are using a genuine ST-LINK V2 to guarantee that it will work fine. More details are available in this article.

Best Regards.

STTwo-32

 

dam74
dam74Author
Associate II
January 27, 2025

thank you for your reply.

i test with a stlink v3 minie, it's all fine !