DFU questions

Technical questions regarding the xTIMEcomposer, xSOFTip Explorer and Programming with XMOS.
New User
Posts: 3
Joined: Fri Apr 27, 2018 9:58 am

Re: DFU questions

Postby cps3113 » Fri Apr 27, 2018 10:22 am

Hi dweeb4.
I wanted to ask.
Can I get a .bin file from you?
Active Member
Posts: 52
Joined: Mon Jan 19, 2015 12:47 pm

Postby dweeb4 » Fri Apr 27, 2018 10:47 am

Hi cps
I had a disk crash which had all my XMOS stuff on it & haven't gone back to it
You can get this .bin file yourself if you follow the instructions, no?
New User
Posts: 3
Joined: Fri Apr 27, 2018 9:58 am

Postby cps3113 » Sat Apr 28, 2018 1:23 pm

Hi dweeb4.
I can not get the original .bin because I already erased it.
It's too bad that you could not help.
Can tell me who to ask.
DIYINHK does not send his .bin
New User
Posts: 3
Joined: Fri Apr 27, 2018 9:58 am

Postby cps3113 » Sun Apr 29, 2018 4:01 pm

Hi dweeb4.
I can not get my .bin file.
I asked you in the hope of restoring my diyinhk.
User avatar
XCore Legend
Posts: 1889
Joined: Thu Jun 10, 2010 11:43 am

Postby mon2 » Fri May 22, 2020 5:01 pm

@cps3113, are you still looking for this missing firmware?

Which kit from the vendor DIYINHK do you have?

Considering to source a low cost audio PCB for experiments. To reflash the XMOS CPU, you will need to have the XTAG3 tool. Do you have this external JTAG tool?
User avatar
Active Member
Posts: 52
Joined: Wed May 19, 2010 9:42 pm

Postby GeorgeIoak » Sun Mar 28, 2021 7:41 pm

I know this is an ancient thread but I thought I'd add to it instead of starting a new one. I have this board (https://www.diyinhk.com/shop/audio-kits ... d-pcb.html) from them which has the XUF-512-TQ128-C20A. I've attached my XN file that I used to read from the board. The XN file is not complete as it doesn't have the I2S pin definitions yet. It seems like they may have used the same pins as one of the reference boards but they don't supply a schematic for this board.

It's been 10 years since I've worked with XMOS devices so I'm trying to dust off old cob webs and remember what I need to do. I have a couple of questions that hopefully someone can help me with as I'm not having a lot of luck so far going alone with this.
  • When I connect the board to my Win10 PC it enumerates successfully without any drivers but when I check the details I only see up to 24-bit 384kHz options. I read that the default Windows driver supported 32-bit so I'm a little confused by that.
  • No matter what driver I download and install (Thesycon, XMOS, DIYINHK) I cannot seem to find a driver that enumerates the DIYINHKDFU, When I check the USB VID/PID (USB\VID_20B1&PID_2009&REV_7683&MI_02
    ) it shows XMOS as the VID so assume that the downloaded drivers would work. Since I can't get the DFU to work I can't use dfucon to grab the image and compare it to what I was able to get with xflash.
  • It took about 10 minutes to run the xflash command to read all from the part, that seems rather long, is there something I'm doing wrong or are the default xflash settings not ideal?
Here's my xflash command:

Code: Select all

c:\Temp\xmos>xflash -v --read-all -o DIYINHK_DIYINHK.bin --target-file C:\Users\george\workspace\justatest\XUF216-512-TQ128-C20.xn
xcc -w -Xmapper --dontenablesodlinks  -x xn "C:\Users\george\workspace\justatest\XUF216-512-TQ128-C20.xn" -O2 -lquadspi -D xnPORT_SQI_CS0=PORT_SQI_CS -D xnPORT_SQI_SCLK0=PORT_SQI_SCLK -D xnPORT_SQI_SIO0=PORT_SQI_SIO -x xc "fr-e3caf267" -o "fr-c209d50d"
XFlash_Utils::BuildRunCommand : xrun --io fr-c209d50d
Thanks in advance for your help!
You do not have the required permissions to view the files attached to this post.

Who is online

Users browsing this forum: No registered users and 2 guests