2025-11-10 8:19 AM
Hello,
I’m trying to flash the ST67W611 Wi-Fi module directly through UART, without using the NUCLEO host board.
For hardware setup, I soldered simple tactile switches and 0.1 µF capacitors on the CHIP_EN and BOOT pins.
When powering up:
I press both switches to pull CHIP_EN and BOOT low (to GND).
Then I release the BOOT button so that the pin is pulled up to 3.3 V through a 10 kΩ resistor.
Finally, I release the CHIP_EN button, which is also pulled up to 3.3 V through another 10 kΩ resistor.
After this sequence, I run the following command in Windows PowerShell, but the handshake fails:
Here is the full output log:
Has anyone experienced the same issue or knows how to handle this handshake failure when flashing ST67W611 directly over UART?
Any suggestions for timing, baud rate, or pin control would be greatly appreciated.
Solved! Go to Solution.
2025-11-17 5:34 AM - edited 2025-11-17 5:37 AM
Hi Mike66,
This handshake failure message can occur if the CHIP_EN signal is not set high after the BOOT signal is raised.
In this case, I see that ack is always 'empty' --> ack is b''. But in your case, the first ack is empty but the subsequent ones, corresponding to the two retries, are not but are not correct --> ack is b'7f5555555515142800ff' and ack is b'7d55555555541405012000ff'
Did you observe the CHIP_EN and BOOT signals using an oscilloscope or logic analyzer?
The X-CUBE software sets CHIP_EN high 100 ms after raising BOOT.
Please confirm that your UART interface settings are as follows:
Best regards,
2025-11-17 5:34 AM - edited 2025-11-17 5:37 AM
Hi Mike66,
This handshake failure message can occur if the CHIP_EN signal is not set high after the BOOT signal is raised.
In this case, I see that ack is always 'empty' --> ack is b''. But in your case, the first ack is empty but the subsequent ones, corresponding to the two retries, are not but are not correct --> ack is b'7f5555555515142800ff' and ack is b'7d55555555541405012000ff'
Did you observe the CHIP_EN and BOOT signals using an oscilloscope or logic analyzer?
The X-CUBE software sets CHIP_EN high 100 ms after raising BOOT.
Please confirm that your UART interface settings are as follows:
Best regards,