Exception:
Code: Select all
xrun: Program received signal ET_ILLEGAL_RESOURCE, Resource not valid.
0x0001044c in wakeCore ()
Code: Select all
/*
============================================================================
Name : xk1-concurrent.xc
Description : Testing XLinks
============================================================================
*/
#include <platform.h>
#include <stdio.h>
void input(chanend o);
void output(chanend i);
int main(void) {
chan c;
par {
on stdcore[0] :
input(c);
on stdcore[0] :
output(c);
}
return 0;
}
void input(chanend o) {
printf("Test Begin\n");
while (1) {
o <: ((unsigned) 15);
}
}
void output(chanend i) {
unsigned t;
while (1) {
i :> t;
printf("Read %i\n",t);
}
}
XN File:
From what I can see, I think this is a problem with establishing a connection. Is this right?
EDIT: These boards (but only 2): https://xcore.com/forum/viewtopic.php?f=8&t=1465