DFU not working with xCore-200 board (Linux)
Posted: 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):
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.
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.