DFU not working with xCore-200 board (Linux)

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

DFU not working with xCore-200 board (Linux)

Postby Kirill » Fri Oct 19, 2018 7:10 pm

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):
viewtopic.php?f=47&t=4025&p=25509&hilit=linux+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: 1298
Joined: Thu Jun 10, 2010 11:43 am
Contact:

Postby mon2 » Tue Oct 23, 2018 5:42 pm

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

Postby Etaoko » Fri Nov 23, 2018 1:44 pm

mon2 wrote:http://www.xcore.com/viewtopic.php?t=5051


Thanks for sharing! I had the same question!

Who is online

Users browsing this forum: No registered users and 17 guests