What is the procedure to upgrade a USB Audio device firmware Topic is solved

If you have a simple question and just want an answer.
Post Reply
User avatar
sethu_jangala
XCore Expert
Posts: 589
Joined: Wed Feb 29, 2012 10:03 am

Post by sethu_jangala »

Please refer to the DFU Loader document for instructions on upgrading the firmware. To view this document go to support section and Documentation sub section in XMOS website.



View Solution
User avatar
sethu_jangala
XCore Expert
Posts: 589
Joined: Wed Feb 29, 2012 10:03 am

What is the procedure to upgrade a USB Audio device firmware

Post by sethu_jangala »

User avatar
xsamc
Active Member
Posts: 55
Joined: Fri Mar 04, 2011 3:38 pm

Post by xsamc »

Direct link to the DFU loader documentation, avaliable from the support pages of xmos.com:

https://www.xmos.com/en/download/public ... 1.1%29.pdf

User avatar
Caleb
Experienced Member
Posts: 82
Joined: Thu Apr 04, 2013 10:14 pm
Contact:

Post by Caleb »

Not having comfort or experience in developing software for OSX I found this task a bit frustrating but I was able to stumble through with various googles. The assumptions made by the documentation may be obvious to most here but:

First you need to install the compiler. This was helpful:

http://www.edparrish.net/common/macgpp.php

Modify xmosdfu.cpp to look for your VID & PID

make -f Makefile.OSX

I never discovered why but the application looked for libusb-1.0.0.0.dylib in /usr/local/lib

As is the application won't run.

This was helpful:

http://stackoverflow.com/questions/1770 ... not-loaded

Solution:

install_name_tool -change /usr/local/lib/libusb-1.0.0.0.dylib ./libusb-1.0.0.0.dylib xmosdfu

Now it works.

This can probably be pruned and packaged with a script so that it does the job without requiring too much confusing interaction from the end-user. It would be great to have some nominal GUI version of this app. that can be supplied with VID. PID in an accompanying text file. I hope something like that emerges.

 

Post Reply