Gilles Chanteperdrix wrote: > Brandt Erickson wrote: > > Hey, > > I'm trying to write a simple looping module to test out xenomai nucleus > > usage. The problem is, when I insert the module (code attached), only the > > printks from the initialization function ever get displayed and none from > > the indefinite loop. All the pod startup functions return success, so is > > the thread working and just not successfully sending the messages out or > > is the thread not starting up at all? Could someone tell me if I'm using > > the xenomai nucleus correctly? Thanks. > > -Brandt > > If you seriously intend to write a skin, you should have a look at the > simulator, it will allow you to run your skin in a debugger and to get > reproducible behaviours. >
...or an emulator. I'm using Qemu attached to ddd for such elementary kernel development now. The simulator is good to reproduce weird timing scenarios. The emulator is a bit closer to the real application environment, specifically if you plan to write a syscall interface for your skin. And Qemu can even generate multiple CPUs. The last SMP bug of Ipipe, e.g., was also "emulatable" (but was debugged on real hardware with kgdb first). Jan
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Xenomai-help mailing list [email protected] https://mail.gna.org/listinfo/xenomai-help
