This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Testing interrupts ???
- From: Matthieu dot GIRARDIN at fr dot thalesgroup dot com
- To: ecos-discuss at sources dot redhat dot com
- Date: Fri, 29 Aug 2003 17:15:40 +0200
- Subject: [ECOS] 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