xscope regression in 15.3.0

Technical questions regarding the XTC tools and programming with XMOS.
User avatar
lukehatpadl
Active Member
Posts: 50
Joined: Sat Jul 08, 2023 5:15 am

xscope regression in 15.3.0

Post by lukehatpadl »

With our custom XE232 board, xrun --xscope just hangs on 15.3.0; with 15.2.1, all is fine. xrun without --xscope is fine with both versions.
CiaranW
Verified
Junior Member
Posts: 5
Joined: Tue Jun 28, 2022 10:58 am

Post by CiaranW »

Hi, Thanks for reporting.

I'm not able to reproduce this on the boards we have here. Do you have any details on what you are trying to do with xscope? Has the firmware been built with the -fxscope flag?

If you're willing, it would be helpful to get some logs so I can try and identify what is going on. These might contain some of your program data - so you might want to create a minimal program that doesn't contain any sensitive information. (or you can private message me).

To collect the logs in tools 15.3, start xgdb with

Code: Select all

xgdb my_program.xe
Then enter the command

Code: Select all

connect --log-level=trace,xdbg::usb=warn --log-file=my_log.txt --xscope
(you can also use --adapter-id if you have multiple xtags)

and then

Code: Select all

run
your program will be loaded and run, and logs will be stored to my_log.txt.

After your program has loaded, wait a few seconds then you can Ctrl-C to halt the program, then to quit, type

Code: Select all

quit
Thanks,
Ciaran

PS: Additional xscope docs are available here: https://www.xmos.com/documentation/XM-0 ... index.html
User avatar
lukehatpadl
Active Member
Posts: 50
Joined: Sat Jul 08, 2023 5:15 am

Post by lukehatpadl »

PM'd.
User avatar
lukehatpadl
Active Member
Posts: 50
Joined: Sat Jul 08, 2023 5:15 am

Post by lukehatpadl »

You can also reach me at the email address corresponding to my handle; the mapping is fooatbar to foo@bar.com.