Re: Interrupt Problem in Our custom Serial Driver

Tech-Archive recommends: Fix windows errors by optimizing your registry



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



.



Relevant Pages

  • Re: Assembling Visual Studio generated listing files
    ... card issues an interrupt each time it has a new position for any one ... An ISR is constrained to act in < 10us, and for most modern machines, 12.5us is a very ... Without MASM and in pure C or C++ and without any Windows API/MFC, ... This is a device driver. ...
    (microsoft.public.vc.mfc)
  • [PATCH] zs: Move to the serial subsystem
    ... This is a reimplementation of the zs driver for the serial subsystem. ... to use a console on a serial port, say Y. Otherwise, say N. ... * This is the Z85C30 driver's generic interrupt routine. ...
    (Linux-Kernel)
  • Re: bge(4) one packet wedge
    ... When the ISR starts the driver should record the status_tag value. ... If necessary the hardware will generate a new interrupt and start the ...
    (freebsd-net)
  • Re: interrupt cycles time
    ... > I wrote a firewire driver. ... This function driver would not have an isr ... > each of these intervals all cameras send one packet of data to the computer. ... > use to do this color conversion inside the interrupt. ...
    (microsoft.public.development.device.drivers)
  • Re: Synchronization between ISR and IST - I2C Based device
    ... It sounds to me that your system design is a little flawed, your idea of a layered I2C driver is probably better then having the I2C driver in for each of your devices. ... We have implemented ISR that reads the Interrupt Status Register ... The problem we are facing one of the device holds the I2C bus longer ...
    (microsoft.public.windowsce.platbuilder)