XScope library

Technical questions regarding the XTC tools and programming with XMOS.
User avatar
mon2
XCore Legend
Posts: 1913
Joined: Thu Jun 10, 2010 11:43 am

Post by mon2 »

Fairly sure the issue you are facing is more related to the use of the startKit.

https://www.xmos.com/download/private/D ... 1093A).pdf
* section 3

Image

The startKit does not feature the FTDI UART controller nor XTAG-1 debug adapter. For this reason, remove the sample init code shown in section 3. Earlier on, XMOS did have the FTDI UART onboard and then later an external XTAG-1, XTAG-2 and currently XTAG-3 debugger. These debuggers are used on the assorted SliceKit boards.

The XMOS startKit features an onboard debugger.

To debug using xscope with startKit, review one of the other working examples for the startKit - perhaps the dalek audio example:

https://github.com/xcore/sw_startkit_examples
With xSCOPE on startKIT, the key thing is to:

- Add the xscope_user_init constructor
- Add -fxscope switch to your make file
- Enable it in the run configuration tab in the GUI

That should be it - the xscope link is already connected inside the kit, and the entry is already in the XN file.
http://www.xcore.com/forum/viewtopic.php?f=47&t=4035

Also, keep this valuable file for reference during your code development:
https://github.com/xcore/sw_startkit_ex ... _mapping.h