DFU questions

Technical questions regarding the xTIMEcomposer, xSOFTip Explorer and Programming with XMOS.
User avatar
mon2
XCore Legend
Posts: 1831
Joined: Thu Jun 10, 2010 11:43 am

Re: DFU questions

Postby mon2 » Sat Feb 04, 2017 5:04 pm

dweeb4
Active Member
Posts: 52
Joined: Mon Jan 19, 2015 12:47 pm

Postby dweeb4 » Sat Feb 04, 2017 5:43 pm

This is more & more confusing - the Thesycon driver package I bought from DiyinHK works but has no dfucons.exe in it - it does have DIYINHKDfu app & this shows device connected & firmware version V21.01 - but it's just a GUI for upgrading firmware - no option to retrieve firmware

When I downloaded & installed the Thesyscon driver package you linked to & followed the instructions to move dfucons.exe into the release folder, it doesn't work - When I type "dfucons info" after moving it to that directory I get the message " no devices available"??

When I move the dfucons.exe app into the same folder as DIYINHKDfu, & try running it I get some error from api.dll??

Maybe I need to uninstall DIYINHK drivers ?
Last edited by dweeb4 on Sat Feb 04, 2017 6:19 pm, edited 1 time in total.
dweeb4
Active Member
Posts: 52
Joined: Mon Jan 19, 2015 12:47 pm

Postby dweeb4 » Sat Feb 04, 2017 6:14 pm

Can't install the Thesycon drivers with this card - only the DIYINHK Theyscon driver works!!
dweeb4
Active Member
Posts: 52
Joined: Mon Jan 19, 2015 12:47 pm

Postby dweeb4 » Sat Feb 04, 2017 6:35 pm

Where can I download xflash from? They all seem to be specific to different devices & there isn't a standalone one for XMOS, as far as I can see
User avatar
mon2
XCore Legend
Posts: 1831
Joined: Thu Jun 10, 2010 11:43 am

Postby mon2 » Sat Feb 04, 2017 11:47 pm

xflash is a component of the xtimecomposer download:

https://www.xmos.com/support/tools

The community edition is a free download. After it installs -> you will have a command prompt shell which will allow you to run the xflash utility.

Now that CNY is over, the vendor should be able to offer assistance with the purchase and how to reflash the PCB. It is possible that the vendor has applied custom USB IDs so that only their custom device driver will operate with the product. You can study the INF file and review the supported IDs to confirm this detail.

Also, review this thread:

http://www.xcore.com/viewtopic.php?f=26&t=3530
dweeb4
Active Member
Posts: 52
Joined: Mon Jan 19, 2015 12:47 pm

Postby dweeb4 » Sun Feb 05, 2017 1:22 am

Ah, thank you - I didn't know someone had tried this before - a year ago & seems to have succeded - I'll attempt to follow this, thanks

Nah, still can't get it working - when I run xflash (in bin folder of xtimecomposer) I get message "xsidevice.dll is missing"
When I move xflash.exe to diyinhk folder (where the dlls that work, are) I get the same message
dweeb4
Active Member
Posts: 52
Joined: Mon Jan 19, 2015 12:47 pm

Postby dweeb4 » Sun Feb 05, 2017 2:55 am

OK, found xsidevice.dll in some buried folder of xtimecomposer
But still no go with xflash command
User avatar
mon2
XCore Legend
Posts: 1831
Joined: Thu Jun 10, 2010 11:43 am

Postby mon2 » Sun Feb 05, 2017 2:22 pm

Which XTAG tool hardware version are you using ?

Install the same xtimecomposer tool (Community_14.1.1) as used by the other user and test again. There is no harm in installing an older version of the toolchain but of course the most recent version should also operate unless you are using an older XTAG tool (FTDI based ?) which I think is no longer supported. The XTAG-2 and XTAG-3 tool versions are recommended and supported by the later versions of the s/w tools.

Post the exact output from:

Code: Select all

xflash.exe -l
and

Code: Select all

xrun -l
Older xtimecomposer tools:

https://www.xmos.com/download/private/x ... 1.1%29.exe

https://www.xmos.com/published/xtimecom ... er?ver=all

Community_14.2.4 January 04, 2017 download
Community_14.2.3 October 20, 2016 download
Community_14.2.2 October 13, 2016 download
Community_14.2.1 July 20, 2016 download
Community_14.2.0 May 16, 2016 download
Community_14.1.2 December 17, 2015 download
Community_14.1.1 November 10, 2015 download
Community_14.1.0 July 27, 2015 download
Community_14.0.4 June 22, 2015 download
Community_14.0.3 May 27, 2015 download
Community_14.0.2 May 06, 2015 download
Community_14.0.1 April 01, 2015 download
Community_14.0.0 March 23, 2015 download
dweeb4
Active Member
Posts: 52
Joined: Mon Jan 19, 2015 12:47 pm

Postby dweeb4 » Sun Feb 05, 2017 3:17 pm

mon2 wrote:Which XTAG tool hardware version are you using ?
I'm using XTAG-3 & xtimecomposer 14.2.3. Just trying to interpret the leds lit on my board before I go any further as I susect there is a problem here. Reading the XTG-3 manual to see what led colours mean & I read this "The processor has ports that are directly connected to the I/O pins. Six LEDs are driven by the debugger, their function (clockwise, starting from the power button on the bottom right):"

Eh, there is no "power button on the bottom right" & reading "clockwise" from there makes no sense (who writes this stuff??)
Image


Here's my board diagram & the leds that are lit - starting at top right led & going clockwise - red, unlit, unlit, green , red, red
Image

So what does this mean?

Install the same xtimecomposer tool (Community_14.1.1) as used by the other user and test again. There is no harm in installing an older version of the toolchain but of course the most recent version should also operate unless you are using an older XTAG tool (FTDI based ?) which I think is no longer supported. The XTAG-2 and XTAG-3 tool versions are recommended and supported by the later versions of the s/w tools.

Post the exact output from:

Code: Select all

xflash.exe -l
and

Code: Select all

xrun -l
I get no output from either command - just a return to the command prompt
Older xtimecomposer tools:

https://www.xmos.com/download/private/x ... 1.1%29.exe

https://www.xmos.com/published/xtimecom ... er?ver=all

Community_14.2.4 January 04, 2017 download
Community_14.2.3 October 20, 2016 download
Community_14.2.2 October 13, 2016 download
Community_14.2.1 July 20, 2016 download
Community_14.2.0 May 16, 2016 download
Community_14.1.2 December 17, 2015 download
Community_14.1.1 November 10, 2015 download
Community_14.1.0 July 27, 2015 download
Community_14.0.4 June 22, 2015 download
Community_14.0.3 May 27, 2015 download
Community_14.0.2 May 06, 2015 download
Community_14.0.1 April 01, 2015 download
Community_14.0.0 March 23, 2015 download
User avatar
mon2
XCore Legend
Posts: 1831
Joined: Thu Jun 10, 2010 11:43 am

Postby mon2 » Sun Feb 05, 2017 5:13 pm

I get no output from either command - just a return to the command prompt
That does not sound right. Which operating system are you using ? Assuming Windows, enter your Device Manager -> Hardware and confirm that the XTAG tool is being detected properly in your box.

The supplied commands should dump the serial # of the XTAG-3 tool. So start with having only the XTAG-3 tool attached to a quality USB 2.0 compliant cable and confirm that the XTAG-3 tool is being detected by the s/w toolchain.

The power button on the XTAG-3 tool is shown in the schematics as SW1 but was not stuffed in production. Check the 4 landing pads with silkcreen SW1. The schematic has SW1 marked as DNF (do not fit).

Check the color of the USB insulator on your computer box - is it BLUE (USB3.0) or BLACK (USB2.0) ? If you have a choice, mate the XTAG-3 tool to the USB 2.0 (BLACK insulator) on your PC.

Also review this thread:
http://www.xcore.com/viewtopic.php?t=3964

Is this what you see now ?
Available XMOS Devices
----------------------

No Available Devices Found

Who is online

Users browsing this forum: No registered users and 1 guest