How to test and debug using XTC Tools (v15)

Technical questions regarding the XTC tools and programming with XMOS.
lelsteph
Newbie
Posts: 1
Joined: Thu Aug 17, 2023 6:39 am

How to test and debug using XTC Tools (v15)

Post by lelsteph »

Hello

My name is Stephane and I am new to XMOS. I successfully configured and compile the code for USB Audio Hardware platform using XU216. Now I want to test it, because I do not yet have the HW, I wanted to use XSIM. I am using XTC Tools.
How can we test and debug code? I am lost? How do configure Visual Studio Code to step by step and set break points, change / monitor variables etc... ?

Thank you very much for your help!

Stephane.


User avatar
Ross
XCore Expert
Posts: 968
Joined: Thu Dec 10, 2009 9:20 pm
Location: Bristol, UK

Post by Ross »

To simulate the complete USB Audio design on xsim would be a huge task - all the peripherals would have to be implemented as plugins for xsim, and even so the run time would be huge. Xsim is a cycle accurate simulator really for smaller tasks.