Forum Discussion
Altera_Forum
Honored Contributor
15 years ago --- Quote Start --- 1) Use File -> New -> Nios II Application and BSP from Template 2) simple "Hello World" is OK 3) Steps 25-28: Right-click project lwIP_NIOS_II_Example and select Properties, expand <Nios II Application Properties>, select <Nios II Application Paths>, add the paths into <Application include directories> --- Quote End --- Thanks, will try this out. --- Quote Start --- As for the performance, probably it is possible to tweak lwIP or Iniche to meet your goal, but I would vote for hardware streaming (see UDPOFFLOAD example; ref in msg.# 36 this thread). In my project I use that cores for transmitting only, but receiving ones are also available. lwIP still can be used in background to handle non real-time communications (e.g. web-server or console). --- Quote End --- I've done transmit part using hardware implementation, however if I want full RTP implementation, I need RTSP and RTCP support. That RTCP control stuff (handshaking etc), should be done in lwIP. Now for receive part, my idea was to open a socket with defined protocol (in my case - UDP) and port. Then stream all the received data to the logic interconnect. I still need ARP/ping/etc, because data transfers doesn't begin if there's no ARP response. If I would choose fully hardware receive interface, then it would be like catching wind in the fields: checking many parameters, e.g. if the packet is ipv4, protocol udp, port, length, etc... Then all these things combined would allow packet to be moved for futher processing. Using a stack, I would like to use a socket for UDP and listen for certain port. All checksumming can be done in hardware. I hope to reach at least 200Mbps of rx stream using this method.