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++

Manual ethernet settings

Altera_Forum
Honored Contributor II
895 Views

hallo , 

Does somebody know how to inintialize ethernet ,after making ethernet settings manuallly in ecos config tool. 

 

thanks, 

NIrav
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
197 Views

Hi nirav, 

 

> Does somebody know how to inintialize ethernet 

 

First, you should review the description of the the configuration option for 

manual configuration (e.g. CYGHWR_NET_DRIVER_ETH0_MANUAL): [emphasis added]<div class='quotetop'>QUOTE </div> 

--- Quote Start ---  

If this option is selected, the eCos library provides no initialization code 

for this interface; you must perform all the initialization in the application, 

by means of appropriate ioctl() calls, or by calling init_net() with an 

appropriate bootp record you have constructed yourself.[/b] 

--- Quote End ---  

 

Second, use the force and review the following in the packages/net tree: 

-- sockio.h 

-- network_support.c 

-- bootp_support.c 

 

It should answer most of your questions. 

 

Regards, 

--Scott
0 Kudos
Reply