From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 103051 invoked by alias); 7 Apr 2015 21:10:50 -0000 Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Received: (qmail 103026 invoked by uid 89); 7 Apr 2015 21:10:45 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=1.2 required=5.0 tests=AWL,BAYES_00,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_RP_MATCHES_RCVD autolearn=no version=3.3.2 X-HELO: mout.web.de Received: from mout.web.de (HELO mout.web.de) (212.227.17.11) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Tue, 07 Apr 2015 21:10:44 +0000 Received: from [192.168.178.27] ([93.130.73.139]) by smtp.web.de (mrweb102) with ESMTPSA (Nemesis) id 0M4qav-1ZcFf319Nl-00z1tk for ; Tue, 07 Apr 2015 23:10:40 +0200 Message-ID: <552447CE.7090807@web.de> Date: Tue, 07 Apr 2015 21:10:00 -0000 From: Dennis S User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: ecos-discuss@ecos.sourceware.org Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-UI-Out-Filterresults: notjunk:1; X-IsSubscribed: yes Subject: [ECOS] How to activate ethernet driver X-SW-Source: 2015-04/txt/msg00000.txt.bz2 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