DFU not working with xCore-200 board (Linux)

Technical discussions related to any XMOS development kit or reference design. Eg XK-1A, sliceKIT, etc.
Post Reply
Kirill
New User
Posts: 2
Joined: Fri Aug 24, 2018 7:24 pm

DFU not working with xCore-200 board (Linux)

Post by Kirill »

Hi, wondering if anyone has stumbled into issues trying to get DFU to work. Especially on linux.

I followed these instructions to compile the loader for linux (Debian 9 in my case):
http://www.xcore.com/viewtopic.php?f=47 ... dfu#p25509

But when trying to use it with a stock xCore-200 eval board (even without any code modifications), it does not report any issues and appears to be happy, but does not work.
When doing an upload, it returns with a file size of 0
When doing a download, it makes the board unresponsive after its finished (if I flash with the same binary through xTimeComposer, the board works again).

Is there any avenue for debug? I looked for different DFU flags that may not have been enabled, but do not see anything wrong.

Example:
xmosdfu --upload test.bin
VID = 0x20b1, PID = 0x8
XMOS DFU application started - Interface 3 claimed
Detaching device from application mode.
Waiting for device to restart and enter DFU mode...
VID = 0x20b1, PID = 0x8
... DFU firmware upgrade device opened
... Uploading image (test.bin) from device
... Returning device to application mode

The file test.bin is created and is size 0.


User avatar
mon2
XCore Legend
Posts: 1913
Joined: Thu Jun 10, 2010 11:43 am
Contact:

Post by mon2 »

Etaoko
Newbie
Posts: 1
Joined: Fri Nov 23, 2018 11:11 am

Post by Etaoko »

Thanks for sharing! I had the same question!
Post Reply