Re: [uClinux-dev] Problem:Spurious Interrupt on Coldfire................

2009-11-25 Thread Greg Ungerer

Hi Vinod,

Vinod Nagare wrote:
I am using a custom build board using MCF5485 and uClinux 2.4.x ported 
on it. I am using General Purpose Timer (GPT), which is generating 
interrupts to CPU and an ISR is connected to this interrupt.
 
When the timer is configured to generate interrupt for period 100ms the 
ISR is invoked every 100ms and functions properly.
 
But when I configurs timer (GPT) to generate interrupt every 10ms 
following message is printed on console (connected to minicom) and the 
system starves and ISR is not invoked.
 
Spurious interrupt 4488788

Spurious interrupt 4289755
..
and such messages are printed continously.
 
 
Please help me to solve this problem as I need an ISR to be executed 
every 2ms.


Can you show us the code?

Regards
Greg



Greg Ungerer  --  Principal EngineerEMAIL: g...@snapgear.com
SnapGear Group, McAfee  PHONE:   +61 7 3435 2888
8 Gardner Close FAX: +61 7 3217 5323
Milton, QLD, 4064, AustraliaWEB: http://www.SnapGear.com
___
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev


Re: [uClinux-dev] Problem:Spurious Interrupt on Coldfire................

2009-10-25 Thread Allon Stern


On Oct 25, 2009, at 3:05 AM, Vinod Nagare  wrote:

I am using a custom build board using MCF5485 and uClinux 2.4.x  
ported on it. I am using General Purpose Timer (GPT), which is  
generating interrupts to CPU and an ISR is connected to this  
interrupt.


When the timer is configured to generate interrupt for period 100ms  
the ISR is invoked every 100ms and functions properly.


But when I configurs timer (GPT) to generate interrupt every 10ms  
following message is printed on console (connected to minicom) and  
the system starves and ISR is not invoked.


Spurious interrupt 4488788
Spurious interrupt 4289755
..
and such messages are printed continously.


What is the return value from your ISR?

Is the timer used for something else on the system, or is itnotherwise  
unused? Check the kernel code / drivers.


These are first guesses.
-
allon
___
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

[uClinux-dev] Problem:Spurious Interrupt on Coldfire................

2009-10-25 Thread Vinod Nagare
Dear Friends,
 
I am using a custom build board using MCF5485 and uClinux 2.4.x ported on it. I 
am using General Purpose Timer (GPT), which is generating interrupts to CPU and 
an ISR is connected to this interrupt.
 
When the timer is configured to generate interrupt for period 100ms the ISR is 
invoked every 100ms and functions properly.
 
But when I configurs timer (GPT) to generate interrupt every 10ms following 
message is printed on console (connected to minicom) and the system starves and 
ISR is not invoked.
 
Spurious interrupt 4488788
Spurious interrupt 4289755
..
and such messages are printed continously.
 
 
Please help me to solve this problem as I need an ISR to be executed every 2ms.
 
Thank You and regards,
Vinod Nagare


  ___
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev