Forum Discussion

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

Bare metal Ethernet example

Hi

Is there any bare metal example of using HPS EMAC? Some low level functions to control EMAC module. I can't find any in hwlib directory. I'm also interested in UDP support for bare metal applications. What is the programming model for this interface? Has anyone worked with Ethernet controller not from U-Boot or Linux?

Thanks

1 Reply

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

    I have not come across one and to implement one from scratch would be a lot of work. It would probably be possible to port a light weight UDP stack to it but if that hasn't already happened then again that could be a lot of work. Even with Nios you typically run a network stack with an OS to add networking capabilities.