This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PowerPC FEC interrupt handler problem


Khasim wrote:
> 
> Greetings.
> 
> I am porting ecos to Mpc860 based processor. I have built the TCP/IP stack
> and FEC driver. The FEC interrupt handler is not at all called when I ping
> from other system.

When you are using your own hardware, you may have to adapt the FEC
driver.
The driver is currently written for the Viper board. Look in function
fec_eth_init (file if_fec.c) for the section "// Reset PHY" and change
the IOs appropriate to your hardware design (as a quick workaround).

> 
> I am getting one more warning saying ESA unknown.Can any body say what is
> ESA why it is telling ESA unknown?
>

ESA is the Ethernet- (or MAC-) address (i think so). If the init
function does not find a Flash configuration (= ESA unknown) it uses a
default address. I have to fix this myself, but for now this
configuration is working for me.
 
> How exactly the FEC interrupt handler is called when an interrupt occurs can
> anybody explain.
> 
> With regards.
> 
> Khasim
> 
> --
> Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
> and search the list archive: http://sources.redhat.com/ml/ecos-discuss

-- 
Wolfgang Heppner

High Speed Kamerasysteme  - Abt. Bildsensorik (ESY-B)
High Speed Camera Systems - Dept. Electronic Imaging (ESY-B)

Fraunhofer                            
Institut Integrierte Schaltungen
Angewandte Elektronik

Am Wolfsmantel 33 
91058 Erlangen       
(Germany)

Tel:   +49 (0) 9131 776 528
Fax:   +49 (0) 9131 776 598

email: hep@iis.fhg.de
web:   http://www.iis.fhg.de

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]