Skip to main content
KKIM.6
Senior
Jan 9, 2025 5:48 PM UTC
Solved

Cannot program STM32WB09TEF7TR Microcontroller using STM32cubeIDE

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.

 

 

 

 

 

This topic has been closed for replies.
STTwo-32
STTwo-32Best answer
ST Technical Moderator
Jan 10, 2025 4:11 PM UTC

This is the same behavior mentioned on the previous link. The RSTN pin should be linked to the NRST pin of your ST-LINK.

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.

8 replies

STTwo-32
ST Technical Moderator
Jan 9, 2025 8:28 PM UTC

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.
KKIM.6
KKIM.6Author
Senior
Jan 10, 2025 2:44 AM UTC

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?

STTwo-32
ST Technical Moderator
Jan 10, 2025 12:04 PM UTC

Could you please share the schematics of your board and the connection with your ST-LINK.

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.
KKIM.6
KKIM.6Author
Senior
Jan 10, 2025 3:39 PM UTC

This is all I can share. Unfortunately, I'm not suing RST (B5) pin of this microcontroller.

KKIM6_0-1736523432937.png

KKIM6_1-1736523518167.png

 

STTwo-32
STTwo-32Best answer
ST Technical Moderator
Jan 10, 2025 4:11 PM UTC

This is the same behavior mentioned on the previous link. The RSTN pin should be linked to the NRST pin of your ST-LINK.

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.