cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot program STM32WB09TEF7TR Microcontroller using STM32cubeIDE

KKIM.6
Senior II

Hi,  I'm developing my custom board using STM32WB09TEF7TR Microcontroller but have a problem during Programming using STM32cubeIDE.

 

I can access the memory of this microcontroller using STM32CubeProgrammer through SWD protocol.

However, once I try to import my code to the microcontroller using STM32CubeIDE, the importing fails with error message below.

-----------------------------------------------------------------------

Break at address "0x100017d0" with no debug information available, or outside of program code.

 

Log output file: C:\Users\GGKIM\AppData\Local\Temp\STM32CubeProgrammer_a31344.log

ST-LINK SN : 0037002F3532510631333430

ST-LINK FW : V3J15M7B5S1

Board : STLINK-V3SET

Voltage : 3.30V

Error: ST-LINK error (DEV_TARGET_RESET_ERR)

2nd connect tentative with frequency (8MHz)

ST-LINK SN : 0037002F3532510631333430

ST-LINK FW : V3J15M7B5S1

Board : STLINK-V3SET

Voltage : 3.30V

Error: ST-LINK error (DEV_TARGET_RESET_ERR)

Encountered Error when opening C:\ST\STM32CubeIDE_1.17.0\STM32CubeIDE\plugins\com.st.stm32cube.ide.mcu.externaltools.cubeprogrammer.win32_2.2.0.202409170845\tools\bin\STM32_Programmer_CLI.exe

Error in STM32CubeProgrammer

Shutting down...

Exit.

----------------------------------------------------

 

Do you have any idea why it happened?

I also checked the option byte of this microcontroller. There is only one option byte, RDP. it was FF which means that anybody can do programing.

 

In addition, I want to try to import my code using the STM32cubeProgrammer by making a bin file from IDE. However, I don't know the starting address.

Does anybody know the starting address for manually importing a code using cubeProgrammer?

 

FYI, I can see the memory address from 0x10040000 to 0x100BF800, which means 0x100017d0 is outside of memory.

 

 

 

 

 

2 REPLIES 2
STTwo-32
ST Employee

Hello @KKIM.6 

This seams to be the same behavior in this post. I think that can solve your issue.

 

Best Regards.

STTwo-32

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 your reply. 

I saw the previous post that mentioned soldering the SB30 pin of the developer board.

 

However, I'm using ST-LINK V3SET to debug my circuit board.

So, I don't know what pin has the same function as SB30.

 

Do you have any idea on it?