Solved
STLink V3 Error
Hello, I use the original StLink V3 set, along with STM32CubeProgrammer via cmd. Sometimes I encounter an error where ST-Link jumps into Error: ST-LINK error (DEV_USB_COMM_ERR).I don't know how to resolve it. The only solution that works for me is to disconnect and reconnect the ST link to USB. However, this is problematic if I want it to function reliably in production. Is there any solution?
All output:
b' -------------------------------------------------------------------\\r\\n STM32CubeProgrammer v2.13.0 \\r\\n -------------------------------------------------------------------\\r\\n\\r\\n===== DFU Interface =====\\r\\n\\r\\nNo STM32 device in DFU mode connected\\r\\n\\r\\n===== STLink Interface =====\\r\\nST-LINK error (DEV_USB_COMM_ERR)\\r\\n\\r\\n-------- Connected ST-LINK Probes List --------\\r\\n\\r\\nST-Link Probe 0 :\\r\\n ST-LINK SN : \\xf0X\\xe5\\x02\\r\\n ST-LINK FW : \\r\\n Access Port Number : 7471203\\r\\n Board Name : \\r\\n-----------------------------------------------\\r\\n\\r\\n===== UART Interface =====\\r\\n\\r\\nTotal number of serial ports available: 2\\r\\n\\r\\nPort: COM4\\r\\nLocation: \\\\\\\\.\\\\COM4\\r\\nDescription: STMicroelectronics STLink Virtual COM Port\\r\\nManufacturer: STMicroelectronics\\r\\n\\r\\nPort: COM11\\r\\nLocation: \\\\\\\\.\\\\COM11\\r\\nDescription: USB-SERIAL CH340\\r\\nManufacturer: wch.cn\\r\\n\\r\\n
