I can reproduce the failure from the cmd line now.
Well, it seems that - unlike stm32loader.py - stm32flash does not like a virtual USB port at all:
Code: Select all
$ ../../../macosx/stm32flash/stm32flash /dev/cu.usbmodemD5D4C5E3 stm32flash 0.4 http://stm32flash.googlecode.com/ Error probing interface "serial_posix" Cannot handle device "/dev/cu.usbmodemD5D4C5E3" Failed to open port: /dev/cu.usbmodemD5D4C5E3
I just tried the latest source from sourceforge, and that too refuses to open every USB port I try.
Oh, wait - an FTDI adapter works. So maybe stm32flash isn't compatible with CDC-ACM ports?
It always amazes me what sort of road-blocks one bumps into, sure didn't expect this one!