Search found 9 matches

by maxwinkel
Tue May 16, 2017 7:03 am
Forum: Development Tools and Programming
Topic: Distributable Task / Channels
Replies: 1
Views: 3076

Distributable Task / Channels

Hi all, first of all I'm sorry - I realize similar questions have already been asked before, but I could not really find the answer I'm looking for: I'm currently running into the problem, that on one tile I'm exceeding the number of availbe channels ends. I have a task running on tile 0 serving an ...
by maxwinkel
Mon May 08, 2017 2:02 pm
Forum: Development Tools and Programming
Topic: RGMII Buffering Bug
Replies: 3
Views: 4243

Re: RGMII Buffering Bug

Hi Peter, I agree, your patch will work if the HP queue is not used. But I'm afraid in the case, that the HP queue is used, the problem will persist if the LP client is too slow picking up the packets. It should be assured, that the client queue does not run empty. If free packet descriptors are nee...
by maxwinkel
Fri May 05, 2017 2:25 pm
Forum: Development Tools and Programming
Topic: RGMII Buffering Bug
Replies: 3
Views: 4243

RGMII Buffering Bug

Hi all, I'm working with the RGMII interface of the XCore200 with the lib_ethernet library. So far, my application is now working pretty well. But... I've found, that if I send 64 byte packets at full line rate to the interface, suddenly my user application does not get any packets from the lib_ethe...
by maxwinkel
Thu May 04, 2017 9:36 am
Forum: Development Tools and Programming
Topic: RGMII lib_ethernet crashes (XCore200)
Replies: 8
Views: 6618

Re: RGMII lib_ethernet crashes (XCore200)

It's reassuring to know that our chips can (just about) function with such a low core voltage when doing heavy lifting! Yes, I was really supprised when I saw the 0.7V (without network traffic - i.e. most threads idle waiting for events) and still it's (mostly) working. You guys really did a great ...
by maxwinkel
Thu May 04, 2017 9:06 am
Forum: Development Tools and Programming
Topic: RGMII lib_ethernet crashes (XCore200)
Replies: 8
Views: 6618

Re: RGMII lib_ethernet crashes (XCore200)

Hi all, after seeing the bit error in the last screenshot I also got the idea, that the core power supply might be insufficient. I've check the supplies before (at the output of the converters), but now indeed I've found a filter which was rated for 300 mA only (instead of up to 1.5A according to th...
by maxwinkel
Wed May 03, 2017 4:20 pm
Forum: Development Tools and Programming
Topic: AN00120_100Mbit_ethernet_demo crashes
Replies: 6
Views: 6600

Re: AN00120_100Mbit_ethernet_demo crashes

Hi all! I don't know, if its still relevant: I can confirm the problem, as I had the same. The crash basically is a null pointer exception happening when the user application does not pick up the received packets. The intermediate MII task does pick up all the packets, but keeps the first packet in ...
by maxwinkel
Wed May 03, 2017 4:02 pm
Forum: Development Tools and Programming
Topic: RGMII lib_ethernet crashes (XCore200)
Replies: 8
Views: 6618

Re: RGMII lib_ethernet crashes (XCore200)

Hi all, with -O3, the code still crashes. Now I've caught this one: ET_ILLEGAL_RESOURCE.PNG ldw r0, sp[0xd] // r0 = *(sp + 4*14) setv res[r0], r11 // set event vector for resource pointed to by r0 to r11 The content of the memory at the given location is 0x80191302. However, r0 has a value of 0x8019...
by maxwinkel
Wed May 03, 2017 3:07 pm
Forum: Development Tools and Programming
Topic: RGMII lib_ethernet crashes (XCore200)
Replies: 8
Views: 6618

Re: RGMII lib_ethernet crashes (XCore200)

Hi! Thank you for the suggestion. I was compiling without optimization all the time, but due to the module build info, the lib_ethernet was compiled with -O3. I've now compiled all my code with -O3 and it's currently running - let's see. But still, it should work with or without optimization. I have...
by maxwinkel
Wed May 03, 2017 9:21 am
Forum: Development Tools and Programming
Topic: RGMII lib_ethernet crashes (XCore200)
Replies: 8
Views: 6618

RGMII lib_ethernet crashes (XCore200)

Hi all, I'm currently debugging a very strange problem and now think I'm finally at a point where I need your help: I have a small board featuring an XMOS XCore200 (XE232-1024), a Gigabit Ethernet PHY connected to the RGMII interface at Tile 3 and another 100 Mbit PHY connected via MII to Tile 2. Th...