Keil Error: ST-LINK USB communication error
Today, when downloading the program with stlink-v2, there was st-link USB communication error. This problem suddenly appeared. I found many solutions on the Internet, but they can’t be used. My solutions are given below for reference only.
If there is a problem as shown in the figure below:
We can solve this problem by re brushing the firmware. you can download the stlink online.
It is very easy to upgrade the firmware of ST-Link. If the ST-Link can be used normally, please do not come to upgrade easily. Here you can open our ST-Link package, there is a zip package inside: ST-Link firmware upgrade software.zip, you can see after decompression.
For windows computers, we go directly to the windows folder and click ST-LinkUpgrade.exe:
The opened interface is as follows:
At this time, we need to connect st link to the computer through USB. After connecting, click the device connect button on the interface,
if the connection is successful, the prompt message in the following interface will appear:
Note: if an error is reported when brushing firmware: Communication error with ST-Link .Try to start it. We can solve this problem by unplugging stlink and then continuing to update the firmware
- [Solved] NO ST-LINK detected/ST-LINK USB communication error
- ST-LINK Download Program Error: flash download failed – ‘cortex m4‘
- [Solved] Error: Flash Download failed – “Cortex-M3“
- [Solved] No corresponding flash error is found during MDK download
- How to Solve Keil Error: error: #29: expected an expression
- [Solved] Keil5 burn STM32F chip Error: error: Flash download failed – “cortex-m4″“
- [Solved] KEIL Compile Error: Error: L6220E: Load region LR_IROM1 size (65552 bytes) exceeds limit (65536 bytes)……
- [Solved] Error: In the Function of ‘fmt::v8::detail::error_handler::on_error(char const*)’
- Gog cannot link PSN: the connection to the server timed out
- Error: Please renew the default configurations. [How to Solve]
- [Solved] keil2 Error: FATAL ERROR L210: I/O ERROR ON INPUT FILE
- Google Play googleapi: Error 403: Google Play Android Developer API has not been used in project
- [Solved] Keil5 Error: error 65: access violation at 0x08040000 : no ‘execute/read‘ permission
- How to Fix the printer error 0x00000709 on Windows
- [Solved] target_link_libraries error: a missing vtable usually means the first non-inline virtual member function has no definition.
- [Solved] Vscode Connect SSH Error: Error Running the contributed command ‘_workbench.downloadResource
- Keil Compile Error: ..\OBJ\USART.axf: error: L6002U: Could not open file ..\obj\sys.o: No such file or directory
- [Error] expected unqualified-id before ‘delete‘
- How to Solev QT compilation error “cannot find – LGL”
- QT error: – LGL not found [How to Solve]