Skip to main content
Visitor II
August 13, 2025
Question

stm32h743vit6 can not connect to stm32cubeprogrammer

I designed a pub board for stm32h743vit6, I connected mcu to stm32programmer via usart1,and sad port also reserved.But when I clicked "connect",it showed mistake:00:37:16:773 : RTS low
00:37:16:774 : DTR Low
00:37:16:833 : Serial Port cu.usbmodem0000637289221 is successfully opened.
00:37:16:833 : Port configuration: parity = even, baudrate = 115200, data-bit = 8, stop-bit = 1.0, flow-control = off
00:37:16:833 : No Init bits value is : 0
00:37:16:833 : Sending init command:
00:37:16:833 : #byte 0x7F sent successfully to target
00:37:18:834 : Wait ends after 1 loop, dataready = 0, delay = 2001
00:37:18:835 : Timeout error occured while waiting for acknowledgement.
00:37:18:835 : No response from target received
00:37:18:836 : Retrying UART init connection...
00:37:18:836 : #byte 0x7F sent successfully to target
00:37:18:847 : Wait ends after 1 loop, dataready = 1, delay = 11
00:37:18:848 : #ack Received response from target: 0x1f
00:37:18:848 : Activating device: OK
00:37:18:848 : Board : --
00:37:18:848 : Sending GetID command and its XOR:
00:37:18:848 : #byte 0x02 sent successfully to target
00:37:18:848 : #byte 0xFD sent successfully to target
00:37:18:859 : Wait ends after 1 loop, dataready = 1, delay = 11
00:37:18:859 : #ack Received response from target: 0x79
00:37:18:859 : Received 4 data bytes from target : 0x01045079
00:37:18:859 : Chip ID: 0x450
00:37:18:859 : Sending Get command and its XOR:
00:37:18:860 : #byte 0x00 sent successfully to target
00:37:18:860 : #byte 0xFF sent successfully to target
00:37:18:874 : Wait ends after 1 loop, dataready = 1, delay = 14
00:37:18:874 : #ack Received response from target: 0x79
00:37:18:874 : Received 1 data bytes from target : 0x0b
00:37:18:874 : size of bytes in the response: 11
00:37:18:874 : Received 13 data bytes from target
00:37:18:874 : Full received response: 0b31000102112131446373829279
00:37:18:874 : BootLoader protocol version: 3.1
00:37:18:874 : #byte 0x11 sent successfully to target
00:37:18:874 : #byte 0xEE sent successfully to target
00:37:19:000 : #data sent successfully to target: 0x0800000008
00:37:20:011 : Sending GetID command and its XOR:
00:37:20:011 : #byte 0x02 sent successfully to target
00:37:20:011 : #byte 0xFD sent successfully to target
00:37:20:020 : Wait ends after 1 loop, dataready = 1, delay = 8
00:37:20:020 : #ack Received response from target: 0x1f
00:37:20:020 : Response received from device: NACK
00:37:20:020 : Error: GETID command not acknowledged!
00:37:20:145 : Reemission of GetID command
00:37:20:146 : Sending GetID command and its XOR:
00:37:20:146 : #byte 0x02 sent successfully to target
00:37:20:146 : #byte 0xFD sent successfully to target
00:37:20:161 : Wait ends after 1 loop, dataready = 1, delay = 14
00:37:20:162 : #ack Received response from target: 0x79
00:37:20:163 : Received 4 data bytes from target : 0x01045079
00:37:20:205 : #byte 0x11 sent successfully to target
00:37:20:205 : #byte 0xEE sent successfully to target
00:37:20:308 : #data sent successfully to target: 0x0800000008
00:37:21:310 : Sending Read command and its XOR:
00:37:21:310 : #byte 0x11 sent successfully to target
00:37:21:311 : #byte 0xEE sent successfully to target
00:37:21:321 : Wait ends after 1 loop, dataready = 1, delay = 11
00:37:21:322 : #ack Received response from target: 0x1f
00:37:21:322 : Response received from device: NACK
00:37:21:322 : Error: READ command not acknowledged at address: 0x8000000
00:37:21:322 : Database: Config 0 is active.
00:37:21:323 : Sending GetID command and its XOR:
00:37:21:324 : #byte 0x02 sent successfully to target
00:37:21:324 : #byte 0xFD sent successfully to target
00:37:21:337 : Wait ends after 1 loop, dataready = 1, delay = 14
00:37:21:337 : #ack Received response from target: 0x79
00:37:21:337 : Received 4 data bytes from target : 0x01045079
00:37:22:582 : Sending GetID command and its XOR:
00:37:22:582 : #byte 0x02 sent successfully to target
00:37:22:582 : #byte 0xFD sent successfully to target
00:37:22:582 : Wait ends after 1 loop, dataready = 1, delay = 14
00:37:22:582 : #ack Received response from target: 0x79
00:37:22:582 : Received 4 data bytes from target : 0x01045079
00:37:22:582 : #byte 0x11 sent successfully to target
00:37:22:582 : #byte 0xEE sent successfully to target
00:37:22:582 : #data sent successfully to target: 0x0800000008
00:37:22:582 : UPLOADING OPTION BYTES DATA ...
00:37:22:583 : Bank : 0x00
00:37:22:583 : Address : 0x5200201c
00:37:22:583 : Size : 308 Bytes
00:37:22:583 : Sending Read command and its XOR:
00:37:22:583 : #byte 0x11 sent successfully to target
00:37:22:583 : #byte 0xEE sent successfully to target
00:37:22:583 : Wait ends after 1 loop, dataready = 1, delay = 10
00:37:22:583 : #ack Received response from target: 0x1f
00:37:22:583 : Response received from device: NACK
00:37:22:583 : Error: READ command not acknowledged at address: 0x5200201C
00:37:22:583 : Error: Uploading Option Bytes bank: 0 failed
00:37:22:610 : Error: Initializing the Option Bytes failed
00:37:22:639 : UART PORT CLOSE
00:37:22:639 : Disconnected from device.
00:37:31:421 : Error: Connection to target must be established before performing the erase command.
00:37:31:532 : Disconnected from device.

I don't know what happened, perhaps it is under read protect mode, but I don't know its level and don;t know how to unlock it, help me please

This topic has been closed for replies.

2 replies

ST Technical Moderator
August 15, 2025

Hello @guan ,

Make sure that you are using a data cable (not a charging cable).

Check if your issue is related to the setting of power configuration. Please have a look to that articles: 

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks
AScha.3
Super User
August 15, 2025

So connect it on SWD/SWC as its standard.

Or is this a special challenge or part of a game ?

If you feel a post has answered your question, please click on " Best Answer ".