cancel
Showing results for 
Search instead for 
Did you mean: 

STM32_Programmer_CLI fails to list UARTs if no STLink present

DAlbe.3
Senior

STM32_Programmer_CLI fails to list UARTs unless an STLinkV2 is also connected to a USB port (not even to any target).  If an STLink is connected, the UARTs are then listed!  Disconnect the STLinkV2 and the UARTs fail to list.  So the issue appears to be a bug in 2.16.  Note: I have tried with both -l and -l uart

Separate issue: none of my STLinkV3s enumerate in the STLink Probes list. You can see an MINIE in the UART list below at COM14. I suspect I need to update the driver, but the driver download link on the ST site is currently broken.  <sigh>.

 

C:\Users\david>"C:\Program Files\STMicroelectronics\STM32Cube\STM32CubeProgrammer\bin\STM32_Programmer_CLI.exe" -l
      -------------------------------------------------------------------
                       STM32CubeProgrammer v2.16.0
      -------------------------------------------------------------------

=====  DFU Interface   =====

No STM32 device in DFU mode connected

===== J-Link Interface =====
Error: No J-link probe detected.
===== STLink Interface =====

-------- Connected ST-LINK Probes List --------

ST-Link Probe 0 :
   ST-LINK SN  : 2F0802012612344D314B4E00
   ST-LINK FW  : V2J31S7
   Access Port Number  : 0
   Board Name  :
-----------------------------------------------

=====  UART Interface  =====

Total number of serial ports available: 4

Port: COM12
Location: \\.\COM12
Description: USB-SERIAL CH340
Manufacturer: wch.cn

Port: COM14
Location: \\.\COM14
Description: STMicroelectronics STLink Virtual COM Port
Manufacturer: STMicroelectronics

Port: COM7
Location: \\.\COM7
Description: USB-SERIAL CH340
Manufacturer: wch.cn

Port: COM8
Location: \\.\COM8
Description: USB-SERIAL CH340
Manufacturer: wch.cn

<<<<<<<<<<<<< UNPLUG STLink/V2 - no other change >>>>>>>>>>>>>>>>>>>>>>

C:\Users\david>"C:\Program Files\STMicroelectronics\STM32Cube\STM32CubeProgrammer\bin\STM32_Programmer_CLI.exe" -l
      -------------------------------------------------------------------
                       STM32CubeProgrammer v2.16.0
      -------------------------------------------------------------------

=====  DFU Interface   =====

No STM32 device in DFU mode connected

===== J-Link Interface =====
Error: No J-link probe detected.
===== STLink Interface =====
No ST-Link detected!

C:\Users\david>"C:\Program Files\STMicroelectronics\STM32Cube\STM32CubeProgrammer\bin\STM32_Programmer_CLI.exe" -l uart
      -------------------------------------------------------------------
                       STM32CubeProgrammer v2.16.0
      -------------------------------------------------------------------

=====  DFU Interface   =====

No STM32 device in DFU mode connected

===== J-Link Interface =====
Error: No J-link probe detected.
===== STLink Interface =====
No ST-Link detected!

 

 

0 REPLIES 0