2022-10-07 12:42 PM
I'm developing my custom board using a STM32WB55VGY6TR microcontroller and I want to use the Nucleo-WB55 developer kit as a programmer for my custom circuit board.
However, I cannot start debugging using STM32cubeIDE. The IDE said that failed to start the GDB server and error in initializing the ST-LINK device.
I agree my chip assembly could have a problem, but I feel that the chip is rigidly bound to the board. So, I am pretty sure there is no miss connection.
I connected the programming Jumper pin of Nucleo-WB55 to the STM32WB55VGY6TR below.
GND => GND of microcontroller (Vss in right-top side)
NRST = NRST of microcontroller pin with a 10k resistor, 100 nF capacitor, and Schottky diode. (the circuit is fully same with reset part of Nucleo-WB55)
SWDIO => PA13 of microcontroller that is described as "SYS_JTMS_SWDIO (no mode)" in the STM32cubeMX
SWCLK => PA14 of microcontroller that is described as "SYS_JTCK_SWCLK (no mode)" in the STM32cubeMX
SWO => PB3 of microcontroller that is described as "SYS_JTDO_SWO (no mode)" in the STM32cubeMX
VDD_MCU => VDD of microcontroller (VDD in right-top side)
In addition, I'm using external 32 MHz for HSE and 32.768 kHz for LSE with two of 10 pF capacitors in each crystal.
I'm not using SMPS, So, VDDSMPS VLXSMPS VFBSMPS is connected to the VDD and VSSSMPS is connected to the main ground.
The supply voltage/ground is 3.3 V which comes from the 3.3 V pin of the Nucleo-WB55 board.
To start programming, I used the bare program which is created by STM32cubeMX without any change after building.
Is there anything I missed to boot the microcontroller?
Solved! Go to Solution.
2022-10-08 01:44 AM
Remove jumpers in level shifter area and ... connect wires to right side pins https://www.st.com/resource/en/user_manual/um2435-bluetooth-low-energy-and-802154-nucleo-pack-based-on-stm32wb-series-microcontrollers-stmicroelectronics.pdf
2022-10-08 01:01 AM
IDE version ? GDB server version? On NUCLEO you disconnect local module from SW ?
2022-10-08 01:09 AM
Thanks for reply.
I missed disconnecting local microcontroller module. How can I disconnect local module in Nucleo-WB55 board?
IDE version is 1.9.0.
GDB version is 10.5.0.202109270023
2022-10-08 01:44 AM
Remove jumpers in level shifter area and ... connect wires to right side pins https://www.st.com/resource/en/user_manual/um2435-bluetooth-low-energy-and-802154-nucleo-pack-based-on-stm32wb-series-microcontrollers-stmicroelectronics.pdf
2022-10-08 02:53 AM
Unfortunately, I've already doing same way but I cannot start GDB server...
I'll try reassemble microcontroller but if it is still same, then it would be really confusing me.
2022-10-08 04:02 AM
Try show photo both board connection, And first test STMCubeProgrammer connect.
2022-10-09 12:31 PM
Thanks for your reply.
It was a solder problem with the microcontroller.
Now I can enter debug mode for the microcontroller.
But during debuging, the IDE said like below.
"Break at address "0x1fff5e8c" with no debug information available, or outside of program code."
Do you know what dose it means?
2022-10-09 12:32 PM
In the disassembly, this problem happens when starting HAL_Init();
2022-10-09 11:27 PM