Re: Interrupt Problem in Our custom Serial Driver
- From: "Yannick Chamming's [eMVP]" <ychammings_nospam@xxxxxxxxxx>
- Date: Tue, 4 Jul 2006 07:34:10 +0200
unless you're using an HW debugger like JTAG probe, you cannot put
breakpoint in the ISR.
But at least you can set some leds or things like that to check entering and
exiting of the function for your specific interruption
This is the first thing to check, ie the fact that you receive an HW
interrupt, your ISR is correctly activated and returns the right SYSINTR.
Once this is checked, you can focus on the IST and the driver
--
----------------------------------------------------------------
Yannick Chamming's (eMVP)
ADENEO (ADESET)
Windows Embedded Manager
ychammings AT adeneo DOT adetelgroup DOT com>
http://www.adeset.com
Tél : +33 (0)4.72.18.57.77
Fax : +33 (0)4.72.18.57.78
----------------------------------------------------------------
"Embedded Engineer" <miteshkoradia@xxxxxxxxx> a écrit dans le message de
news: 1151928537.811205.40390@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
i have not implemented my own ISR, i am using the existing serial
driver's ISR...
and can u tell me , where the execution goes as soon as an interrupt
comes from hardware..........? so i can put a break point there (in
existig serial driver) to what is happing when interrupt
comes............
thanks so much !!!!!!
Yannick Chamming's [eMVP] wrote:
The first thing is to check if your ISR is called when HW interrupt
occurs.
Have you checked this ?
--
----------------------------------------------------------------
Yannick Chamming's (eMVP)
ADENEO (ADESET)
Windows Embedded Manager
ychammings AT adeneo DOT adetelgroup DOT com>
http://www.adeset.com
Tél : +33 (0)4.72.18.57.77
Fax : +33 (0)4.72.18.57.78
----------------------------------------------------------------
"Embedded Engineer" <miteshkoradia@xxxxxxxxx> a écrit dans le message de
news: 1151742545.411791.145810@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
HI all,
i am currently writting a driver for serial port on CEPC as a part of
driver develpment training.
i have done all init. required for the serial port. and i am able to
transmit the data bet my developement pc(using hyper terminel ) and
CEPC (i have used READ_PORT_UCHAR() and WRITE_PORT_UCHAR() for that).
but i am not getting any interrupt in my driver. i.e one thread which
is waitting on an event associated with and interrupt is not being set
by OS...
Can any body help me out..??
Thanks and Regards
Mitesh
.
- References:
- Interrupt Problem in Our custom Serial Driver
- From: Embedded Engineer
- Re: Interrupt Problem in Our custom Serial Driver
- From: Yannick Chamming's [eMVP]
- Re: Interrupt Problem in Our custom Serial Driver
- From: Embedded Engineer
- Interrupt Problem in Our custom Serial Driver
- Prev by Date: Making Mainstone3 Camera drivers
- Next by Date: Re: Screen Oscilations By Using GetDC in Timer.
- Previous by thread: Re: Interrupt Problem in Our custom Serial Driver
- Next by thread: Re: How to work out the parameter for openStore() function?
- Index(es):
Relevant Pages
|