Skip to main content
KKIM.6
Senior
January 9, 2025
Solved

Cannot program STM32WB09TEF7TR Microcontroller using STM32cubeIDE

  • January 9, 2025
  • 2 replies
  • 1374 views

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.

 

 

 

 

 

Best answer by STTwo-32

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

 

2 replies

STTwo-32
Technical Moderator
January 9, 2025

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
January 10, 2025

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
Technical Moderator
January 10, 2025

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
January 10, 2025

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
Technical Moderator
January 10, 2025

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.