AVB LC Endpoint Webserver

Sub forums for various specialist XMOS applications. e.g. USB audio, motor control and robotics.
CrAzIaNhAx
Member
Posts: 10
Joined: Thu Mar 17, 2016 7:25 am

AVB LC Endpoint Webserver

Post by CrAzIaNhAx »

Hi,

I am trying to add a webserver to the app_avb_lc_demo [sw_avb_lc - 6.1.1rc1]. I have imported lib_xtcp and lib_webserver. lib_xtcp is dependant on lib_ethernet but the avb project already has module_ethernet included. I have tried porting lib_xtcp dependences to module_ethernet but have had no luck getting anything compiling. Am I approaching this the right way? Has anyone else got a webserver working with the avb endpoint demo?

Thanks,
Daniel


User avatar
infiniteimprobability
XCore Legend
Posts: 1126
Joined: Thu May 27, 2010 10:08 am

Post by infiniteimprobability »

Maybe this will give some pointers?

https://www.xmos.com/support/appnotes/an01001

There was an issue with memory meaning that listener only could work with webserver enabled, but that was with XS1 (64K per tile). xCORE200 has loads more memory (up to 4x) so should be fine..
CrAzIaNhAx
Member
Posts: 10
Joined: Thu Mar 17, 2016 7:25 am

Post by CrAzIaNhAx »

I did refer to AN01001 but I am sure if it is outdated or if I have the wrong files. I am using sc_avb - 6.4.1rc0, lib_xtcp 4.0.2 and lib_ethernet 3.1.2. As stated above lib_ethernet contains similar files to module_ethernet. I am unable to find the app_simple_webserver as mentioned in 2.3.1 of AN01001.
CrAzIaNhAx
Member
Posts: 10
Joined: Thu Mar 17, 2016 7:25 am

Post by CrAzIaNhAx »

I have successfully got the webserver running. The link on AN01001 directs you to the lib_modules. The correct libraries needed are available on github (https://github.com/xcore/). The modules there follow the instructions mentioned in AN01001.

For the webserver to work the AVB Talker needs to be disabled. Is it possible to run the AVB Talker and the webserver on the same XCore? Hardware upgrade or possibly disable AVB Talker only on webserver connection?