Help: Binary (xs1_revb) does not match architecture (xs2_re Topic is solved

If you have a simple question and just want an answer.
Dyang
Member++
Posts: 17
Joined: Tue Nov 01, 2016 2:06 am

Help: Binary (xs1_revb) does not match architecture (xs2_re

Post by Dyang »

I buy the xCORE-200 Multichannel Audio Platform,But it happened(Binary (xs1_revb) does not match architecture (xs2_re) when I Debug audio software on board.
I find someway on web,someone resolve the question by select the targert: 2 x200,but when I build ,I don't see that choice.
I tried to edit Makefile by change Target to XCORE-200-EXPLORER , something wrong when I build.
what should I do? help!


View Solution
Dyang
Member++
Posts: 17
Joined: Tue Nov 01, 2016 2:06 am

Post by Dyang »

AnyBody????
Now,I change the Makefile and I can build project,But somethingerror :
"xmap: Error: Failed to find library "libxud_l.a"."
I look for the path "workspace-xmos/module_xud/lib/", xs1b floder has it
But xs2a floder has not,
Anyone do this project ?? I am not sure that I download the right SDK (sw_usb_audio-[sw]_6.15.2rc1.zip )?
User avatar
johned
XCore Addict
Posts: 185
Joined: Tue Mar 26, 2013 12:10 pm
Contact:

Post by johned »

Hello Dyang,
In order to build the USB audio reference design for the xCORE-200 multichannel card you need to build app_usb_aud_xk_216_mc.
Full details are in the USB Audio Design Guide that you can download from the MC page on our website : https://www.xmos.com/support/boards?product=18334
Best regards,
John
Dyang
Member++
Posts: 17
Joined: Tue Nov 01, 2016 2:06 am

Post by Dyang »

johned wrote:Hello Dyang,
In order to build the USB audio reference design for the xCORE-200 multichannel card you need to build app_usb_aud_xk_216_mc.
Full details are in the USB Audio Design Guide that you can download from the MC page on our website : https://www.xmos.com/support/boards?product=18334
Best regards,
John



Thank you very much! I can debug on my board now!Thanks!
Dyang
Member++
Posts: 17
Joined: Tue Nov 01, 2016 2:06 am

Post by Dyang »

Dear John,
I can debug on board now,but I can‘t use it as USB sound card,Because my pc don’t have those printk:
[ 2287.206874] usb 3-4: new high-speed USB device number 4 using xhci_hcd
[ 2287.223431] usb 3-4: New USB device found, idVendor=20b1, idProduct=0008
[ 2287.223437] usb 3-4: New USB device strings: Mfr=1, Product=3, SerialNumber=0
[ 2287.223440] usb 3-4: Product: xCORE USB Audio 2.0
[ 2287.223443] usb 3-4: Manufacturer: XMOS
[ 2287.236071] input: XMOS xCORE USB Audio 2.0 as /devices/pci0000:00/0000:00:14.0/usb3/3-4/3-4:1.4/input/input13
[ 2287.236222] hid-generic 0003:20B1:0008.0003: input,hidraw1: USB HID v1.10 Device [XMOS xCORE USB Audio 2.0] on usb-0000:00:14.0-4/input4

I tried all the configure,But it does't work....
I also tried to edit "customdefines.h" ...

Can you tell me which config I should use? And Need I to edit "customdefines.h"?


When I flash xe,Console display :

Warning: F03098 Factory image and boot loader cannot be write-protected on flash device on node 0
Site 0 has started.
Site 0 has type 004.
Site 0 write 0x00000000.
Site 0 verified 0x00000000.
Site 0 write 0x00000400.
......
Site 0 has finished successfully.

Is it right?


Thanks!
User avatar
johned
XCore Addict
Posts: 185
Joined: Tue Mar 26, 2013 12:10 pm
Contact:

Post by johned »

Hello Dyang,
The xflash result is correct.
Have you tried to build for both UAC1 and UAC2 ? Are you getting the same error for both ?
This works fine with my Windows and Linux machines.
What OS are you using ?
Best regards,
John
Dyang
Member++
Posts: 17
Joined: Tue Nov 01, 2016 2:06 am

Post by Dyang »

Dear John,
I use cmds :xmake CONFIG=2i10o10xssxxx all or xmake CONFIG=1i2o2xxxxxx all
when I build project,there is no error but some warning.eg :
warning: PRODUCT_STR_A2 not defined. Using default XMOS string
#warning PRODUCT_STR_A2 not defined. Using default XMOS string
Does it matter?
Then I flash xe.

My OS is ubuntu 14.04 64-bit.

After that,
I restart the board and plug the board into the USB port,and I can't see any USB device...

What did I do wrong?


ps : When I flash xe,Will tile[0] and tile[1] be updated ?

Thanks!
User avatar
johned
XCore Addict
Posts: 185
Joined: Tue Mar 26, 2013 12:10 pm
Contact:

Post by johned »

Hi Dyang,

This should work fine. Please can I ask you to build the 1i202xxx.... option and try in a Windows machine, to ensure that this is not a Linux problem.
1i202xxx.... will mean that you will not require a driver in Windows.

Best regards,
John
Dyang
Member++
Posts: 17
Joined: Tue Nov 01, 2016 2:06 am

Post by Dyang »

Dear John,
I build 1i2o2xxxxxx on win7 32-bit, but it still don't work.
I have bought two board,and another works ok..
I am afraid to flash another board...
User avatar
johned
XCore Addict
Posts: 185
Joined: Tue Mar 26, 2013 12:10 pm
Contact:

Post by johned »

When you plug the flashed board into Windows does it work as a sound card ?
When you have flashed the board it is best to power cycle it.
You will not damage the board by flashing it.
Are you saying that one board works and the other doesn't ?

Best regards,
John
Post Reply