DFU questions

Technical questions regarding the XTC tools and programming with XMOS.
cps3113
New User
Posts: 3
Joined: Fri Apr 27, 2018 9:58 am

Post by cps3113 »

Hi dweeb4.
I wanted to ask.
Can I get a .bin file from you?


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

Post by dweeb4 »

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?
cps3113
New User
Posts: 3
Joined: Fri Apr 27, 2018 9:58 am

Post by cps3113 »

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
cps3113
New User
Posts: 3
Joined: Fri Apr 27, 2018 9:58 am

Post by cps3113 »

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

Post by mon2 »

@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
GeorgeIoak
Active Member
Posts: 56
Joined: Wed May 19, 2010 9:42 pm

Post by GeorgeIoak »

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
XFlash::DoXFlash
XFlash::DoReadWriteErase
XFlash_Programmer_Read::DoRead
XFlash_Programmer_Read::IssueCompileCommand
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!
Attachments
DIYINHK.zip
(36.96 KiB) Downloaded 175 times
DIYINHK.zip
(36.96 KiB) Downloaded 175 times
DeviceManager.png
(164.2 KiB) Not downloaded yet
DeviceManager.png
(164.2 KiB) Not downloaded yet
XUF216-512-TQ128-C20.xn
(1.81 KiB) Downloaded 174 times
XUF216-512-TQ128-C20.xn
(1.81 KiB) Downloaded 174 times
Post Reply