Hi mon2,
Thank you, but I already know that document. I still can't see the cause for this behavior. Maybe it has something to do with some faulty routing that was not detected by the compiler.
Search found 27 matches
- Fri Mar 30, 2018 11:23 pm
- Forum: XMOS Devices
- Topic: XUF216: XScope not working
- Replies: 4
- Views: 9139
- Fri Mar 30, 2018 12:28 am
- Forum: XMOS Devices
- Topic: XUF216: XScope not working
- Replies: 4
- Views: 9139
Re: XUF216: XScope not working
For some reason the program runs if i change the routingId of the xscope node from 0x8001 to 0x8000 and the package routingId to any 0xhhh0. If anyone has an idea why this might be, I would be very interested.
- Thu Mar 29, 2018 9:29 pm
- Forum: XMOS Devices
- Topic: XUF216: XScope not working
- Replies: 4
- Views: 9139
XUF216: XScope not working
Hi all, I have made a board with the XUF216-512 processor. It is booting fine and I can run programs on it using JTag as target I/O option. But when I try to run code with xScope target I/O option, it seems like the program gets stuck right at the very beginning. I am interfacing the board with the ...
- Wed Aug 30, 2017 2:31 pm
- Forum: Development Tools and Programming
- Topic: Basic XLink Demo
- Replies: 1
- Views: 3771
Basic XLink Demo
Hi. I have been trying to send integers between two startkits for weeks now. The dynamic configuration demo is no help. Whatever I do, I always get resource exceptions when I try to receive integers. I can't believe that there is not a single piece of code around for doing this ridiculously primitiv...
- Wed Aug 23, 2017 5:14 pm
- Forum: startKIT
- Topic: Xconnect Xlink / Link Problem
- Replies: 20
- Views: 38002
Re: Xconnect Xlink / Link Problem
Thank you, I appreciate your help a lot! Always makes me happy when someone puts effort into helping me :)
- Wed Aug 23, 2017 4:40 pm
- Forum: startKIT
- Topic: Xconnect Xlink / Link Problem
- Replies: 20
- Views: 38002
Re: Xconnect Xlink / Link Problem
When i comment out the outct, I still get the resource exception on the receive part.
I am surprised that there is no other thread on issues with xconnect. How do people setup anything if there is no document containing all necessary information?
I am surprised that there is no other thread on issues with xconnect. How do people setup anything if there is no document containing all necessary information?
- Wed Aug 23, 2017 4:02 pm
- Forum: startKIT
- Topic: Xconnect Xlink / Link Problem
- Replies: 20
- Views: 38002
Re: Xconnect Xlink / Link Problem
In the transmitting part: case 5: /* send data tokens */ /*if (!link_got_credit(LINK_NUM)) { comm_state = 4; break; }*/ unsafe { // outct((chanend)c,XS1_CT_WRITE4); outuint((chanend)c, 753); } if (err_ctr++ == SEND_CTRL_TOKEN) { err_ctr = 0; unsafe { outct((chanend)c, XS1_CT_ACK); //Send a control t...
- Wed Aug 23, 2017 3:55 pm
- Forum: startKIT
- Topic: Xconnect Xlink / Link Problem
- Replies: 20
- Views: 38002
Re: Xconnect Xlink / Link Problem
Yes I also tried that. It just gives me the same resource exception.
- Wed Aug 23, 2017 3:52 pm
- Forum: startKIT
- Topic: Xconnect Xlink / Link Problem
- Replies: 20
- Views: 38002
Re: Xconnect Xlink / Link Problem
I just took the exact code from the demo and it works for transmitting characters. I am sending integers from one end but the receiving end throws exceptions when I try to write the data to an integer variable. I doesn't throw exceptions when I write data to a char. This is why I thought that there ...
- Tue Aug 22, 2017 6:46 pm
- Forum: startKIT
- Topic: Xconnect Xlink / Link Problem
- Replies: 20
- Views: 38002
Re: Xconnect Xlink / Link Problem
The ET_ILLEGAL_RESOURCE exception in this case may indicate that there is something wrong with the chanend variable. Make sure that it is properly initialised. Also, when using statically-routed chanends as is done in the demo, you will usually not have much luck with the input and output operators...