PaulStoffregen / teensy_loader_cli

Command line Teensy Loader
http://www.pjrc.com/teensy/loader_cli.html
331 stars 152 forks source link

Device is in use by "dummy" driver ?? #77

Closed steeley closed 2 years ago

steeley commented 2 years ago

just downloaded and compiled the command line loader ok on Mac OSX 11.6.5 Trying to flash a Teensy4.1 - it works in Teensyduino, and I can upload my MicroPython firmware using the GUI loader on its own. Command line: teensy_loader_cli --mcu=TEENSY41 -v -w TEENSY41-20220117-v1.18.hex

Produces this error endlessly repeating: Device is in use by "dummy" driver

Any clues?

thanks

PaulStoffregen commented 2 years ago

Looks like you've compiled the libusb code which is meant for Linux.

That libusb stuff worked on very old MacOS (like the early days when Apple named versions after big cats, like Tiger & Leopard) but almost certainly does not work on modern MacOS.

You need to compile with the USB code for use on MacOS.

steeley commented 2 years ago

Looks like I edited the makefile for macOS but didn't save it. Works OK now. thanks.