This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
How to activate ethernet driver
- From: Dennis S <Incubus84 at web dot de>
- To: ecos-discuss at ecos dot sourceware dot org
- Date: Tue, 07 Apr 2015 23:10:38 +0200
- Subject: How to activate ethernet driver
- Authentication-results: sourceware.org; auth=none
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