This is the mail archive of the
ecos-devel@sources.redhat.com
mailing list for the eCos project.
cyg_drv_interrupt_create() troubles
- From: "Stephen Mose Aaskov" <sma at 2m dot dk>
- To: <ecos-devel at sources dot redhat dot com>
- Date: Thu, 3 Oct 2002 12:09:37 +0200
- Subject: cyg_drv_interrupt_create() troubles
I´m working on a port of a NE2000 driver to our platform (MIPS R3000, Davicom Eth. controller).
Currently I experience that the board crashes emidiatly after the call to cyg_drv_interrupt_create() in the driver_init function.
If I wrap the code in cyg_interrupt_disable()/enable I can defer the crash to after the cyg_interrupt_enable() call.
However, as I understand no activity involving the interrupt handler and interrupts should be possible until after a call to ..._interrupt_attach().
So all I have is a newly created interrupt object, that still manages to crash the board.
Anyone eager to help out a bit here??
Regards
Stephen Mose Aaskov
Engineer, R&D
2M ELECTRONIC A/S
Malervej 10, DK-2630 Taastrup
Denmark
Tel: +45 43300555 Fax: +45 43300567