- From: Omri Schwarz <ocschwar_at_MIT.EDU>
- Date: Wed, 23 Jun 2004 15:11:30 -0400
I'm continuing to flounder, so I might be missing a subtlety involving a macro, but am I correct in saying that ni_E_init(dev,it) doesn't actually read or modify the structure pointed to by the second argument 'it'? I've also noticed that the crash happens (very shortly) after comedi_config returns, which indicates to me that this could be a bit of a difficult debugging effort. > > It could cause a crash, but not with your board. It doesn't do a firmware > upload. If I were you, I'd put some debugging messages in > comedi_device_attach() (drivers.c), the driver's attach function which is > mostly ni_E_init() (ni_mio_common.c), and the interrupt handler > ni_E_interrupt (ni_mio_common.c). > > On Monday 21 June 2004 04:36 pm, Omri Schwarz wrote: > > > > In AMD 64, sizeof(void*) is 8 bytes, not 4, so the (void *) > > cast is bad and may be the cause of the crashes I am seeing. > > > > - -- > Frank > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.4 (GNU/Linux) > > iD8DBQFA13NP5vihyNWuA4URAp7nAJ9dvBSlpmZHIFMfcEPK/WukvpjNTwCfY9ta > Bfg2Q9GbZ6NdTjLLmHfvY78= > =8tJE > -----END PGP SIGNATURE----- > > _______________________________________________ > comedi mailing list > comedi_at_comedi.org > https://cvs.comedi.org/cgi-bin/mailman/listinfo/comedi
Received on 2004-06-23Z18:11:30