Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
20 years ago

Extracting Raw Ethernet Frames using NIOS II

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.

1 Reply

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    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