xrun --io --verbose --xscope-realtime --xscope-file log.txt app_usb_aud_mic_array_2i8o2.xe ,my windows PC is not recognized as audio class device.
and as well TUSBAudio Control panel not shows
Here is info collected when I ran below command and as well see dumpstate info
C:\Users\nyadla\Desktop\Backup\XMOS\sw_usb_audio\app_usb_aud_mic_array\bin\2i8o2>xrun --io --verbose --xscope-realtime --xscope-file log.txt app_usb_aud_mic_array_2i8o2.xe
cmd xgdb
cmd -q
cmd --return-child-result
cmd --ex
cmd "set $xcore_id=0"
cmd --ex
cmd "set $xcore_boot=0"
cmd -x
cmd C:\Users\nyadla\AppData\Local\Temp/.xrun11248-W935GSHD/xeload_auto.gdb
cmd --ex
cmd quit
cmd "app_usb_aud_mic_array_2i8o2.xe"
cmd
cmd
0x00040000 in _start ()
Loading setup image to XCore 0
Loading section .text, size 0x18c lma 0x40000
Loading section .cp.rodata, size 0x18 lma 0x4018c
Loading section .dp.data, size 0x1c lma 0x401a4
Start address 0x40000, load size 448
Transfer rate: 48 KB/sec, 149 bytes/write.
xSCOPE enabled on tile 0 at address 0x401b8
Loading setup image to XCore 1
Loading section .text, size 0x40 lma 0x40000
Loading section .cp.rodata, size 0x18 lma 0x40040
Loading section .dp.data, size 0x8 lma 0x40058
Start address 0x40000, load size 96
Transfer rate: 4 KB/sec, 32 bytes/write.
xSCOPE enabled on tile 1 at address 0x40058
First stage multi-node boot started
First stage multi-node boot completed
Loading application image to XCore 0
Loading section .crt, size 0xac lma 0x40000
Loading section .init, size 0x1a lma 0x400ac
Loading section .fini, size 0x2e lma 0x400c6
Loading section .text, size 0x43cc lma 0x400f8
Loading section .eh_frame, size 0x94 lma 0x444c8
Loading section .cp.rodata, size 0x2bca lma 0x44560
Loading section .cp.rodata.4, size 0x64 lma 0x4712c
Loading section .cp.const4, size 0x34 lma 0x47190
Loading section .cp.rodata.cst4, size 0x48 lma 0x471c4
Loading section .cp.rodata.string, size 0x42 lma 0x4720c
Loading section .ctors, size 0x2c lma 0x47250
Loading section .dtors, size 0x28 lma 0x4727c
Loading section .dp.data, size 0x100 lma 0x472a8
Loading section .dp.data.4, size 0x6c lma 0x473a8
Loading section .dp.rodata.4, size 0x28 lma 0x47414
Start address 0x40000, load size 29736
Transfer rate: 138 KB/sec, 1982 bytes/write.
xSCOPE enabled on tile 0 at address 0x473a0
Loading application image to XCore 1
Loading section .crt, size 0xac lma 0x40000
Loading section .init, size 0x1a lma 0x400ac
Loading section .fini, size 0x2e lma 0x400c6
Loading section .text, size 0x95e0 lma 0x40100
Loading section .eh_frame, size 0x44 lma 0x496e0
Loading section .cp.rodata, size 0x6a lma 0x49728
Loading section .cp.rodata.4, size 0x55c lma 0x49794
Loading section .cp.const4, size 0x38 lma 0x49cf0
Loading section .cp.rodata.const4, size 0x4 lma 0x49d28
Loading section .cp.rodata.cst4, size 0xe0 lma 0x49d2c
Loading section .cp.rodata.string, size 0xe6 lma 0x49e0c
Loading section .ctors, size 0x58 lma 0x49ef4
Loading section .dtors, size 0x54 lma 0x49f4c
Loading section .dp.data, size 0xb78 lma 0x49fa0
Loading section .dp.data.4, size 0x8c lma 0x4ab18
Loading section .dp.rodata, size 0x4 lma 0x4aba8
Loading section .dp.rodata.4, size 0x58 lma 0x4abac
Start address 0x40000, load size 44012
Transfer rate: 138 KB/sec, 2588 bytes/write.
xSCOPE enabled on tile 1 at address 0x4ab10
C:\Windows\system32>cd C:\Users\nyadla\Desktop\Backup\XMOS\sw_usb_audio\app_usb_aud_mic_array\bin\2i8o2
C:\Users\nyadla\Desktop\Backup\XMOS\sw_usb_audio\app_usb_aud_mic_array\bin\2i8o2>crun -l
'crun' is not recognized as an internal or external command,
operable program or batch file.
C:\Users\nyadla\Desktop\Backup\XMOS\sw_usb_audio\app_usb_aud_mic_array\bin\2i8o2>xrun -l
Available XMOS Devices
----------------------
ID Name Adapter ID Devices
-- ---- ---------- -------
0 XMOS XTAG-3 UjOUSAsm O[0]
C:\Users\nyadla\Desktop\Backup\XMOS\sw_usb_audio\app_usb_aud_mic_array\bin\2i8o2>xrun --dumpstate app_usb_aud_mic_array_2i8o2.xe
Program received signal SIGBUS, Bus error.
[Switching to tile[1] core[0] (dual issue)]
audio.task.0 (frame=<value optimized out>) at C:/Users/nyadla/Desktop/Backup/XMOS/sc_usb_audio/module_usb_audio/audio.xc:1276
1276 c_pdm_in <: 0;
***** Active Cores *****
7 tile[1] core[3] 0x000441ea in buffer (c_aud_out=32, c_aud_in=1, c_sof=20, c_aud_ctl=2, p_off_mclk=<value optimized out>) at C:/Users/nyadla/Desktop/Backup/XMOS/sc_usb_audio/module_usb_audio/usb_buffer/usb_buffer.xc:487
6 tile[1] core[2] 0x00043730 in handle_audio_request (c_mix_out=300552) at C:/Users/nyadla/Desktop/Backup/XMOS/sc_usb_audio/module_usb_audio/usb_buffer/decouple.xc:336
5 tile[1] core[1] (dual issue) array_to_xc_ptr () at C:/Users/nyadla/Desktop/Backup/XMOS/sc_usb_audio/module_usb_audio/usb_buffer\xc_ptr.h:13
* 4 tile[1] core[0] (dual issue) audio.task.0 (frame=<value optimized out>) at C:/Users/nyadla/Desktop/Backup/XMOS/sc_usb_audio/module_usb_audio/audio.xc:1276
3 tile[0] core[2] (dual issue) 0x00042648 in xscope_constructor () at xscope_api.c:79
2 tile[0] core[1] (dual issue) input_7_1 () at C:/Users/nyadla/Desktop/Backup/XMOS/lib_mic_array/lib_mic_array/src/decimate_to_pcm_4ch.S:614
1 tile[0] core[0] (dual issue) 0x00040ba8 in handle_audio_request (c_mix_out=2147615746) at C:/Users/nyadla/Desktop/Backup/XMOS/sc_usb_audio/module_usb_audio/usb_buffer/decouple.xc:178
Thread 7 (tile[1] core[3]):
***** Call Stack *****
#0 0x000441ea in buffer (c_aud_out=32, c_aud_in=1, c_sof=20, c_aud_ctl=2, p_off_mclk=<value optimized out>) at C:/Users/nyadla/Desktop/Backup/XMOS/sc_usb_audio/module_usb_audio/usb_buffer/usb_buffer.xc:487
#1 0x16bdaf6c in ?? ()
Backtrace stopped: frame did not save the PC
***** Disassembly *****
0x441ea <buffer+450>: in (2r) r0, res[r9] *
0x441ec <buffer+452>: add (2rus) r0, r4, 0x0
0x441ee <buffer+454>: add (2rus) r1, r6, 0x0
0x441f0 <buffer+456>: add (2rus) r2, r5, 0x0
0x441f2 <buffer+458>: add (2rus) r3, r8, 0x0
***** Registers *****
r0 0x7bfcd91a 2080168218
r1 0x9 9
r2 0x1 1
r3 0x1 1
r4 0x2 2
r5 0x14 20
r6 0x1 1
r7 0x20 32
r8 0x7f600 521728
r9 0x301 769
r10 0x4e20 20000
r11 0x80031102 -2147282686
cp 0x45840 284736
dp 0x45b50 285520
sp 0x7f570 521584
lr 0x4493e 280894 USB_StandardRequests + 1514
pc 0x441ea 279018 buffer + 450
sr 0x0 0
spc 0x0 0
ssr 0x0 0
et 0x0 0
ed 0x0 0
sed 0x0 0
kep 0x40080 262272
ksp 0x441ea 279018
Thread 6 (tile[1] core[2]):
***** Call Stack *****
#0 0x00043730 in handle_audio_request (c_mix_out=300552) at C:/Users/nyadla/Desktop/Backup/XMOS/sc_usb_audio/module_usb_audio/usb_buffer/decouple.xc:336
#1 0x0a000301 in ?? ()
Backtrace stopped: frame did not save the PC
***** Disassembly *****
0x43730 <handle_audio_request+684>: testct (2r) r11, res[r10] *
0x43732 <handle_audio_request+686>: bt (ru6) r11, 0x25
0x43734 <handle_audio_request+688>: in (2r) r1, res[r10] *
0x43736 <handle_audio_request+690>: testct (2r) r11, res[r10] *
0x43738 <handle_audio_request+692>: bf (ru6) r11, 0xf
***** Registers *****
r0 0x49608 300552
r1 0x7fca0 523424
r2 0x7fc9c 523420
r3 0x78 120
r4 0x49508 300296
r5 0x0 0
r6 0x49608 300552
r7 0x2c 44
r8 0x49888 301192
r9 0x7fd9c 523676
r10 0x80030802 -2147284990
r11 0x0 0
cp 0x45840 284736
dp 0x45b50 285520
sp 0x7fc80 523392
lr 0x40ba0 265120 PllInit + 44
pc 0x43730 276272 handle_audio_request + 684
sr 0x40 64
spc 0x0 0
ssr 0x0 0
et 0x0 0
ed 0x0 0
sed 0x0 0
kep 0x40080 262272
ksp 0x43730 276272
Thread 5 (tile[1] core[1] (dual issue)):
***** Call Stack *****
#0 array_to_xc_ptr () at C:/Users/nyadla/Desktop/Backup/XMOS/sc_usb_audio/module_usb_audio/usb_buffer\xc_ptr.h:13
#1 updateMasterVol () at C:/Users/nyadla/Desktop/Backup/XMOS/sc_usb_audio/module_usb_audio/endpoint0/audiorequests.xc:142
#2 updateVol (unitID=<value optimized out>, channel=<value optimized out>, c_mix_ctl=<value optimized out>) at C:/Users/nyadla/Desktop/Backup/XMOS/sc_usb_audio/module_usb_audio/endpoint0/audiorequests.xc:216
#3 0x00000000 in ?? ()
***** Disassembly *****
0x42944 <updateVol+84>: waiteu (0r) *
0x42946 <updateVol+86>: nop (0r)
0x42948 <updateVol+88>: add (2rus) r0, r6, 0x0
0x4294a <updateVol+90>: ldw (ru6) r1, sp[0xd]
0x4294c <updateVol+92>: ldaw (ru6) r2, sp[0x13]
***** Registers *****
r0 0x0 0
r1 0x0 0
r2 0x0 0
r3 0x0 0
r4 0x80030f02 -2147283198
r5 0x80030402 -2147286014
r6 0x80030c02 -2147283966
r7 0x80030602 -2147285502
r8 0x80030a02 -2147284478
r9 0x498d8 301272
r10 0x49450 300112
r11 0x42960 272736
cp 0x45840 284736
dp 0x45b50 285520
sp 0x7fe30 523824
lr 0x42824 272420 device_reboot_aux + 152
pc 0x42944 272708 updateVol + 84
sr 0x141 321
spc 0x0 0
ssr 0x0 0
et 0x0 0
ed 0x0 0
sed 0x0 0
kep 0x40080 262272
ksp 0x42944 272708
Thread 4 (tile[1] core[0] (dual issue)):
***** Call Stack *****
#0 audio.task.0 (frame=<value optimized out>) at C:/Users/nyadla/Desktop/Backup/XMOS/sc_usb_audio/module_usb_audio/audio.xc:1276
#1 0x17ff6802 in ?? ()
Backtrace stopped: frame did not save the PC
***** Disassembly *****
0x424f0 <audio.task.0+456>: bf (lru6) r0, 0x2c
0x424f4 <audio.task.0+460>: ldw (lru6) r0, dp[0x1049]
0x424f8 <audio.task.0+464>: ldw (lru6) r1, dp[0x104a]
0x424fc <audio.task.0+468>: stw (lru6) r10, dp[0x103f]
0x42500 <audio.task.0+472>: ldw (lru6) r3, dp[0x103b]
***** Registers *****
r0 0x0 0
r1 0x0 0
r2 0x4950c 300300
r3 0x20000000 536870912
r4 0x80030002 -2147287038
r5 0xac44 44100
r6 0xfffffffc -4
r7 0x17 23
r8 0x61e 1566
r9 0x1 1
r10 0x0 0
r11 0x408cc 264396
cp 0x45840 284736
dp 0x45b50 285520
sp 0x7fec8 523976
lr 0x40fb8 266168 AudioHwConfig + 152
pc 0x424f0 271600 audio.task.0 + 456
sr 0x102 258
spc 0x425fc 271868 _Susb_audio_core_0.task.XUD_Manager.0 + 4
ssr 0x102 258
et 0x0 0
ed 0x0 0
sed 0x0 0
kep 0x40080 262272
ksp 0x424f0 271600
Thread 3 (tile[0] core[2] (dual issue)):
***** Call Stack *****
#0 0x00042648 in xscope_constructor () at xscope_api.c:79
#1 0xf611bbb2 in ?? ()
Backtrace stopped: frame did not save the PC
Current language: auto; currently minimal
***** Disassembly *****
0x42648 <xscope_constructor+196>: nop (0r)
0x4264a <xscope_constructor+198>: ldw (3r) r7, r0[r7]
0x4264c <xscope_constructor+200>: xor (l3r) r7, r7, r11
0x42650 <xscope_constructor+204>: outpw (l2rus) res[r6], r7, 0x10 *
0x42654 <xscope_constructor+208>: nop (0r)
***** Registers *****
r0 0x458b8 284856
r1 0x40000000 1073741824
r2 0x1 1
r3 0x1e 30
r4 0x0 0
r5 0x0 0
r6 0x10300 66304
r7 0x1 1
r8 0xf 15
r9 0x1e 30
r10 0x0 0
r11 0x0 0
cp 0x44e8c 282252
dp 0x45330 283440
sp 0x7f9c0 522688
lr 0x42aa8 273064 _cleanup + 0
pc 0x42648 271944 xscope_constructor + 196
sr 0x180 384
spc 0x0 0
ssr 0x0 0
et 0x0 0
ed 0x0 0
sed 0x0 0
kep 0x40080 262272
ksp 0x42648 271944
Thread 2 (tile[0] core[1] (dual issue)):
***** Call Stack *****
#0 input_7_1 () at C:/Users/nyadla/Desktop/Backup/XMOS/lib_mic_array/lib_mic_array/src/decimate_to_pcm_4ch.S:614
#1 0x000415b0 in input_6_1 () at C:/Users/nyadla/Desktop/Backup/XMOS/lib_mic_array/lib_mic_array/src/decimate_to_pcm_4ch.S:610
#2 0x000415b0 in input_6_1 () at C:/Users/nyadla/Desktop/Backup/XMOS/lib_mic_array/lib_mic_array/src/decimate_to_pcm_4ch.S:610
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
Current language: auto; currently asm
***** Disassembly *****
0x415e8 <input_7_1+20>: in (2r) r6, res[r2] *
0x415ea <input_7_1+22>: nop (0r)
0x415ec <input_7_1+24>: out (r2r) res[r0], r6 *
0x415ee <input_7_1+26>: nop (0r)
0x415f0 <input_7_1+28>: setsr (u6) 0x1
***** Registers *****
r0 0x80020002 -2147352574
r1 0x80020102 -2147352318
r2 0x80020302 -2147351806
r3 0x45e78 286328
r4 0x46160 287072
r5 0x2 2
r6 0x0 0
r7 0x0 0
r8 0x0 0
r9 0x0 0
r10 0x0 0
r11 0x0 0
cp 0x44e8c 282252
dp 0x45330 283440
sp 0x7f988 522632
lr 0x415b0 267696 input_6_1 + 12
pc 0x415e8 267752 input_7_1 + 20
sr 0x140 320
spc 0x0 0
ssr 0x0 0
et 0x0 0
ed 0x0 0
sed 0x0 0
kep 0x40080 262272
ksp 0x415e8 267752
Thread 1 (tile[0] core[0] (dual issue)):
***** Call Stack *****
#0 0x00040ba8 in handle_audio_request (c_mix_out=2147615746) at C:/Users/nyadla/Desktop/Backup/XMOS/sc_usb_audio/module_usb_audio/usb_buffer/decouple.xc:178
#1 0x00000000 in ?? ()
Current language: auto; currently c
***** Disassembly *****
0x40ba8 <handle_audio_request+416>: in (2r) r4, res[r4] *
0x40baa <handle_audio_request+418>: nop (0r)
0x40bac <handle_audio_request+420>: bitrev (2r) r4, r4
0x40bae <handle_audio_request+422>: ldw (ru6) r10, sp[0x12]
0x40bb0 <handle_audio_request+424>: bf (lru6) r10, 0xc
***** Registers *****
r0 0x80020402 -2147351550
r1 0x10800 67584
r2 0x0 0
r3 0x10c00 68608
r4 0x10a00 68096
r5 0x10900 67840
r6 0x10e00 69120
r7 0x10d00 68864
r8 0x10b00 68352
r9 0x10f00 69376
r10 0x80020602 -2147351038
r11 0x0 0
cp 0x44e8c 282252
dp 0x45330 283440
sp 0x7fdc0 523712
lr 0x41308 267016 divide_by_n_1_1 + 8
pc 0x40ba8 265128 handle_audio_request + 416
sr 0x140 320
spc 0x0 0
ssr 0x0 0
et 0x0 0
ed 0x1 1
sed 0x0 0
kep 0x40080 262272
ksp 0x40ba8 265128
C:\Users\nyadla\Desktop\Backup\XMOS\sw_usb_audio\app_usb_aud_mic_array\bin\2i8o2>

