cancel
Showing results for 
Search instead for 
Did you mean: 

Bricked two STM32WBA55 NUCLEO boards by flashing in CubeIDE (repeteable)

CarlosMartinez
Associate

Hi there,

here what happened with the second board when I repeated the process.

- Generated IOC project with CubeMX for CubeIDE.

- Does not link correctly in CubeIDE, had to add "-z noexecstack"

 

 

 

 

 

 

 

C:/ST/STM32CubeIDE_1.17.0/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.win32_1.0.0.202411081344/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/../../../../arm-none-eabi/bin/ld.exe: warning: C:/ST/STM32CubeIDE_1.17.0/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.win32_1.0.0.202411081344/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/thumb/v8-m.main+fp/hard/crtn.o: missing .note.GNU-stack section implies executable stack

C:/ST/STM32CubeIDE_1.17.0/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.win32_1.0.0.202411081344/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/../../../../arm-none-eabi/bin/ld.exe: NOTE: This behaviour is deprecated and will be removed in a future version of the linker

 

 

 

 

 

 

CarlosMartinez_0-1741083297317.png

- Build runs, tried to run, the programmer says I have to upgrade the firmware of the Nucleo STLINK.

- Open in upgrade mode, runs correctly.

CarlosMartinez_1-1741083361468.png

Back in CubeIDE:

 

 

 

 

 

 

 

STMicroelectronics ST-LINK GDB server. Version 7.10.0
Copyright (c) 2025, 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...
-------------------------------------------------------------------
STM32CubeProgrammer v2.19.0 
-------------------------------------------------------------------



Log output file: C:\Users\u1ds_cm\AppData\Local\Temp\STM32CubeProgrammer_a25184.log
ST-LINK SN : 003800303133511536303739
ST-LINK FW : V3J16M7B5S1
Board : NUCLEO-WBA55CG
Voltage : 3.29V
SWD freq : 8000 KHz
Connect mode: Under Reset
Reset mode : Hardware reset
Device ID : 0x492
Revision ID : Rev B
Device name : STM32WBA52/54/55
Flash size : 1 MBytes
Device type : MCU
Device CPU : Cortex-M33
BL Version : 0xB1

Opening and parsing file: ST-LINK_GDB_server_a25184.srec


Memory Programming ...
File : ST-LINK_GDB_server_a25184.srec
Size : 275.84 KB 
Address : 0x08000000 



Erasing memory corresponding to sector 0:
Erasing internal memory sectors [0 34]
Download in Progress:


File download complete
Time elapsed during download operation: 00:00:02.475



Verifying ...




Download verified successfully 


Target is not responding, retrying...
Target is not responding, retrying...
Target is not responding, retrying...
Target is not responding, retrying...
Shutting down...
Target is not responding, retrying...
Target is not responding, retrying...
Target is not responding, retrying...
Target is not responding, retrying...
Target is not responding, retrying...
Target is not responding, retrying...
Target is not responding, retrying...
Target is not responding, retrying...
Target is not responding, retrying...

 

 

 

 

 

 

 

Back in Programmer,

 

CarlosMartinez_2-1741083431611.png

For the record, I was able to connect before the upgrade + flash.

 

The upgrade mode seems to work still.

CarlosMartinez_3-1741083439382.png

 

Now both boards show all LEDs on continuously.

When I open the simulated USB drive,

 

CarlosMartinez_0-1741083863500.png

 

 

 

Any help?

Thanks in advance.

 

CubeMX: 6.14

CubeIDE 1.17

CubeProgrammer: 2.19

CubeCLT: 1.18

 

0 REPLIES 0