Debugging multi-tile application

Technical questions regarding the XTC tools and programming with XMOS.
Guest

Debugging multi-tile application

Post by Guest »

Hello
I'm new to XMOS.
I use SliceKit with XS1-L16A-128-QF124 chip.
I have no problew with setting breakpoints in xTIMEcomposer in applications without explicitli specified tiles.
But if I try to set a breakpoint in the following test application in f() function,
the application does not stop on the breakpoint.
Moreover, if I try to pause execution manually, IDE hangs until I disconnect USB from XTAG.

Code: Select all

#include <platform.h>
#include <xs1.h>


out port p   = on tile[1]:XS1_PORT_4A;


void f(void) {
	while(1)
	{
		p <: 1;
		p <: 0;
	}
}

int main() {
	par	{
		on tile[1]: {
			f();
		}
	}
}
Am I doing something wrong?