How to use DFU loader for VF3100-L33 evaluation board

Voice related projects and technical discussions
Fabrizio
Member
Posts: 15
Joined: Fri Mar 02, 2018 6:05 pm

How to use DFU loader for VF3100-L33 evaluation board

Post by Fabrizio »

Hi all,
I am testing the XK-VF3100-L33 evaluation board.
I am interested in using
dfu loader
over USB (for Windows10).

I built
1i2o2_lin33_usbctl
configuration and flashed the resulting .xe
I read on this forum that I had to install Thesycon driver and then copy "dfucons.exe" console tool into the Thesycon install folder.
I did so, but when I run the command:
dfucons info
it prints:
No devices available
What am I wrong?

Thanks,
Fabrizio
Fabrizio
Member
Posts: 15
Joined: Fri Mar 02, 2018 6:05 pm

Post by Fabrizio »

Hi,
no one can give me some help with this problem?
Thanks
Fabrizio
User avatar
mon2
XCore Legend
Posts: 1913
Joined: Thu Jun 10, 2010 11:43 am

Post by mon2 »

Hi. Not an audio developer and really surprised that no one from factory or another developer with the same kit has not chimed in but...

a) does your compiled firmware function to offer you a working USB function? Do you see the USB widget appear under Device Manager? If not, review your source code as something is broken.

b) if yes to the above, have you enabled the DFU support?

From the following document:

https://www.xmos.com/developer/download ... 284%29.pdf

Code: Select all

https://www.xmos.com/developer/download/private/DFU-loader-for-XMOS-USB-Audio-devices%284%29.pdf
Section 2.1 - there is a define inside the customdefines.h that must be applied with a value of 1 to enable the DFU.

Has this been done?

Also review section 3 of the same document. Eventually Thesycon will want to win you over with their s/w as a paid business model so they must be able to offer quick pre-sales support. If not, wrong company to work with for your device driver / IP licensing. From our experience, if there is little or no support before the sale then often there is zero support after they have your monies.

Please post your results.
Fabrizio
Member
Posts: 15
Joined: Fri Mar 02, 2018 6:05 pm

Post by Fabrizio »

Hi,
thank you very much for your tips.

a) yes, I built the "1i2o2_usbctl" configurazion, with USB support.
Windows device manager recognizes my USB dev-kit.
I am able to play signal on it and record the micarray processed signal.

b) I added "-DDFU_CONTROL_USB=1" in the Makefile for this configuration, so DFU support should be enabled.
In devicedefines.h I found:
#define DFU (1)
as described in the pdf you suggested.

I also flashed the device following section 2 of the same document.
User avatar
mon2
XCore Legend
Posts: 1913
Joined: Thu Jun 10, 2010 11:43 am

Post by mon2 »

So, according to this document, section 6:

https://www.xmos.com/developer/download ... .0rc7).pdf

Code: Select all

https://www.xmos.com/developer/download/private/VocalFusion-Stereo-Control-Users-Guide(2.2.0rc7).pdf
this compiled firmware after unplug -> plug into the PC should emit 2 of USB functions where one of the functions should be XMOS DFU

Do you see a XMOS DFU USB device in the Device Manager tree? Do check the USB tree and also OTHER (if present) inside the Device Manager. See figure 6 of the above document.

Some good and recommended reading material (soon to be on the NYT Best Seller list):

https://www.xmos.com/developer/download ... .1rc5).pdf

Code: Select all

https://www.xmos.com/developer/download/private/sw_vocalfusion:-sw_vocalfusion-%5bGetting-Started-Guide%5d(1.1.1rc5).pdf
Fabrizio
Member
Posts: 15
Joined: Fri Mar 02, 2018 6:05 pm

Post by Fabrizio »

In Device Manager I can see 2 USB devices:

- XMOS Devices --> XMOS Microphone Array Control
- Other devices --> XMOS DFU

But XMOS DFU shows a yellow triangle: driver not installed.

In section 5 of the Vocalfusion-Control-Users_guide you attached is written:
Note that the XMOS DFU device remains unrecognized at this point. DFU host utilities are available for Raspberry Pi, Linux and macOS, please see VocalFusion Stereo software design guide.
User avatar
mon2
XCore Legend
Posts: 1913
Joined: Thu Jun 10, 2010 11:43 am

Post by mon2 »

This is a good start. Next, you must resolve the missing device driver for Windows to remove the yellow exclamation mark. Currently the dfu function is not visible to the other applications.

Enter this function and review the hardware ids to confirm which driver may be required. Once a proper device driver is installed, the dfu feature will work. A driver will contain an inf file with matching ids. This driver may be required to be sourced from Thesycon. Contact them with details of your status. Believe this is the approach necessary to move forward.