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

Testing interrupts ???


Well, hello everybody !

Try to imagine :
	I create a thread which create itself an interrupt (vector 29),
attach it and then stand by (for(;;)). 
	My isr function might just do a little "printf("\nOK !\n");
	As it compiled well, I launched the application.
	I tried then to launch a "kill -s 29 my_pid" under Linux, where
"my_pid" is the pid of my application eCos.

So if you understood my way of thinking :
	Can I do a printf in an isr or must I do it in my dsr ? (for the
moment there is no dsr)
	Can I send an signal from Linux to my eCos application ?
	(if not how to test interrupts under Linux with a synthetic target
?)

Thanks by advance ! 
Matthieu

-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss


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