I am working on an application in which I need to send data continuously to the network from zybo. I have looked at the Echo server example but it is sensitive to the listening mode. It listen to the network all the time. It send data to network whenever there is data from the network to the zynq otherwise zynq don't send anything to network.
My task is to send 32 bit of data upon every micro-second from zynq to PC over ethernet. Is there anything better and recommended other then LwIP for my application ?
I am not sure which function in the main () I need to modify in LwIP. Here is the section of the main ().
print_ip_settings(&ipaddr, &netmask, &gw);
/* start the application (web server, rxtest, txtest, etc..) */
start_application();
/* receive and process packets */
while (1) {
if (TcpFastTmrFlag) {
tcp_fasttmr();
TcpFastTmrFlag = 0;
}
if (TcpSlowTmrFlag) {
tcp_slowtmr();
TcpSlowTmrFlag = 0;
}
xemacif_input(echo_netif);
transfer_data();
}
Question
joniengr081
Hi,
I am working on an application in which I need to send data continuously to the network from zybo. I have looked at the Echo server example but it is sensitive to the listening mode. It listen to the network all the time. It send data to network whenever there is data from the network to the zynq otherwise zynq don't send anything to network.
My task is to send 32 bit of data upon every micro-second from zynq to PC over ethernet. Is there anything better and recommended other then LwIP for my application ?
I am not sure which function in the main () I need to modify in LwIP. Here is the section of the main ().
print_ip_settings(&ipaddr, &netmask, &gw); /* start the application (web server, rxtest, txtest, etc..) */ start_application(); /* receive and process packets */ while (1) { if (TcpFastTmrFlag) { tcp_fasttmr(); TcpFastTmrFlag = 0; } if (TcpSlowTmrFlag) { tcp_slowtmr(); TcpSlowTmrFlag = 0; } xemacif_input(echo_netif); transfer_data(); }
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.