folg / stm32flash

Automatically exported from code.google.com/p/stm32flash
0 stars 0 forks source link

Resolve symlinks before deciding if path is a serial device #65

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Attach a compatible USB-serial programmer to a Linux machine
2. Attempt to program it using stm32flash /dev/serial/by-id/usb-... (the 
durable path to the device which includes the USB device's serial number)

What is the expected output? What do you see instead?

The programming should proceed.  Instead, a message "Cannot handle device" is 
shown.

What version of the product are you using? On what operating system?

Linux with FTDI USB-serial dongle attached to stm32f373 microcontroller.  
gitorious commit ba7602d8 of stm32flash.

Original issue reported on code.google.com by jep...@gmail.com on 27 Dec 2014 at 5:24

Attachments:

GoogleCodeExporter commented 9 years ago
Excellent, thanks a lot for the patch.

Original comment by lists.to...@gmail.com on 24 Feb 2015 at 8:37