DFU loader for XMOS USB AUDIO - Linux?

If you have a simple question and just want an answer.
User avatar
Chendy
Active Member
Posts: 46
Joined: Tue Nov 02, 2010 4:53 pm

DFU loader for XMOS USB AUDIO - Linux?

Postby Chendy » Thu Feb 26, 2015 4:29 pm

I'm wondering what approaches there is for updating/flashing firmware for a XMOS USB Audio device, without using a XTAG or other external tool. 

For windows and OSX it seems the "DFU Loader" does the job, but Linux?

Thanks

Senthil

zab
Junior Member
Posts: 4
Joined: Tue Jul 12, 2016 2:16 am

Postby zab » Sun Nov 06, 2016 1:41 pm

308 views but no replies; seems there's interest in this.

+1 !!
Dyang
Member++
Posts: 17
Joined: Tue Nov 01, 2016 2:06 am

Postby Dyang » Mon Nov 07, 2016 2:58 am

Read the design_guide,

Macro :DFU
Description :Enable DFU functionality.
A driver required for Windows operation.
Default: 1 (Enabled)


,Maybe Linux doesn't need ?
zab
Junior Member
Posts: 4
Joined: Tue Jul 12, 2016 2:16 am

Postby zab » Mon Nov 07, 2016 4:49 am

Reading the build instructions for OSX:
https://www.xmos.com/support/boards?ver ... 441&page=4

Would it simply be a case of changing the Makefile flags to suit *nix?
User avatar
johned
Experienced Member
Posts: 126
Joined: Tue Mar 26, 2013 12:10 pm
Contact:

Postby johned » Tue Oct 10, 2017 11:24 am

A kind customer has shared these instructions with me, to explain how they got this running under Ubuntu 17.04.

1. Install usblib:
sudo apt-get install libusb-1.0-0-dev

2. Tweak headers in ‘xmosdfu.cpp’ :
#include <libusb-1.0/libusb.h>

3. Build:
g++ -g -o xmosdfu xmosdfu.cpp `pkg-config --libs --cflags libusb-1.0`

Needs root privileges to run.

Best regards,
John

Return to “Q&A”

Who is online

Users browsing this forum: No registered users and 18 guests