Xscope hangs booting multi-tile L16->U8 board

Technical questions regarding the XTC tools and programming with XMOS.
pgbross
Member
Posts: 8
Joined: Fri Apr 16, 2010 1:08 pm

Xscope hangs booting multi-tile L16->U8 board

Post by pgbross »

DemoXscope.zip
Hi,
I have a problem with xscope hanging when it is booting a multi-tile custom board. The board has an L16 and a U8 part in a linear chain: xtag2 -> L16 -> U8.

When I run a simple program using xrun --io it boots and runs normally (with the updated XTag firmware from https://www.xcore.com/forum/viewtopic.p ... 4&start=10). If I run the program with xrun --xscope, then the boot process never completes, and there is no response from the target (the child xgdb spawned by xrun on Windows then consumes approx. 20% of the cpu until it is killed manually).

I have included the verbose output, and you can see it loading the images to the cores and then stops at the end with "Enable xscope on core 2 at address 0x1069c" and there is then no further output.

Is this a known problem that has been seen before, or is, perhaps, some routing issue it my XN file? There was a fault in the XTAG firmware that XMatt in the referenced forum thread posted a fix for the basic booting of the multi-tile board, and I just wonder if there is a similar fault in the xscope mechanism where it is enabling the routing between tiles.

In case it helps I have attached the simple demo with its source, xn file, and makefile.

any thoughts and things to try would be appreciated,
thanks
--Philip.

Code: Select all

C:\>xrun --xscope --verbose DemoXscope_Debug.xe
0x00010000 in _start ()
Loading setup image to XCore 0
Loading section .text, size 0x308 lma 0x10000
Loading section .cp.rodata, size 0x24 lma 0x10308
Loading section .dp.data, size 0x24 lma 0x1032c
Start address 0x10000, load size 848
Transfer rate: 118 KB/sec, 282 bytes/write.
Enable xscope on core 0 at address 0x10348
Loading setup image to XCore 1
Loading section .text, size 0x334 lma 0x10000
Loading section .cp.rodata, size 0x24 lma 0x10334
Loading section .dp.data, size 0x24 lma 0x10358
Start address 0x10000, load size 892
Transfer rate: 124 KB/sec, 297 bytes/write.
Enable xscope on core 1 at address 0x10374
Loading setup image to XCore 2
Loading section .text, size 0x19a lma 0x10000
Loading section .cp.rodata, size 0x24 lma 0x1019c
Loading section .dp.data, size 0x14 lma 0x101c0
Start address 0x10000, load size 466
Transfer rate: 113 KB/sec, 155 bytes/write.
Enable xscope on core 2 at address 0x101cc
First stage multi-node boot started
First stage multi-node boot completed
Loading application image to XCore 0
Loading section .text, size 0x7e4 lma 0x10000
Loading section .init, size 0x5c lma 0x107e4
Loading section .fini, size 0x3a lma 0x10840
Loading section .text.__call_exitprocs_impl, size 0x4 lma 0x1087c
Loading section .text._cleanup_impl, size 0x4 lma 0x10880
Loading section .rodata, size 0x4 lma 0x10884
Loading section .eh_frame, size 0x24 lma 0x10888
Loading section .cp.rodata, size 0x6 lma 0x108ac
Loading section .cp.const4, size 0xc lma 0x108b4
Loading section .cp.rodata.cst4, size 0xc lma 0x108c0
Loading section .ctors, size 0x8 lma 0x108cc
Loading section .dtors, size 0x4 lma 0x108d4
Loading section .dp.data, size 0x50 lma 0x108d8
Loading section .dp.rodata, size 0xe lma 0x10928
Start address 0x10000, load size 2354
Transfer rate: 109 KB/sec, 168 bytes/write.
Enable xscope on core 0 at address 0x10920
Loading application image to XCore 1
Loading section .text, size 0x57a lma 0x10000
Loading section .init, size 0x5c lma 0x1057a
Loading section .fini, size 0x3a lma 0x105d6
Loading section .text.__call_exitprocs_impl, size 0x4 lma 0x10610
Loading section .text._cleanup_impl, size 0x4 lma 0x10614
Loading section .rodata, size 0x4 lma 0x10618
Loading section .eh_frame, size 0x24 lma 0x1061c
Loading section .cp.rodata, size 0x6 lma 0x10640
Loading section .cp.const4, size 0x8 lma 0x10648
Loading section .cp.rodata.cst4, size 0xc lma 0x10650
Loading section .ctors, size 0x4 lma 0x1065c
Loading section .dp.data, size 0x44 lma 0x10660
Start address 0x10000, load size 1698
Transfer rate: 97 KB/sec, 141 bytes/write.
Enable xscope on core 1 at address 0x1069c
Loading application image to XCore 2
Loading section .text, size 0x57a lma 0x10000
Loading section .init, size 0x5c lma 0x1057a
Loading section .fini, size 0x3a lma 0x105d6
Loading section .text.__call_exitprocs_impl, size 0x4 lma 0x10610
Loading section .text._cleanup_impl, size 0x4 lma 0x10614
Loading section .rodata, size 0x4 lma 0x10618
Loading section .eh_frame, size 0x24 lma 0x1061c
Loading section .cp.rodata, size 0x6 lma 0x10640
Loading section .cp.const4, size 0x8 lma 0x10648
Loading section .cp.rodata.cst4, size 0xc lma 0x10650
Loading section .ctors, size 0x4 lma 0x1065c
Loading section .dp.data, size 0x44 lma 0x10660
Start address 0x10000, load size 1698
Transfer rate: 92 KB/sec, 141 bytes/write.
Enable xscope on core 2 at address 0x1069c
You do not have the required permissions to view the files attached to this post.


User avatar
sethu_jangala
XCore Expert
Posts: 589
Joined: Wed Feb 29, 2012 10:03 am

Post by sethu_jangala »

Have you seen the following post:
http://www.xcore.com/forum/viewtopic.ph ... 4&start=10
Does this fix your issue?

Sethu.