This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TIVA: Running web server based on silverlight

Other Parts Discussed in Thread: TMP100

Hello,

The sample code for the TIVA board contains web server written with Java script.

Is it possible to write a web server with Microsoft's silverlight ?

Is it possible that the web application will interact with the TIVA?

For example, I want that every 1 sec, this application will read temp. from the on board TMP100 and  upon button click will send a message via UART0

Thanks,

Zvika

  • Hi Zvika,

    Can you explain more about your proposed architecture? Your question is rather confusing.

    For example, are you wanting to run the webserver on the Tiva C board or do you want to run the webserver on another device (like a computer server) and then have that communicate with the Tiva to get temperatures.

    If you are wanting to run the webserver on the Tiva C and use Silverlight, then I suspect your biggest issue will be size, as a Silverlight XAML files can get quite large and will take up a fair bit of flash, and I don't think there is much to spare if you are including a TCP/IP stack. But if you do manage to fit it all in, then it should be doable, as most of the work is done on the client side in the browser. You will need to consider how you refresh the data and other such issues.

    An alternative way would be to have a simple webserver on the Tiva C, using the sample code you have seen, and then have a webserver on a computer running a Silverlight Application perform a get request for the temperature whenever it needs it.

    I do not understand what you mean by the last bit regarding pressing a button and sending a message to a UART and how this has anything to do with your webserver. 

    Glenn.

  • I just checked out your previous posts and notice you are using the TM4C129 and not the TM4C123, in this case you will have a lot more space in the flash, and you also have a micro-sd slot to utilise. 

    You could possibly also use a flash drive via the USB. This would also be possible with the TM4C123. But I couldn't say how this would perform.

    Glenn.