Comments (5)
I believe dfu-util needs to be "fixed" for Catalina and the one in Homebrew hasn't been yet.
But I think Arduino has fixed it and has pre-compiled binaries here:
https://github.com/arduino/dfu-utils-cross/tree/master/distrib/osx
Try that and see if it works.
from tomu-quickstart.
Yep, that worked flawlessly. THANKS!!
from tomu-quickstart.
Hello @todbot , I'm facing the same issue on macOS Catalina (10.15.7). Already tried the binaries you suggested but the issue persists... Any tips? ty
from tomu-quickstart.
Hi @rflmota,
I can verify that on MacOS Big Sur (11.1) that the Arduino dfu-util
binary and the Homebrew dfu-util
both throw the same error of `dfu-util:
[...]
Claiming USB DFU Interface...
Setting Alternate Setting #0 ...
dfu-util: Cannot set alternate interface: LIBUSB_ERROR_OTHER
However I have been able to update Tomu by going to https://dfu.tomu.im/ on Chrome and using that page's WebUSB DFU loader.
This makes me think that Chrome is now somehow claiming DFU devices, preventing other processes from claiming them.
from tomu-quickstart.
If you do want to use the command-line dfu-util
program, I've recompiled it on my Mac and it can reprogram Tomus. It is attached here:
dfu-util-macos-static-19Dec2020.zip
If you want to compile it yourself, the steps I used were:
git clone https://github.com/arduino/dfu-utils-cross
cd dfu-utils-cross
cd libusb-1.0.9
export LIBUSB_DIR=`pwd`
./configure --enable-static --disable-shared
make clean
make
cd ../dfu-util-0.9
USB_CFLAGS="-I$LIBUSB_DIR/libusb/ -framework IOKit -framework CoreFoundation" USB_LIBS="-L$LIBUSB_DIR/libusb/.libs/ -lusb-1.0 -lobjc" ./configure
make clean
CFLAGS=-static make V=s
./src/dfu-util --list
./src/dfu-util -v -d 1209:70b1 -D ../../tomu-quickstart/prebuilt/miniblink.dfu
from tomu-quickstart.
Related Issues (20)
- HID Keyboard example? HOT 6
- quickstart documentation should contain links on the programming API HOT 6
- Nothing builds with Ubuntu 18.04 HOT 4
- Documentation Enhancement: Install Arm Embedded Toolchain on macOS with homebrew
- Unable to compile U2F (chopstx) HOT 2
- gpg? HOT 1
- Solid Red light HOT 3
- cbmbasic loaded onto tomu freezes after first keystroke HOT 3
- Inconsistently loading new code HOT 6
- Can't get U2F working HOT 2
- program persistence after unplugging HOT 1
- TOBOOT_CONFIG_FLAG_AUTORUN HOT 4
- brew install dfu-util HOT 1
- Windows 10 wont recognize USB examples HOT 1
- Clarify documentation in readme.md HOT 1
- RFC: mass storage with write support HOT 1
- arm-none-eabi/bin/ld: cannot find -lstdc++ error when running make HOT 1
- enhancement: add usb multiplexing sample HOT 1
- Question for HID keyboard example HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tomu-quickstart.