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.
Hello,
Are there any reference documents that can help me implement a web server using the F28335 and an external Ethernet controller?
I need a way so that the web server can allow someone to control the device using a computer and a web browser. The server needs to be able to upload compiled java bytecode (applets). I am envisioning something with capabilities similar to the demo game code that comes with the EK-LM3S8962.
One of the things I haven't figured out is how to combine the java bytecode with the F28335 firmware so that I can burn them both to Flash at the same time.
Any tips on where I can find info or F28335 code will be greatly appreciated.
Thank you!
I am not 100% sure on this but I think there are no reference documents for using the F28335 as a web server (as this is not one of its primary functions). As for holding the java bytecode there are two ways of doing this:
1) Assembly
Make an assembly file as shown:
_JavaByteCode:
.word 0000h
.word 0000h
etc. (Insert your values instead of the 0000h)
2) C
Define a constant array as such
const Uint16 JavaByteCode[] =
{0x0000, 0x0000....} etc.
Now this may seem a long winded process but it is much easier (this is the way i've done it in the past for other F28 variants) to convert your bytecode to the above format using a program written in (C,Python, Java, Matlab etc.).
Tim
That's a good idea. I'll do it that way if I have to. It'll be easy to write a program to do that in C.
I was also hoping that someone have some way to trick the linker to do it auto-magically.
I agree, the F28335 wasn't inteneded to be a web server - I was hoping that someone else had also tried it and won't mind me stealing some ideas from them. It would be even better if I don't have to implement TCP and do everything in UDP; that'll keep resource-use lower - but maybe it's just a wishful fantasy.
The idea of using the F28 series with ethernet was something I had heard of long ago when I first used the F2812. So I did a web search and found this:
http://www.spectrumdigital.com/product_info.php?&products_id=193
Its for the F2812 eZdsp board, but it shouldn't be hard to re-engineer it to fit the F28335. Hope this helps.
Tim
Edit: If you want to find other information/maybe some code I suggest searching for "F28 ethernet" or "F2812 ethernet". I'm not sure anyone has done what you have done with a F28335 but they may have with a F2812 (since its been around for much longer). Any code will be 95% compatible (the peripheral names have changed slightly but other than that converting C code from one processor to the other will be simple).
A company called Windmill Innovations offered a solution for the F2812 years ago. I'm not sure if they still do.
We know that many 28x solutions would like to add connectivity, and we are addressing...stay tuned.
Sorry, this is a rather old post, but I just did find it...
The eZdsk91C111 board fits both the eZdspF2812 and the eZdspF28335. A web-server example readily exists. For more information please see
http://www.dsignt.de/products/dsk/ezdsk91c111.html
Regards, A.Klemenz