cancel
Showing results for 
Search instead for 
Did you mean: 

Can't flash STM32H735IG discovery kit using S32CubeIDE

Elimathew72
Associate II

Hello all,

We are trying to evaluate the STM32H735IG for our product. We bought the off-the-shelf dev kit and tried flashing it using S32CubeIDE, but encountered an error. The weird thing is, I can use S32 programmer to read flash, so the ST-Link seems to be up-to-date. I feel there is something wrong with S32CubeIDE. Can you please help.

All the versions are below and also some screenshots to assist help debugging

STM32CubeIDE


Version: 1.14.0
Build: 19471_20231121_1200 (UTC)
OS: Linux, v.6.5.0-27-generic, x86_64 / gtk 3.24.33
Java vendor: Eclipse Adoptium
Java runtime version: 17.0.8.1+1
Java version: 17.0.8.1

Logs in the error window

Error in final launch sequence:

Failed to execute MI command:
load /home/STM32CubeIDE/workspace_1.14.0/BSP/STM32CubeIDE/Debug/BSP.elf

Error message from debugger back end:
Load failed
Failed to execute MI command:
load /home/STM32CubeIDE/workspace_1.14.0/BSP/STM32CubeIDE/Debug/BSP.elf

Error message from debugger back end:
Load failed
Failed to execute MI command:
load /home/STM32CubeIDE/workspace_1.14.0/BSP/STM32CubeIDE/Debug/BSP.elf

Error message from debugger back end:
Load failed
Load failed

 

Logs in the console 

 

STMicroelectronics ST-LINK GDB server. Version 7.5.0

Copyright (c) 2023, STMicroelectronics. All rights reserved.

 

Starting server with the following options:

Persistent Mode : Disabled

Logging Level : 1

Listen Port Number : 61234

Status Refresh Delay : 15s

Verbose Mode : Disabled

SWD Debug : Enabled

InitWhile : Enabled

 

Waiting for debugger connection...

Debugger connected

Waiting for debugger connection...

Debugger connected

Waiting for debugger connection...

Shutting down...

Exit.

 

 

 

This discussion is locked. Please start a new topic to ask your question.
10 REPLIES 10

Also tried it on MAC OS still the same any opinions @Rim LANDOLSI  , I saw your post https://community.st.com/t5/stm32cubeide-mcus/why-does-elf-load-fails-when-using-stm32cubeide/td-p/77016 

I see the gdbserver has the same error, also I am not modifying anything from the sample BSP example which comes out of the box.

[2.277] write(): <11> Tx: $E31#a9
[2.277] read(): <11> Rx: $vKill;a410#33
[2.277] handlePacket(): Hidden/Unsupported v-command 'vKill', see RSP for details
[2.277] write(): <11> Tx: $#00
[2.278] read(): <11> Rx: $k#6b

Announcement

We’re moving the ST Community to a new platform to give you a better and more reliable community experience.