2025-05-07 6:15 AM - last edited on 2025-05-08 6:26 AM by TDK
Hello,
I'm encountering the same issue, and i started debugging the embedded bootloader protocol manually.
Or i'm starting getting crazy, but what specified in AN3155 is not respecting what i'm having on the serial port.
I'm using NUCLEO-WB09KE(MB2032B) mounted on MB1801D.
When moving JP1[MB2032B] to BOOT mode, SWD is not available.I'm only be able to get on bootloader mode (not with CubeProg) but as below.
Problem 1 - GetVersionComand (documentation mismatch)
I sucessfully entered in BL (Ack = 0x79), however GetVersion command is totally ignored.
I then tested with another command to see if the communication with embedded BL works.
Something worked but not as expected.
Command 0x02+0xFD should reply with ACK(0x79) + N=NumberOfByte + PID. I did not see 0x79 as ACK nor the number of bytes i should get: i just got 0xD0 and 0x94.
I can't find what is the DEV_ID of STM32WB09KEx, so i can't verify if what'i'm having is really the DEV_ID or something else. Anyway the ACK is still missing.
What's happening there? I get into this because seems the SWD port is disabled due to low-power firmware pre-loaded on the board, so i tried to erase the firmware by accessing the rommed BL. As i was not able to get trough STM32PROG i decided to go "manual way".
Unfortunately after a mass erase i can't access anyway.
As i found mismatch command & replies referred to Uart BL specs, i have doubt i really erased the flash.
Anyone have some direction to point me out?
Thanks
Davide
Solved! Go to Solution.
2025-05-08 9:15 AM
Hello @Davide Dalfra
I've tested using the STM32CubeProgrammer V2.19.0 and the NUCLEO-WB09KE. I've set the JP1 of the MB2032 to bootloader mode, connected the board throw the STM32CubeProgrammer, set the connection parameters as follow (with no parity):
Finally, click on connect and on the HW reset button of the board. Everything works fine for me:
16:30:03:448 : UR connection mode is defined with the HWrst reset mode
16:30:03:452 : RTS low
16:30:03:453 : DTR low
16:30:03:462 : Serial Port COM29 is successfully opened.
16:30:03:462 : Port configuration: parity = none, baudrate = 115200, data-bit = 8, stop-bit = 1.0, flow-control = off
16:30:03:463 : No Init bits value is : 0
16:30:03:463 : Sending init command:
16:30:03:463 : #byte 0x7F sent successfully to target
16:30:07:463 : Wait ends after 2 loop, dataready = 0, delay = 4000
16:30:07:465 : Timeout error occured while waiting for acknowledgement.
16:30:07:465 : No response from target received
16:30:07:465 : Retrying UART init connection...
16:30:07:466 : #byte 0x7F sent successfully to target
16:30:07:468 : Wait ends after 1 loop, dataready = 1, delay = 0
16:30:07:468 : #ack Received response from target: 0x79
16:30:07:468 : Activating device: OK
16:30:07:469 : Board : --
16:30:07:469 : Sending GetID command and its XOR:
16:30:07:469 : #byte 0x02 sent successfully to target
16:30:07:469 : #byte 0xFD sent successfully to target
16:30:07:471 : Wait ends after 1 loop, dataready = 1, delay = 0
16:30:07:471 : #ack Received response from target: 0x79
16:30:07:472 : Received 4 data bytes from target : 0x03000106
16:30:07:472 : Chip ID: 0x32
16:30:07:472 : Sending Get command and its XOR:
16:30:07:473 : #byte 0x00 sent successfully to target
16:30:07:473 : #byte 0xFF sent successfully to target
16:30:07:473 : #ack Received response from target: 0x79
16:30:07:475 : Received 3 data bytes from target : 0x790901
16:30:07:475 : size of bytes in the response: 9
16:30:07:476 : Received 9 data bytes from target
16:30:07:477 : Full received response: 790901000102112131438292
16:30:07:477 : BootLoader protocol version: 1.0
16:30:07:477 : #byte 0x11 sent successfully to target
16:30:07:478 : #byte 0xEE sent successfully to target
16:30:07:570 : #data sent successfully to target: 0x1004000014
16:30:07:570 : #byte 0x00 sent successfully to target
16:30:07:571 : #byte 0xFF sent successfully to target
16:30:07:573 : Sending GetID command and its XOR:
16:30:07:573 : #byte 0x02 sent successfully to target
16:30:07:573 : #byte 0xFD sent successfully to target
16:30:07:573 : #ack Received response from target: 0x00
16:30:07:575 : Received 5 data bytes from target : 0x7903000106
16:30:07:579 : #byte 0x11 sent successfully to target
16:30:07:580 : #byte 0xEE sent successfully to target
16:30:07:679 : #data sent successfully to target: 0x1004000014
16:30:07:679 : #byte 0x00 sent successfully to target
16:30:07:682 : #byte 0xFF sent successfully to target
16:30:07:685 : Sending GetID command and its XOR:
16:30:07:685 : #byte 0x02 sent successfully to target
16:30:07:685 : #byte 0xFD sent successfully to target
16:30:07:685 : Wait ends after 1 loop, dataready = 1, delay = 0
16:30:07:685 : #ack Received response from target: 0x79
16:30:07:687 : Received 5 data bytes from target : 0x030001061f
16:30:09:894 : Sending GetID command and its XOR:
16:30:09:894 : #byte 0x02 sent successfully to target
16:30:09:894 : bytesToWrite before send = 1
16:30:09:894 : bFlushRet = 1, bytesToWrite after flush() = 1
16:30:09:894 : waitForBytesWritten Error : The wait operation timed out.
16:30:09:894 : #byte 0xFD sent successfully to target
16:30:09:895 : Wait ends after 1 loop, dataready = 1, delay = 0
16:30:09:895 : #ack Received response from target: 0x79
16:30:09:895 : Received 5 data bytes from target : 0x030001061f
16:30:09:895 : UPLOADING OPTION BYTES DATA ...
16:30:09:896 : Bank : 0x00
16:30:09:896 : Address : 0x10040000
16:30:09:896 : Size : 16 Bytes
16:30:09:896 : Sending Read command and its XOR:
16:30:09:896 : #byte 0x11 sent successfully to target
16:30:09:897 : #byte 0xEE sent successfully to target
16:30:09:897 : Wait ends after 1 loop, dataready = 1, delay = 0
16:30:09:897 : #ack Received response from target: 0x79
16:30:09:899 : Sending Read address and its checksum:
16:30:09:899 : #data sent successfully to target: 0x1004000014
16:30:09:899 : Wait ends after 1 loop, dataready = 1, delay = 0
16:30:09:899 : #ack Received response from target: 0x79
16:30:09:900 : Sending number of bytes to be read - 1 and its checksum:
16:30:09:900 : #data sent successfully to target: 0x0ff0
16:30:09:900 : Wait ends after 1 loop, dataready = 1, delay = 0
16:30:09:900 : #ack Received response from target: 0x79
16:30:09:900 : Received 16 data bytes from target
16:30:09:902 : UPLOADING OPTION BYTES DATA ...
16:30:09:902 : Bank : 0x00
16:30:09:902 : Address : 0x10040000
16:30:09:902 : Size : 16 Bytes
16:30:09:902 : Sending Read command and its XOR:
16:30:09:902 : #byte 0x11 sent successfully to target
16:30:09:903 : #byte 0xEE sent successfully to target
16:30:09:903 : Wait ends after 1 loop, dataready = 1, delay = 0
16:30:09:903 : #ack Received response from target: 0x79
16:30:09:903 : Sending Read address and its checksum:
16:30:09:903 : #data sent successfully to target: 0x1004000014
16:30:09:903 : Wait ends after 1 loop, dataready = 1, delay = 0
16:30:09:903 : #ack Received response from target: 0x79
16:30:09:903 : Sending number of bytes to be read - 1 and its checksum:
16:30:09:903 : #data sent successfully to target: 0x0ff0
16:30:09:904 : Wait ends after 1 loop, dataready = 1, delay = 0
16:30:09:904 : #ack Received response from target: 0x79
16:30:09:904 : Received 16 data bytes from target
16:30:09:904 : Sending GetID command and its XOR:
16:30:09:904 : #byte 0x02 sent successfully to target
16:30:09:904 : bytesToWrite before send = 1
16:30:09:904 : bFlushRet = 1, bytesToWrite after flush() = 1
16:30:09:904 : waitForBytesWritten Error : The wait operation timed out.
16:30:09:905 : #byte 0xFD sent successfully to target
16:30:09:905 : Wait ends after 1 loop, dataready = 1, delay = 0
16:30:09:905 : #ack Received response from target: 0x79
16:30:09:905 : Received 5 data bytes from target : 0x030001061f
16:30:09:905 : Sending GetID command and its XOR:
16:30:09:906 : #byte 0x02 sent successfully to target
16:30:09:906 : #byte 0xFD sent successfully to target
16:30:09:906 : Wait ends after 1 loop, dataready = 1, delay = 0
16:30:09:906 : #ack Received response from target: 0x79
16:30:09:907 : Received 5 data bytes from target : 0x030001061f
16:30:09:907 : UPLOADING ...
16:30:09:907 : Size : 1024 Bytes
16:30:09:907 : Address : 0x10040000
16:30:09:907 : Read progress:
16:30:09:908 : Sending Read command and its XOR:
16:30:09:908 : #byte 0x11 sent successfully to target
16:30:09:908 : bytesToWrite before send = 1
16:30:09:909 : bFlushRet = 1, bytesToWrite after flush() = 1
16:30:10:853 : waitForBytesWritten Error : The wait operation timed out.
16:30:10:874 : #byte 0xEE sent successfully to target
16:30:10:874 : Wait ends after 1 loop, dataready = 1, delay = 0
16:30:10:874 : #ack Received response from target: 0x79
16:30:10:881 : Sending Read address and its checksum:
16:30:10:881 : #data sent successfully to target: 0x1004000014
16:30:10:884 : Wait ends after 1 loop, dataready = 1, delay = 0
16:30:10:884 : #ack Received response from target: 0x79
16:30:10:885 : Sending number of bytes to be read - 1 and its checksum:
16:30:10:885 : #data sent successfully to target: 0xff00
16:30:10:885 : Wait ends after 1 loop, dataready = 1, delay = 0
16:30:10:885 : #ack Received response from target: 0x79
16:30:10:906 : Received 256 data bytes from target
16:30:10:906 : Sending Read command and its XOR:
16:30:10:906 : #byte 0x11 sent successfully to target
16:30:10:906 : #byte 0xEE sent successfully to target
16:30:10:906 : Wait ends after 1 loop, dataready = 1, delay = 0
16:30:10:907 : #ack Received response from target: 0x79
16:30:10:907 : Sending Read address and its checksum:
16:30:10:907 : #data sent successfully to target: 0x1004010015
16:30:10:907 : Wait ends after 1 loop, dataready = 1, delay = 0
16:30:10:907 : #ack Received response from target: 0x79
16:30:10:907 : Sending number of bytes to be read - 1 and its checksum:
16:30:10:907 : #data sent successfully to target: 0xff00
16:30:10:909 : Wait ends after 1 loop, dataready = 1, delay = 0
16:30:10:910 : #ack Received response from target: 0x79
16:30:10:940 : Received 256 data bytes from target
16:30:10:940 : Sending Read command and its XOR:
16:30:10:941 : #byte 0x11 sent successfully to target
16:30:10:941 : #byte 0xEE sent successfully to target
16:30:10:941 : Wait ends after 1 loop, dataready = 1, delay = 0
16:30:10:941 : #ack Received response from target: 0x79
16:30:10:941 : Sending Read address and its checksum:
16:30:10:941 : #data sent successfully to target: 0x1004020016
16:30:10:941 : Wait ends after 1 loop, dataready = 1, delay = 0
16:30:10:941 : #ack Received response from target: 0x79
16:30:10:941 : Sending number of bytes to be read - 1 and its checksum:
16:30:10:942 : #data sent successfully to target: 0xff00
16:30:10:942 : Wait ends after 1 loop, dataready = 1, delay = 0
16:30:10:942 : #ack Received response from target: 0x79
16:30:10:986 : Received 256 data bytes from target
16:30:10:987 : Sending Read command and its XOR:
16:30:10:987 : #byte 0x11 sent successfully to target
16:30:10:987 : #byte 0xEE sent successfully to target
16:30:10:987 : Wait ends after 1 loop, dataready = 1, delay = 0
16:30:10:987 : #ack Received response from target: 0x79
16:30:10:987 : Sending Read address and its checksum:
16:30:10:987 : #data sent successfully to target: 0x1004030017
16:30:10:987 : Wait ends after 1 loop, dataready = 1, delay = 0
16:30:10:987 : #ack Received response from target: 0x79
16:30:10:987 : Sending number of bytes to be read - 1 and its checksum:
16:30:10:987 : #data sent successfully to target: 0xff00
16:30:10:987 : Wait ends after 1 loop, dataready = 1, delay = 0
16:30:10:988 : #ack Received response from target: 0x79
16:30:10:988 : Received 256 data bytes from target
16:30:10:988 : Data read successfully
16:30:10:988 : Time elapsed during the read operation is: 00:00:01.136
16:30:12:007 : Sending GetID command and its XOR:
16:30:12:008 : #byte 0x02 sent successfully to target
16:30:12:008 : bytesToWrite before send = 1
16:30:12:008 : bFlushRet = 1, bytesToWrite after flush() = 1
16:30:12:095 : waitForBytesWritten Error : The wait operation timed out.
16:30:12:095 : #byte 0xFD sent successfully to target
16:30:12:096 : Wait ends after 1 loop, dataready = 1, delay = 0
16:30:12:096 : #ack Received response from target: 0x79
16:30:12:096 : Received 5 data bytes from target : 0x030001061f
16:30:12:096 : Sending GetID command and its XOR:
16:30:12:096 : #byte 0x02 sent successfully to target
16:30:12:096 : #byte 0xFD sent successfully to target
16:30:12:096 : Wait ends after 1 loop, dataready = 1, delay = 0
16:30:12:096 : #ack Received response from target: 0x79
16:30:12:097 : Received 5 data bytes from target : 0x030001061f
16:30:13:008 : Sending GetID command and its XOR:
16:30:13:008 : #byte 0x02 sent successfully to target
16:30:13:014 : #byte 0xFD sent successfully to target
16:30:13:014 : Wait ends after 1 loop, dataready = 1, delay = 0
16:30:13:014 : #ack Received response from target: 0x79
16:30:13:014 : Received 5 data bytes from target : 0x030001061f
16:30:13:015 : Sending GetID command and its XOR:
16:30:13:015 : #byte 0x02 sent successfully to target
16:30:13:015 : #byte 0xFD sent successfully to target
16:30:13:015 : Wait ends after 1 loop, dataready = 1, delay = 0
16:30:13:016 : #ack Received response from target: 0x79
16:30:13:016 : Received 5 data bytes from target : 0x030001061f
16:30:14:014 : Sending GetID command and its XOR:
16:30:14:015 : #byte 0x02 sent successfully to target
16:30:14:021 : #byte 0xFD sent successfully to target
16:30:14:021 : Wait ends after 1 loop, dataready = 1, delay = 0
16:30:14:022 : #ack Received response from target: 0x79
16:30:14:024 : Received 5 data bytes from target : 0x030001061f
16:30:14:024 : Sending GetID command and its XOR:
16:30:14:024 : #byte 0x02 sent successfully to target
16:30:14:024 : #byte 0xFD sent successfully to target
16:30:14:024 : Wait ends after 1 loop, dataready = 1, delay = 0
16:30:14:025 : #ack Received response from target: 0x79
16:30:14:025 : Received 5 data bytes from target : 0x030001061f
16:30:15:020 : Sending GetID command and its XOR:
16:30:15:020 : #byte 0x02 sent successfully to target
16:30:15:025 : #byte 0xFD sent successfully to target
16:30:15:029 : Wait ends after 1 loop, dataready = 1, delay = 0
16:30:15:029 : #ack Received response from target: 0x79
16:30:15:030 : Received 5 data bytes from target : 0x030001061f
16:30:15:030 : Sending GetID command and its XOR:
16:30:15:030 : #byte 0x02 sent successfully to target
16:30:15:030 : #byte 0xFD sent successfully to target
16:30:15:030 : Wait ends after 1 loop, dataready = 1, delay = 0
16:30:15:030 : #ack Received response from target: 0x79
16:30:15:033 : Received 5 data bytes from target : 0x030001061f
16:30:16:026 : Sending GetID command and its XOR:
16:30:16:027 : #byte 0x02 sent successfully to target
16:30:16:036 : #byte 0xFD sent successfully to target
16:30:16:037 : Wait ends after 1 loop, dataready = 1, delay = 0
16:30:16:037 : #ack Received response from target: 0x79
16:30:16:039 : Received 5 data bytes from target : 0x030001061f
16:30:16:040 : Sending GetID command and its XOR:
16:30:16:040 : #byte 0x02 sent successfully to target
16:30:16:040 : #byte 0xFD sent successfully to target
16:30:16:040 : Wait ends after 1 loop, dataready = 1, delay = 0
16:30:16:040 : #ack Received response from target: 0x79
16:30:16:041 : Received 5 data bytes from target : 0x030001061f
16:30:17:033 : Sending GetID command and its XOR:
16:30:17:033 : #byte 0x02 sent successfully to target
16:30:17:036 : #byte 0xFD sent successfully to target
16:30:17:038 : Wait ends after 1 loop, dataready = 1, delay = 0
16:30:17:038 : #ack Received response from target: 0x79
16:30:17:040 : Received 5 data bytes from target : 0x030001061f
16:30:17:040 : Sending GetID command and its XOR:
16:30:17:040 : #byte 0x02 sent successfully to target
16:30:17:041 : #byte 0xFD sent successfully to target
16:30:17:044 : Wait ends after 1 loop, dataready = 1, delay = 0
16:30:17:044 : #ack Received response from target: 0x79
16:30:17:050 : Received 5 data bytes from target : 0x030001061f
16:30:18:039 : Sending GetID command and its XOR:
16:30:18:040 : #byte 0x02 sent successfully to target
16:30:18:043 : #byte 0xFD sent successfully to target
16:30:18:046 : Wait ends after 1 loop, dataready = 1, delay = 0
16:30:18:047 : #ack Received response from target: 0x79
16:30:18:047 : Received 5 data bytes from target : 0x030001061f
16:30:18:047 : Sending GetID command and its XOR:
16:30:18:047 : #byte 0x02 sent successfully to target
16:30:18:047 : #byte 0xFD sent successfully to target
16:30:18:048 : #ack Received response from target: 0x79
16:30:18:051 : Received 5 data bytes from target : 0x7903000106
16:30:19:045 : Sending GetID command and its XOR:
16:30:19:045 : #byte 0x02 sent successfully to target
16:30:19:051 : #byte 0xFD sent successfully to target
16:30:19:054 : Wait ends after 1 loop, dataready = 1, delay = 0
16:30:19:054 : #ack Received response from target: 0x79
16:30:19:054 : Received 5 data bytes from target : 0x030001061f
16:30:19:054 : Sending GetID command and its XOR:
16:30:19:054 : #byte 0x02 sent successfully to target
16:30:19:055 : #byte 0xFD sent successfully to target
16:30:19:055 : Wait ends after 1 loop, dataready = 1, delay = 0
16:30:19:055 : #ack Received response from target: 0x79
16:30:19:056 : Received 5 data bytes from target : 0x030001061f
16:30:20:051 : Sending GetID command and its XOR:
16:30:20:052 : #byte 0x02 sent successfully to target
16:30:20:058 : #byte 0xFD sent successfully to target
16:30:20:062 : Wait ends after 1 loop, dataready = 1, delay = 0
16:30:20:062 : #ack Received response from target: 0x79
16:30:20:062 : Received 5 data bytes from target : 0x030001061f
16:30:20:062 : Sending GetID command and its XOR:
16:30:20:062 : #byte 0x02 sent successfully to target
16:30:20:062 : #byte 0xFD sent successfully to target
16:30:20:062 : Wait ends after 1 loop, dataready = 1, delay = 0
16:30:20:063 : #ack Received response from target: 0x79
16:30:20:063 : Received 5 data bytes from target : 0x030001061f
16:30:21:059 : Sending GetID command and its XOR:
16:30:21:059 : #byte 0x02 sent successfully to target
16:30:21:062 : #byte 0xFD sent successfully to target
16:30:21:067 : Wait ends after 1 loop, dataready = 1, delay = 0
16:30:21:067 : #ack Received response from target: 0x79
16:30:21:067 : Received 5 data bytes from target : 0x030001061f
16:30:21:067 : Sending GetID command and its XOR:
16:30:21:067 : #byte 0x02 sent successfully to target
16:30:21:068 : #byte 0xFD sent successfully to target
16:30:21:070 : Wait ends after 1 loop, dataready = 1, delay = 0
16:30:21:070 : #ack Received response from target: 0x79
16:30:21:070 : Received 5 data bytes from target : 0x030001061f
16:30:22:065 : Sending GetID command and its XOR:
16:30:22:066 : #byte 0x02 sent successfully to target
16:30:22:071 : #byte 0xFD sent successfully to target
16:30:22:075 : Wait ends after 1 loop, dataready = 1, delay = 0
16:30:22:076 : #ack Received response from target: 0x79
16:30:22:076 : Received 5 data bytes from target : 0x030001061f
16:30:22:076 : Sending GetID command and its XOR:
16:30:22:076 : #byte 0x02 sent successfully to target
16:30:22:076 : #byte 0xFD sent successfully to target
16:30:22:077 : Wait ends after 1 loop, dataready = 1, delay = 0
16:30:22:077 : #ack Received response from target: 0x79
16:30:22:077 : Received 5 data bytes from target : 0x030001061f
16:30:23:073 : Sending GetID command and its XOR:
16:30:23:073 : #byte 0x02 sent successfully to target
16:30:23:073 : #byte 0xFD sent successfully to target
16:30:23:073 : Wait ends after 1 loop, dataready = 1, delay = 0
16:30:23:073 : #ack Received response from target: 0x79
16:30:23:089 : Received 5 data bytes from target : 0x030001061f
16:30:23:090 : Sending GetID command and its XOR:
16:30:23:090 : #byte 0x02 sent successfully to target
16:30:23:090 : #byte 0xFD sent successfully to target
16:30:23:090 : Wait ends after 1 loop, dataready = 1, delay = 0
16:30:23:090 : #ack Received response from target: 0x79
16:30:23:090 : Received 5 data bytes from target : 0x030001061f
16:30:24:079 : Sending GetID command and its XOR:
16:30:24:080 : #byte 0x02 sent successfully to target
16:30:24:080 : #byte 0xFD sent successfully to target
16:30:24:085 : Wait ends after 1 loop, dataready = 1, delay = 0
16:30:24:085 : #ack Received response from target: 0x79
16:30:24:091 : Received 5 data bytes from target : 0x030001061f
16:30:24:091 : Sending GetID command and its XOR:
16:30:24:092 : #byte 0x02 sent successfully to target
16:30:24:092 : #byte 0xFD sent successfully to target
16:30:24:092 : Wait ends after 1 loop, dataready = 1, delay = 0
16:30:24:092 : #ack Received response from target: 0x79
16:30:24:092 : Received 5 data bytes from target : 0x030001061f
16:30:24:671 : UART PORT CLOSE
16:30:24:684 : Disconnected from device.
I think the problem on your side is to use the even parity.
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.
2025-05-07 8:05 AM
Even parity?
STM32CubeProgrammer can access the bootloader over UART, I'd try that.
2025-05-07 11:01 PM
Yes even parity and with STM32CubeProgrammer first.
I go "manual" because i was getting peanuts from Cube so i wanted to understand.
By enablihng Verbosity level 3 on STM32CubeProgrammer i'm getting the same results (ack missing).
07:59:37:428 : UR connection mode is defined with the HWrst reset mode
07:59:37:431 : RTS low
07:59:37:431 : DTR low
07:59:37:438 : Serial Port COM3 is successfully opened.
07:59:37:438 : Port configuration: parity = even, baudrate = 115200, data-bit = 8, stop-bit = 1.0, flow-control = off
07:59:37:438 : No Init bits value is : 0
07:59:37:438 : Sending init command:
07:59:37:438 : byte 0x7F sent successfully to target
07:59:37:439 : Wait ends after 1 loop, dataready = 1, delay = 0
07:59:37:439 : Received response from target: 0x79
07:59:37:448 : Activating device: OK
07:59:37:448 : Board : --
07:59:37:448 : Sending GetID command and its XOR:
07:59:37:449 : byte 0x02 sent successfully to target
07:59:37:449 : byte 0xFD sent successfully to target
07:59:37:452 : Wait ends after 1 loop, dataready = 1, delay = 0
07:59:37:452 : Received response from target: 0xd0
07:59:37:452 : Error: GETID command not acknowledged!
07:59:37:552 : Reemission of GetID command
07:59:37:552 : Sending GetID command and its XOR:
07:59:37:553 : byte 0x02 sent successfully to target
07:59:37:553 : byte 0xFD sent successfully to target
07:59:37:553 : Received response from target: 0x94
07:59:37:553 : Error: GETID command not acknowledged!
07:59:37:652 : Reemission of GetID command
07:59:37:652 : Sending GetID command and its XOR:
07:59:37:652 : byte 0x02 sent successfully to target
07:59:37:652 : byte 0xFD sent successfully to target
07:59:37:653 : Received response from target: 0xd0
07:59:37:653 : Error: GETID command not acknowledged!
07:59:37:838 : Chip ID: 0x0
07:59:37:839 : UART PORT CLOSE
07:59:37:840 : Disconnected from device.
07:59:37:840 : RTS low
07:59:37:840 : DTR low
07:59:37:845 : Serial Port COM3 is successfully opened.
07:59:37:845 : Port configuration: parity = even, baudrate = 115200, data-bit = 8, stop-bit = 1.0, flow-control = off
07:59:37:845 : No Init bits value is : 0
07:59:37:845 : Sending init command:
07:59:37:846 : byte 0x7F sent successfully to target
07:59:41:845 : Wait ends after 2 loop, dataready = 0, delay = 4000
07:59:41:845 : Timeout error occured while waiting for acknowledgement.
07:59:41:845 : No response from target received
07:59:41:845 : Retrying UART init connection...
07:59:41:846 : byte 0x7F sent successfully to target
07:59:41:847 : Wait ends after 1 loop, dataready = 1, delay = 0
07:59:41:847 : Received response from target: 0x1f
07:59:41:847 : Activating device: OK
07:59:41:847 : Board : --
07:59:41:847 : Sending GetID command and its XOR:
07:59:41:847 : byte 0x02 sent successfully to target
07:59:41:848 : byte 0xFD sent successfully to target
07:59:41:848 : Wait ends after 1 loop, dataready = 1, delay = 0
07:59:41:848 : Received response from target: 0xd0
07:59:41:848 : Error: GETID command not acknowledged!
07:59:41:955 : Reemission of GetID command
07:59:41:955 : Sending GetID command and its XOR:
07:59:41:955 : byte 0x02 sent successfully to target
07:59:41:956 : byte 0xFD sent successfully to target
07:59:41:956 : Wait ends after 1 loop, dataready = 1, delay = 0
07:59:41:956 : Received response from target: 0xd0
07:59:41:956 : Error: GETID command not acknowledged!
07:59:42:055 : Reemission of GetID command
07:59:42:055 : Sending GetID command and its XOR:
07:59:42:057 : byte 0x02 sent successfully to target
07:59:42:057 : byte 0xFD sent successfully to target
07:59:42:057 : Wait ends after 1 loop, dataready = 1, delay = 0
07:59:42:057 : Received response from target: 0xd0
07:59:42:057 : Error: GETID command not acknowledged!
07:59:42:156 : Chip ID: 0x0
07:59:42:157 : UART PORT CLOSE
Regards
Davide
2025-05-08 6:27 AM
Since this error is different from the post you originally replied to, I've moved it here. I've asked someone to take a look.
2025-05-08 9:15 AM
Hello @Davide Dalfra
I've tested using the STM32CubeProgrammer V2.19.0 and the NUCLEO-WB09KE. I've set the JP1 of the MB2032 to bootloader mode, connected the board throw the STM32CubeProgrammer, set the connection parameters as follow (with no parity):
Finally, click on connect and on the HW reset button of the board. Everything works fine for me:
16:30:03:448 : UR connection mode is defined with the HWrst reset mode
16:30:03:452 : RTS low
16:30:03:453 : DTR low
16:30:03:462 : Serial Port COM29 is successfully opened.
16:30:03:462 : Port configuration: parity = none, baudrate = 115200, data-bit = 8, stop-bit = 1.0, flow-control = off
16:30:03:463 : No Init bits value is : 0
16:30:03:463 : Sending init command:
16:30:03:463 : #byte 0x7F sent successfully to target
16:30:07:463 : Wait ends after 2 loop, dataready = 0, delay = 4000
16:30:07:465 : Timeout error occured while waiting for acknowledgement.
16:30:07:465 : No response from target received
16:30:07:465 : Retrying UART init connection...
16:30:07:466 : #byte 0x7F sent successfully to target
16:30:07:468 : Wait ends after 1 loop, dataready = 1, delay = 0
16:30:07:468 : #ack Received response from target: 0x79
16:30:07:468 : Activating device: OK
16:30:07:469 : Board : --
16:30:07:469 : Sending GetID command and its XOR:
16:30:07:469 : #byte 0x02 sent successfully to target
16:30:07:469 : #byte 0xFD sent successfully to target
16:30:07:471 : Wait ends after 1 loop, dataready = 1, delay = 0
16:30:07:471 : #ack Received response from target: 0x79
16:30:07:472 : Received 4 data bytes from target : 0x03000106
16:30:07:472 : Chip ID: 0x32
16:30:07:472 : Sending Get command and its XOR:
16:30:07:473 : #byte 0x00 sent successfully to target
16:30:07:473 : #byte 0xFF sent successfully to target
16:30:07:473 : #ack Received response from target: 0x79
16:30:07:475 : Received 3 data bytes from target : 0x790901
16:30:07:475 : size of bytes in the response: 9
16:30:07:476 : Received 9 data bytes from target
16:30:07:477 : Full received response: 790901000102112131438292
16:30:07:477 : BootLoader protocol version: 1.0
16:30:07:477 : #byte 0x11 sent successfully to target
16:30:07:478 : #byte 0xEE sent successfully to target
16:30:07:570 : #data sent successfully to target: 0x1004000014
16:30:07:570 : #byte 0x00 sent successfully to target
16:30:07:571 : #byte 0xFF sent successfully to target
16:30:07:573 : Sending GetID command and its XOR:
16:30:07:573 : #byte 0x02 sent successfully to target
16:30:07:573 : #byte 0xFD sent successfully to target
16:30:07:573 : #ack Received response from target: 0x00
16:30:07:575 : Received 5 data bytes from target : 0x7903000106
16:30:07:579 : #byte 0x11 sent successfully to target
16:30:07:580 : #byte 0xEE sent successfully to target
16:30:07:679 : #data sent successfully to target: 0x1004000014
16:30:07:679 : #byte 0x00 sent successfully to target
16:30:07:682 : #byte 0xFF sent successfully to target
16:30:07:685 : Sending GetID command and its XOR:
16:30:07:685 : #byte 0x02 sent successfully to target
16:30:07:685 : #byte 0xFD sent successfully to target
16:30:07:685 : Wait ends after 1 loop, dataready = 1, delay = 0
16:30:07:685 : #ack Received response from target: 0x79
16:30:07:687 : Received 5 data bytes from target : 0x030001061f
16:30:09:894 : Sending GetID command and its XOR:
16:30:09:894 : #byte 0x02 sent successfully to target
16:30:09:894 : bytesToWrite before send = 1
16:30:09:894 : bFlushRet = 1, bytesToWrite after flush() = 1
16:30:09:894 : waitForBytesWritten Error : The wait operation timed out.
16:30:09:894 : #byte 0xFD sent successfully to target
16:30:09:895 : Wait ends after 1 loop, dataready = 1, delay = 0
16:30:09:895 : #ack Received response from target: 0x79
16:30:09:895 : Received 5 data bytes from target : 0x030001061f
16:30:09:895 : UPLOADING OPTION BYTES DATA ...
16:30:09:896 : Bank : 0x00
16:30:09:896 : Address : 0x10040000
16:30:09:896 : Size : 16 Bytes
16:30:09:896 : Sending Read command and its XOR:
16:30:09:896 : #byte 0x11 sent successfully to target
16:30:09:897 : #byte 0xEE sent successfully to target
16:30:09:897 : Wait ends after 1 loop, dataready = 1, delay = 0
16:30:09:897 : #ack Received response from target: 0x79
16:30:09:899 : Sending Read address and its checksum:
16:30:09:899 : #data sent successfully to target: 0x1004000014
16:30:09:899 : Wait ends after 1 loop, dataready = 1, delay = 0
16:30:09:899 : #ack Received response from target: 0x79
16:30:09:900 : Sending number of bytes to be read - 1 and its checksum:
16:30:09:900 : #data sent successfully to target: 0x0ff0
16:30:09:900 : Wait ends after 1 loop, dataready = 1, delay = 0
16:30:09:900 : #ack Received response from target: 0x79
16:30:09:900 : Received 16 data bytes from target
16:30:09:902 : UPLOADING OPTION BYTES DATA ...
16:30:09:902 : Bank : 0x00
16:30:09:902 : Address : 0x10040000
16:30:09:902 : Size : 16 Bytes
16:30:09:902 : Sending Read command and its XOR:
16:30:09:902 : #byte 0x11 sent successfully to target
16:30:09:903 : #byte 0xEE sent successfully to target
16:30:09:903 : Wait ends after 1 loop, dataready = 1, delay = 0
16:30:09:903 : #ack Received response from target: 0x79
16:30:09:903 : Sending Read address and its checksum:
16:30:09:903 : #data sent successfully to target: 0x1004000014
16:30:09:903 : Wait ends after 1 loop, dataready = 1, delay = 0
16:30:09:903 : #ack Received response from target: 0x79
16:30:09:903 : Sending number of bytes to be read - 1 and its checksum:
16:30:09:903 : #data sent successfully to target: 0x0ff0
16:30:09:904 : Wait ends after 1 loop, dataready = 1, delay = 0
16:30:09:904 : #ack Received response from target: 0x79
16:30:09:904 : Received 16 data bytes from target
16:30:09:904 : Sending GetID command and its XOR:
16:30:09:904 : #byte 0x02 sent successfully to target
16:30:09:904 : bytesToWrite before send = 1
16:30:09:904 : bFlushRet = 1, bytesToWrite after flush() = 1
16:30:09:904 : waitForBytesWritten Error : The wait operation timed out.
16:30:09:905 : #byte 0xFD sent successfully to target
16:30:09:905 : Wait ends after 1 loop, dataready = 1, delay = 0
16:30:09:905 : #ack Received response from target: 0x79
16:30:09:905 : Received 5 data bytes from target : 0x030001061f
16:30:09:905 : Sending GetID command and its XOR:
16:30:09:906 : #byte 0x02 sent successfully to target
16:30:09:906 : #byte 0xFD sent successfully to target
16:30:09:906 : Wait ends after 1 loop, dataready = 1, delay = 0
16:30:09:906 : #ack Received response from target: 0x79
16:30:09:907 : Received 5 data bytes from target : 0x030001061f
16:30:09:907 : UPLOADING ...
16:30:09:907 : Size : 1024 Bytes
16:30:09:907 : Address : 0x10040000
16:30:09:907 : Read progress:
16:30:09:908 : Sending Read command and its XOR:
16:30:09:908 : #byte 0x11 sent successfully to target
16:30:09:908 : bytesToWrite before send = 1
16:30:09:909 : bFlushRet = 1, bytesToWrite after flush() = 1
16:30:10:853 : waitForBytesWritten Error : The wait operation timed out.
16:30:10:874 : #byte 0xEE sent successfully to target
16:30:10:874 : Wait ends after 1 loop, dataready = 1, delay = 0
16:30:10:874 : #ack Received response from target: 0x79
16:30:10:881 : Sending Read address and its checksum:
16:30:10:881 : #data sent successfully to target: 0x1004000014
16:30:10:884 : Wait ends after 1 loop, dataready = 1, delay = 0
16:30:10:884 : #ack Received response from target: 0x79
16:30:10:885 : Sending number of bytes to be read - 1 and its checksum:
16:30:10:885 : #data sent successfully to target: 0xff00
16:30:10:885 : Wait ends after 1 loop, dataready = 1, delay = 0
16:30:10:885 : #ack Received response from target: 0x79
16:30:10:906 : Received 256 data bytes from target
16:30:10:906 : Sending Read command and its XOR:
16:30:10:906 : #byte 0x11 sent successfully to target
16:30:10:906 : #byte 0xEE sent successfully to target
16:30:10:906 : Wait ends after 1 loop, dataready = 1, delay = 0
16:30:10:907 : #ack Received response from target: 0x79
16:30:10:907 : Sending Read address and its checksum:
16:30:10:907 : #data sent successfully to target: 0x1004010015
16:30:10:907 : Wait ends after 1 loop, dataready = 1, delay = 0
16:30:10:907 : #ack Received response from target: 0x79
16:30:10:907 : Sending number of bytes to be read - 1 and its checksum:
16:30:10:907 : #data sent successfully to target: 0xff00
16:30:10:909 : Wait ends after 1 loop, dataready = 1, delay = 0
16:30:10:910 : #ack Received response from target: 0x79
16:30:10:940 : Received 256 data bytes from target
16:30:10:940 : Sending Read command and its XOR:
16:30:10:941 : #byte 0x11 sent successfully to target
16:30:10:941 : #byte 0xEE sent successfully to target
16:30:10:941 : Wait ends after 1 loop, dataready = 1, delay = 0
16:30:10:941 : #ack Received response from target: 0x79
16:30:10:941 : Sending Read address and its checksum:
16:30:10:941 : #data sent successfully to target: 0x1004020016
16:30:10:941 : Wait ends after 1 loop, dataready = 1, delay = 0
16:30:10:941 : #ack Received response from target: 0x79
16:30:10:941 : Sending number of bytes to be read - 1 and its checksum:
16:30:10:942 : #data sent successfully to target: 0xff00
16:30:10:942 : Wait ends after 1 loop, dataready = 1, delay = 0
16:30:10:942 : #ack Received response from target: 0x79
16:30:10:986 : Received 256 data bytes from target
16:30:10:987 : Sending Read command and its XOR:
16:30:10:987 : #byte 0x11 sent successfully to target
16:30:10:987 : #byte 0xEE sent successfully to target
16:30:10:987 : Wait ends after 1 loop, dataready = 1, delay = 0
16:30:10:987 : #ack Received response from target: 0x79
16:30:10:987 : Sending Read address and its checksum:
16:30:10:987 : #data sent successfully to target: 0x1004030017
16:30:10:987 : Wait ends after 1 loop, dataready = 1, delay = 0
16:30:10:987 : #ack Received response from target: 0x79
16:30:10:987 : Sending number of bytes to be read - 1 and its checksum:
16:30:10:987 : #data sent successfully to target: 0xff00
16:30:10:987 : Wait ends after 1 loop, dataready = 1, delay = 0
16:30:10:988 : #ack Received response from target: 0x79
16:30:10:988 : Received 256 data bytes from target
16:30:10:988 : Data read successfully
16:30:10:988 : Time elapsed during the read operation is: 00:00:01.136
16:30:12:007 : Sending GetID command and its XOR:
16:30:12:008 : #byte 0x02 sent successfully to target
16:30:12:008 : bytesToWrite before send = 1
16:30:12:008 : bFlushRet = 1, bytesToWrite after flush() = 1
16:30:12:095 : waitForBytesWritten Error : The wait operation timed out.
16:30:12:095 : #byte 0xFD sent successfully to target
16:30:12:096 : Wait ends after 1 loop, dataready = 1, delay = 0
16:30:12:096 : #ack Received response from target: 0x79
16:30:12:096 : Received 5 data bytes from target : 0x030001061f
16:30:12:096 : Sending GetID command and its XOR:
16:30:12:096 : #byte 0x02 sent successfully to target
16:30:12:096 : #byte 0xFD sent successfully to target
16:30:12:096 : Wait ends after 1 loop, dataready = 1, delay = 0
16:30:12:096 : #ack Received response from target: 0x79
16:30:12:097 : Received 5 data bytes from target : 0x030001061f
16:30:13:008 : Sending GetID command and its XOR:
16:30:13:008 : #byte 0x02 sent successfully to target
16:30:13:014 : #byte 0xFD sent successfully to target
16:30:13:014 : Wait ends after 1 loop, dataready = 1, delay = 0
16:30:13:014 : #ack Received response from target: 0x79
16:30:13:014 : Received 5 data bytes from target : 0x030001061f
16:30:13:015 : Sending GetID command and its XOR:
16:30:13:015 : #byte 0x02 sent successfully to target
16:30:13:015 : #byte 0xFD sent successfully to target
16:30:13:015 : Wait ends after 1 loop, dataready = 1, delay = 0
16:30:13:016 : #ack Received response from target: 0x79
16:30:13:016 : Received 5 data bytes from target : 0x030001061f
16:30:14:014 : Sending GetID command and its XOR:
16:30:14:015 : #byte 0x02 sent successfully to target
16:30:14:021 : #byte 0xFD sent successfully to target
16:30:14:021 : Wait ends after 1 loop, dataready = 1, delay = 0
16:30:14:022 : #ack Received response from target: 0x79
16:30:14:024 : Received 5 data bytes from target : 0x030001061f
16:30:14:024 : Sending GetID command and its XOR:
16:30:14:024 : #byte 0x02 sent successfully to target
16:30:14:024 : #byte 0xFD sent successfully to target
16:30:14:024 : Wait ends after 1 loop, dataready = 1, delay = 0
16:30:14:025 : #ack Received response from target: 0x79
16:30:14:025 : Received 5 data bytes from target : 0x030001061f
16:30:15:020 : Sending GetID command and its XOR:
16:30:15:020 : #byte 0x02 sent successfully to target
16:30:15:025 : #byte 0xFD sent successfully to target
16:30:15:029 : Wait ends after 1 loop, dataready = 1, delay = 0
16:30:15:029 : #ack Received response from target: 0x79
16:30:15:030 : Received 5 data bytes from target : 0x030001061f
16:30:15:030 : Sending GetID command and its XOR:
16:30:15:030 : #byte 0x02 sent successfully to target
16:30:15:030 : #byte 0xFD sent successfully to target
16:30:15:030 : Wait ends after 1 loop, dataready = 1, delay = 0
16:30:15:030 : #ack Received response from target: 0x79
16:30:15:033 : Received 5 data bytes from target : 0x030001061f
16:30:16:026 : Sending GetID command and its XOR:
16:30:16:027 : #byte 0x02 sent successfully to target
16:30:16:036 : #byte 0xFD sent successfully to target
16:30:16:037 : Wait ends after 1 loop, dataready = 1, delay = 0
16:30:16:037 : #ack Received response from target: 0x79
16:30:16:039 : Received 5 data bytes from target : 0x030001061f
16:30:16:040 : Sending GetID command and its XOR:
16:30:16:040 : #byte 0x02 sent successfully to target
16:30:16:040 : #byte 0xFD sent successfully to target
16:30:16:040 : Wait ends after 1 loop, dataready = 1, delay = 0
16:30:16:040 : #ack Received response from target: 0x79
16:30:16:041 : Received 5 data bytes from target : 0x030001061f
16:30:17:033 : Sending GetID command and its XOR:
16:30:17:033 : #byte 0x02 sent successfully to target
16:30:17:036 : #byte 0xFD sent successfully to target
16:30:17:038 : Wait ends after 1 loop, dataready = 1, delay = 0
16:30:17:038 : #ack Received response from target: 0x79
16:30:17:040 : Received 5 data bytes from target : 0x030001061f
16:30:17:040 : Sending GetID command and its XOR:
16:30:17:040 : #byte 0x02 sent successfully to target
16:30:17:041 : #byte 0xFD sent successfully to target
16:30:17:044 : Wait ends after 1 loop, dataready = 1, delay = 0
16:30:17:044 : #ack Received response from target: 0x79
16:30:17:050 : Received 5 data bytes from target : 0x030001061f
16:30:18:039 : Sending GetID command and its XOR:
16:30:18:040 : #byte 0x02 sent successfully to target
16:30:18:043 : #byte 0xFD sent successfully to target
16:30:18:046 : Wait ends after 1 loop, dataready = 1, delay = 0
16:30:18:047 : #ack Received response from target: 0x79
16:30:18:047 : Received 5 data bytes from target : 0x030001061f
16:30:18:047 : Sending GetID command and its XOR:
16:30:18:047 : #byte 0x02 sent successfully to target
16:30:18:047 : #byte 0xFD sent successfully to target
16:30:18:048 : #ack Received response from target: 0x79
16:30:18:051 : Received 5 data bytes from target : 0x7903000106
16:30:19:045 : Sending GetID command and its XOR:
16:30:19:045 : #byte 0x02 sent successfully to target
16:30:19:051 : #byte 0xFD sent successfully to target
16:30:19:054 : Wait ends after 1 loop, dataready = 1, delay = 0
16:30:19:054 : #ack Received response from target: 0x79
16:30:19:054 : Received 5 data bytes from target : 0x030001061f
16:30:19:054 : Sending GetID command and its XOR:
16:30:19:054 : #byte 0x02 sent successfully to target
16:30:19:055 : #byte 0xFD sent successfully to target
16:30:19:055 : Wait ends after 1 loop, dataready = 1, delay = 0
16:30:19:055 : #ack Received response from target: 0x79
16:30:19:056 : Received 5 data bytes from target : 0x030001061f
16:30:20:051 : Sending GetID command and its XOR:
16:30:20:052 : #byte 0x02 sent successfully to target
16:30:20:058 : #byte 0xFD sent successfully to target
16:30:20:062 : Wait ends after 1 loop, dataready = 1, delay = 0
16:30:20:062 : #ack Received response from target: 0x79
16:30:20:062 : Received 5 data bytes from target : 0x030001061f
16:30:20:062 : Sending GetID command and its XOR:
16:30:20:062 : #byte 0x02 sent successfully to target
16:30:20:062 : #byte 0xFD sent successfully to target
16:30:20:062 : Wait ends after 1 loop, dataready = 1, delay = 0
16:30:20:063 : #ack Received response from target: 0x79
16:30:20:063 : Received 5 data bytes from target : 0x030001061f
16:30:21:059 : Sending GetID command and its XOR:
16:30:21:059 : #byte 0x02 sent successfully to target
16:30:21:062 : #byte 0xFD sent successfully to target
16:30:21:067 : Wait ends after 1 loop, dataready = 1, delay = 0
16:30:21:067 : #ack Received response from target: 0x79
16:30:21:067 : Received 5 data bytes from target : 0x030001061f
16:30:21:067 : Sending GetID command and its XOR:
16:30:21:067 : #byte 0x02 sent successfully to target
16:30:21:068 : #byte 0xFD sent successfully to target
16:30:21:070 : Wait ends after 1 loop, dataready = 1, delay = 0
16:30:21:070 : #ack Received response from target: 0x79
16:30:21:070 : Received 5 data bytes from target : 0x030001061f
16:30:22:065 : Sending GetID command and its XOR:
16:30:22:066 : #byte 0x02 sent successfully to target
16:30:22:071 : #byte 0xFD sent successfully to target
16:30:22:075 : Wait ends after 1 loop, dataready = 1, delay = 0
16:30:22:076 : #ack Received response from target: 0x79
16:30:22:076 : Received 5 data bytes from target : 0x030001061f
16:30:22:076 : Sending GetID command and its XOR:
16:30:22:076 : #byte 0x02 sent successfully to target
16:30:22:076 : #byte 0xFD sent successfully to target
16:30:22:077 : Wait ends after 1 loop, dataready = 1, delay = 0
16:30:22:077 : #ack Received response from target: 0x79
16:30:22:077 : Received 5 data bytes from target : 0x030001061f
16:30:23:073 : Sending GetID command and its XOR:
16:30:23:073 : #byte 0x02 sent successfully to target
16:30:23:073 : #byte 0xFD sent successfully to target
16:30:23:073 : Wait ends after 1 loop, dataready = 1, delay = 0
16:30:23:073 : #ack Received response from target: 0x79
16:30:23:089 : Received 5 data bytes from target : 0x030001061f
16:30:23:090 : Sending GetID command and its XOR:
16:30:23:090 : #byte 0x02 sent successfully to target
16:30:23:090 : #byte 0xFD sent successfully to target
16:30:23:090 : Wait ends after 1 loop, dataready = 1, delay = 0
16:30:23:090 : #ack Received response from target: 0x79
16:30:23:090 : Received 5 data bytes from target : 0x030001061f
16:30:24:079 : Sending GetID command and its XOR:
16:30:24:080 : #byte 0x02 sent successfully to target
16:30:24:080 : #byte 0xFD sent successfully to target
16:30:24:085 : Wait ends after 1 loop, dataready = 1, delay = 0
16:30:24:085 : #ack Received response from target: 0x79
16:30:24:091 : Received 5 data bytes from target : 0x030001061f
16:30:24:091 : Sending GetID command and its XOR:
16:30:24:092 : #byte 0x02 sent successfully to target
16:30:24:092 : #byte 0xFD sent successfully to target
16:30:24:092 : Wait ends after 1 loop, dataready = 1, delay = 0
16:30:24:092 : #ack Received response from target: 0x79
16:30:24:092 : Received 5 data bytes from target : 0x030001061f
16:30:24:671 : UART PORT CLOSE
16:30:24:684 : Disconnected from device.
I think the problem on your side is to use the even parity.
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.
2025-05-08 10:31 AM - edited 2025-05-08 10:34 AM
Ahh, it's right there in AN2606. Had no idea some chip bootloaders used no parity instead of even.
Looks like this is limited to STM32WB0x products, all others use even parity.
@STTwo-32 Thanks for chasing that down.
2025-05-08 10:43 PM
Hello guys
Yes was the parity setting. I used to give this as always parity as on other BL.
Thanks all for the support
Davide