2024-12-19 03:06 AM - last edited on 2024-12-19 03:10 AM by Andrew Neil
On page 39 of UM3345 (User manual - STM32WB09 Nucleo-64 board (MB1801 and MB2032)):
Note: With the BLE_p2pserver demo programmed in the NUCLEO-WB09KE, the low‑power mode is enabled to
offer the best low‑power performances. Therefore, on STM32WB09KE, the SWD lines are OFF and the tool
cannot connect with the device anymore.
To reconnect or reprogram the Nucleo board, it is necessary to enter the Bootloader mode. To do this, the JP1
jumper on the MB2032 MCU RF board must connect 2 and 1
That is, after programming example code "p2pServer" into WB09KE, SWD interface couldn't be used, programming could only in boot mode through UART.
When I connect CN3 on ST-Link V3SET to [CN3-35] and [CN3-37] on MB1801D, it was prompted in Prog:
13:40:46 : UR connection mode is defined with the HWrst reset mode
13:40:46 : RTS low
13:40:46 : DTR low
13:40:46 : Serial Port COM6 is successfully opened.
13:40:46 : Port configuration: parity = none, baudrate = 9600, data-bit = 8, stop-bit = 1.0, flow-control = off
13:40:50 : Timeout error occured while waiting for acknowledgement.
13:40:50 : Error: Activating device: KO. Please, verify the boot mode configuration and check the serial port configuration. Reset your device then try again...
What's the correct "the boot mode configuration and check the serial port configuration" ?
2024-12-21 05:56 PM
> SWD interface couldn't be used
Why not? What happens when you try? Did you connect JP1 to enter bootloader mode?
If your chip uses low-power mode, SWD will be difficult to connect to while the chip is running. Particular, if you chip goes into a low-power mode within about 0.5 s or less of starting, then the usual SWD debugging won't work. Serial won't work either, as the chip is not in the bootloader.
If you are in the bootloader, both serial and SWD will work.
2024-12-23 02:30 AM - edited 2024-12-23 02:33 AM
JP1 on MB2032: 1-2 - Bootloader
JP1 on MB1801D:5-6 - 5V_INT
How about 5v, Vin or 5V_INT?
2024-12-23 02:32 AM
How about 5v, Vin or 5V_INT?