USB-Audio-2.0-Device-Reference-Design-Software(6.1.0)[12.2.0

Technical discussions related to any XMOS development kit or reference design. Eg XK-1A, sliceKIT, etc.
AlexAdvice
XCore Addict
Posts: 138
Joined: Sun Feb 23, 2014 11:30 am

USB-Audio-2.0-Device-Reference-Design-Software(6.1.0)[12.2.0

Post by AlexAdvice »

Hello,

I try to run USB-Audio-2.0-Device-Reference-Design-Software(6.1.0)[12.2.0] with XTAG-w under debugger, and it is not recognized by PC.
I do not make any changes in SW, just compile and run 2ioxs confuguration.

P.S. I'm totally newbie, so forgive me a stupid questions.


AlexAdvice
XCore Addict
Posts: 138
Joined: Sun Feb 23, 2014 11:30 am

Post by AlexAdvice »

At the end - looks like I kill my board, now it and does not recognized by PC even w/o XTAG and I don't know how to return it to the factory default state.
Will try to reanimate it tomorrow.
User avatar
Ross
XCore Expert
Posts: 962
Joined: Thu Dec 10, 2009 9:20 pm
Location: Bristol, UK

Post by Ross »

Make sure you are running the correct application for the board. See the readme file if you are unsure.
AlexAdvice
XCore Addict
Posts: 138
Joined: Sun Feb 23, 2014 11:30 am

Post by AlexAdvice »

Ross wrote:Make sure you are running the correct application for the board. See the readme file if you are unsure.
First of all, I want to return the board to the initiate (factory) state, because now it is dead.

I downloaded precompiled image : app_usb_aud_l1_2ioxs.xe from USB-Audio-2.0-L1-Binary(6.1.0)[12.2.0].

Then I run the command prompt, and make:
xflash app_usb_aud_l1_2ioxs.xe

I see:
Warning: F03098 Factory image and boot loader cannot be write-protected on flash
device on node "0".
Site 0 has finished.
xflash succeeded
After that I disconnect XTAG from the board, re-connect board to USB, and...
nothing happens.
Thesycon driver does not see the board.
Windows device manager saw "USB Audio Device" with the yellow "!" sign.
Only VBUS Led is lit on the board.
At the device properties I can see the correct VID (20B1), PID (0002), FW Revision (06.10).

Please help me somebody! I cannot move forward!

P.S. If I make: xflash app_usb_aud_l1_1ioxs.xe - everithing works fine! (Of course,at 44/48 Fs only).
So, firmware with UAC1 works, firmware with UAC2 - not, I tried both, app_usb_aud_l1_2iomx.xe and app_usb_aud_l1_2ioxs.xe.
All this happens after I tried to flash the compiled FW from GUI xTime Composer.
User avatar
Ross
XCore Expert
Posts: 962
Joined: Thu Dec 10, 2009 9:20 pm
Location: Bristol, UK

Post by Ross »

Sounds like you need to re-install the Thesycon driver.
sivakumar
Member
Posts: 11
Joined: Tue Aug 02, 2011 3:24 pm

Post by sivakumar »

Hi Alex,
I think you have extracted the Evaluation Kit but haven't installed the driver yet. Assuming you haven't changed the path, the driver installation files could be found in c:\Theysycon\TUSBAudio_v2.19.0\EvaluationKit\DriverPackages\release\. You need to run the setup to install the driver.

Hope this works!
AlexAdvice
XCore Addict
Posts: 138
Joined: Sun Feb 23, 2014 11:30 am

Post by AlexAdvice »

sivakumar wrote:Hi Alex,
I think you have extracted the Evaluation Kit but haven't installed the driver yet. Assuming you haven't changed the path, the driver installation files could be found in c:\Theysycon\TUSBAudio_v2.19.0\EvaluationKit\DriverPackages\release\. You need to run the setup to install the driver.

Hope this works!
Thanks.
The driver was installed, of course, but.... windows........
I'm also think that something happened with the driver, after I flashed 1ioxs (it works in UAC1 that not need the drivers).

I tried to re-install the driver, and after the 3-nd try it starts to work!
So, it was the default firmware, now I will try to make the same with re-compiled FW.
AlexAdvice
XCore Addict
Posts: 138
Joined: Sun Feb 23, 2014 11:30 am

Post by AlexAdvice »

OK, it works now, thank you to all.
I tied to change configuration in customdesign.h and it also works.

But, a question from a novice in Eclipse - when i change configuration in the Build listbox (1iocs, 2iomx, 2ioxs) where ther is an implementation of this?
It defines a system variavles, but where these variables are checked?
Can somebody point me?
Thanks.
User avatar
Ross
XCore Expert
Posts: 962
Joined: Thu Dec 10, 2009 9:20 pm
Location: Bristol, UK

Post by Ross »

They are listed in the Makefile
AlexAdvice
XCore Addict
Posts: 138
Joined: Sun Feb 23, 2014 11:30 am

Post by AlexAdvice »

The line XCC_FLAGS_configname ?

And another newbie question - where CPU is defined?
I want to make simlified design, but with XS1-L6A-64-TQ48-C5, what I should change?
Post Reply