This is the mail archive of the ecos-devel@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]

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


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