XC-2 software?

Technical discussions related to any XMOS development kit or reference design. Eg XK-1A, sliceKIT, etc.
User avatar
leon_heller
XCore Expert
Posts: 546
Joined: Thu Dec 10, 2009 10:41 pm
Location: St. Leonards-on-Sea, E. Sussex, UK.

XC-2 software?

Post by leon_heller »

I can't find this software mentioned on the XC-2 kit page:

# Embedded web server
# Interactive driver demo over ethernet

Does anyone know where it is? Links on that page would be useful.

I can't download any software on this page:

https://www.xmos.com/applications/avb


User avatar
leon_heller
XCore Expert
Posts: 546
Joined: Thu Dec 10, 2009 10:41 pm
Location: St. Leonards-on-Sea, E. Sussex, UK.

Post by leon_heller »

I raised a support ticket and Corin found the code for me. The demo I was after is app_xc2_firmware.1v3, in the TCP/IP Stack archive. It didn't work when I rebuilt it. :( The executable in the archive doesn't work, either. I've raised another support ticket.
User avatar
russf
XCore Addict
Posts: 146
Joined: Thu Dec 10, 2009 10:17 pm

Post by russf »

Both the XC-2 firmware and the simple webserver work for me.
My dev platform is OSX (10.4.1 build 1719) and my XC-2 has version 2v0.
You said you had 10.4.2. Perhaps that's the cause?

I'm trying to attain a high send speed, for a connection initiated by the XC-2 to a server. I'm currently at the point where I can send up to about 50 messages without incident, then something blocks. And if I remove my debug prints, I can't even send the first packet.

I'm finding the documentation a bit thin (basically it's a header file, a few post of non-functional code on the forum, and what you can extract from the firmware sources.

I'd love to have a dialog with anyone who has managed significant send performance on the XC-2.

Here is my repository, where you can follow me as I make progress. http://github.com/topiaruss/xmostcptests -- For now, I'm kludging my changes into simple webserver, xhttpd.xc.

To run it, you need to configure a tcpip server with 192.168.2.166, and run the python dummy_server I supply in the root of the repos. The server listens on port 8008, and prints incoming packets. Then run the simple web server.

What's the best send speed anyone has achieved?

--r.