Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
12745 Discussions

Extracting Raw Ethernet Frames using NIOS II

Altera_Forum
Honored Contributor II
1,056 Views

Hello All, 

 

For the most part, I am a newbie to the NIOS world and I am wondering how I can extract raw Ethernet frames from the LAN91C111 chip on my board, without an RTOS. Basically, I want to do the following: 

 

Tx Link 

(1) Extract inbound Raw Ethernet Frames, from LAN chip 

(2) Move the Ethernet Frames to an SRAM buffer, for further transfer to an RF Modem 

 

Rx Link 

(1) Move inbound data (demodulated Ethernet frame) from RF Modem to SRAM Buffer  

(2) Take data and send to LAN chip-- For this step, can I simply send the full Ethernet Frame to the LAN chip, or do I need to send the payload only? 

 

Currently I am working with the Cyclone II SDK Eval board.  

 

In future iterations of this project, I would like to use ucLinux to do this; any suggestions on how to get started fitting my application to ucLinux?  

 

Any help you could offer would be greatly appreciated. Thank you very much.
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
367 Views

Hi, 

 

I think you can start from the Standalone LWIP version you can download from the forum, and take a look at the interface used by LWIP to connect itself to the LAN component... 

 

PJ
0 Kudos
Reply