[ECOS] How to activate ethernet driver

Dennis S Incubus84@web.de
Tue Apr 7 21:10:00 GMT 2015


Good evening,
I have a question concerning the programming of the ethernet in eCos.

The current state is, that I can use some existent functions for the
MAC of my Embedded System located in /devs/eth. They provide the
possibility to access the hardware via HAL_WRITE(). The init function
is used in the NETDEV_TAB macro.

Additionally I wrote some drivers for the seperated PHY with the
obligatory "phy_stat" function. When I started debugging I was very
suprised, that either the init function of the mac nor some function
of the PHY driver was used (I set a brakpoint there and nothing
happens).

So my question is: do I have to activate some other things to get
the ethernet work? What possibilities are there to check the result?
By the way: the plan is to use a third party TCP-stack later.

Kind regards,
Dennis

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss



More information about the Ecos-discuss mailing list