DFU function on mac

New to XMOS and XCore? Get started here.
TonyXiao
Active Member
Posts: 39
Joined: Fri Mar 29, 2019 3:58 am

DFU function on mac

Postby TonyXiao » Mon Jan 06, 2020 9:21 am

Hi all

in windows there are DFU loader to use, but how about in mac ?
follows steps in DFU-loader-for-XMOS-USB-Audio-devices(4).pdf, when enter source setup.sh,
some errors about missing i386 flags,and i don't know how to fix it.i doubt i missed something.

have someone got more detailed steps of dfu on mac?
thanks.
User avatar
akp
Respected Member
Posts: 393
Joined: Thu Nov 26, 2015 11:47 pm

Postby akp » Mon Jan 06, 2020 3:04 pm

Compile xmosdfu.cpp for mac. refer here: viewtopic.php?t=3572
fabriceo
Active Member
Posts: 37
Joined: Mon Jan 08, 2018 4:14 pm

Postby fabriceo » Wed Jan 08, 2020 7:45 am

make sure you have downloaded libusb-1.0.0-x86_64.dylib

and go with this:

g++ -g -o dfutool dfutool.cpp -I. -IOSX libusb-1.0.0-x86_64.dylib -m64

Who is online

Users browsing this forum: No registered users and 0 guests