sln_voice on respeaker-lite, understanding dfu-util and .bin files

Technical questions regarding the XTC tools and programming with XMOS.
rufusbufus
New User
Posts: 3
Joined: Fri Dec 06, 2024 5:23 pm

sln_voice on respeaker-lite, understanding dfu-util and .bin files

Post by rufusbufus »

Hi Guys,
I'm new to XMOS devices and the eco-system.

I have a respeaker-lite board that used sln-voice as the building block for their hardware. So far they haven't released their sourcecode so I'm looking to try the sln-voice repo from the XMOS github. I have built the examples, and tried programming an example onto the board:

Code: Select all

dfu-util -R -e -a 1 -D example_ffva_ua_adec_altarch_data_partition.bin
dfu-util 0.11

Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2021 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to http://sourceforge.net/p/dfu-util/tickets/

Warning: Invalid DFU suffix signature
A valid DFU suffix will be required in a future dfu-util release
Deducing device DFU version from functional descriptor length
Cannot open DFU device 05ac:828f found on devnum 14 (LIBUSB_ERROR_NOT_SUPPORTED)
Opening DFU capable USB device...
Device ID 2886:0019
Device DFU version 0101
Claiming USB DFU Interface...
Setting Alternate Interface #1 ...
Determining device status...
DFU state(2) = dfuIDLE, status(0) = No error condition is present
DFU mode device DFU version 0101
Device returned transfer size 4096
Copying data from PC to DFU device
Download        [=========================] 100%      1048576 bytes
Download done.
DFU state(7) = dfuMANIFEST, status(0) = No error condition is present
DFU state(2) = dfuIDLE, status(0) = No error condition is present
Done!
Resetting USB to switch back to Run-Time mode
The respeaker shows up as a "respeaker 2 mics array" when I connect it to my windows machine (but under the "other device" category, with no driver loaded) . This might be Windows remembering an old respeaker device, but shows that the device is enumerating. However, I'm expecting it to become an audio device and it isn't.

Am I programming the board correctly?
Is there more than 1 file I need to program?

Please advise - I'd appreciate any suggestions, thank you!
rufusbufus
New User
Posts: 3
Joined: Fri Dec 06, 2024 5:23 pm

Post by rufusbufus »

ok, I worked it out. You need to convert the .xe file into the binary...

xflash --noinq --factory-version 15.2 --upgrade 0x0001 example_ffd_cyberon.xe -o cyberon.bin