richard beaudry

HC908GR16A -- Timer problem w/ Cyclone

Discussion created by richard beaudry on May 24, 2007
Latest reply on May 25, 2007 by richard beaudry
Hello all,
 
I have a weird problem, and I hope someone has seen this before, and can help me
 
Some background information:
 
I'm using a 68HC908GR16A, with CodeWarrior "C", and a Cyclone Pro programmer/debugger.  We have the Cyclone hooked up via the standard MON08 16-pin header.
 
I have a 50ms timer interrupt (TIM2 Overflow), that currently just blinks a light, and checks for a debounced button press.  The light does not blink every 50ms, but I use a counter in the interrupt to blink every 500ms.
 
I also have a serial receive interrupt, and my device responds to serial polls from an external device.
 
Now, the problem:
 
When the Cyclone is hooked up, the serial receive interrupt fires, and the TIM2 Overflow interrupt fires.  When the Cyclone is NOT hooked up, the serial receive interrupt fires, but the TIM2 Overflow interrupt DOES NOT FIRE.  This is the same flash code, but for some reason, TIM2 Overflow does not fire unless the Cyclone is hooked up....
 
Any ideas??  I'm a bit stuck
 
Rich B.
 


Message Edited by rbeaudry on 2007-05-24 03:42 PM

Message Edited by rbeaudry on 2007-05-24 04:10 PM

Outcomes