Hi,
Thank you for your work.
How can I introduce the Web serveur in a project? compilation...
Is the UART replacing the Mac ethernet controler?
In this case what I have to do modifie for using a Mac controler? software
The simplest way to use the TCP/IP protocol stack is in single threaded mode. Call the function
void IPInit(IPFuncPtr FrameSendFunction)
With the name of the function that the TCP/IP protocol stack should call when it wants to send an Ethernet frame. When an Ethernet frame is received, call
int IPProcessEthernetPacket(IPFrame *frameIn)
to let the TCP/IP protocol stack process it.
As you noted, the UART is currently used to send and received the Ethernet packets. Using the functions above should permit a MAC Ethernet controller so be used instead.
To use the TCP/IP protocol stack in a multi-threaded mode, call IPInit(NULL). Look at uart.c to see how Ethernet packets are received and send. When an Ethernet packet is received from the MAC, call OS_MQueueSend(UartPacketMQueue, message). When Ethernet packets need to be transmitted, the TCP/IP stack will call UartPacketSend(). The MAC driver should then call OS_MQueueSend(UartPacketMQueue, message) when the Ethernet packet has been sent.
Did I answer the question?
Ok for the moment, until I developp a driver for the Ethernet MAC that I plan to use.
Excuse me but, where is the FrameSendFunction? Thank you
FrameSendFunction is a function pointer that you set when you call IPInit().
Ma Nishma?
Shalom
Yep, I think its right.
I think you are wrong.
Not bad man! Look what i founf hier!!!!!
I try it
MToik
Type your text here
You can use HTML-syntax in your message
Type your text here