2021-05-12 04:36 AM
We use the Virtual COM port of a Nucleo F070RB and often reset the board using STM32_Programmer_CLI -hardRst. Since version 2.5.0, the hard reset seems to break data transmission from the host to the microcontroller. The microcontroller can still transmit data to the host. This happens fairly often but not always, let's say after 15-30% of hard resets.
We have not been able to reproduce this issue with an STLinkV3 dongle. Upgrading the firmware of the STLinkV2-1 on the Nucleo did not resolve the issue. Using only softreset (-rst) or hard followed by soft (-hardRst -rst) works around the issue.
Tested CLI versions without the problem: 2.3.0, 2.4.0
Tested CLI versions with the problem: 2.5.0, 2.6.0, 2.7.0