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.
DFU not working with xCore-200 board (Linux)
-
- New User
- Posts: 2
- Joined: Fri Aug 24, 2018 7:24 pm
-
- XCore Legend
- Posts: 1913
- Joined: Thu Jun 10, 2010 11:43 am
-
- Newbie
- Posts: 1
- Joined: Fri Nov 23, 2018 11:11 am
Thanks for sharing! I had the same question!mon2 wrote:http://www.xcore.com/viewtopic.php?t=5051