cyg_drv_interrupt_create() troubles
Stephen Mose Aaskov
sma@2m.dk
Thu Oct 3 03:12:00 GMT 2002
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
More information about the Ecos-devel
mailing list