We have a similar problem, but it seems a little bit different from yours! After a hardware reset (power off - power on), the code execute without problem in debug mode (after many steps and breakpoints). If a hardware reset is done each time we restart the program in debug mode, all works fine. However, without hardware reset and just restart GDB, the TBR counter (Timer B) don't start (all Timer B register and interrupt enabler (GIE and TBIE) seem ok).
Any help appreciated. --- k.sm...@realtimeengineers.com wrote: > Hi, > > I am using a Softbaugh FETP and having the following > problem. > > If I build my code and execute it without the > debugger everything is fine. > If I step through the code using GDB I find that the > timer interrupts only > occur once. After that nothing. I can manually set > the interrupt flag > again by poking into memory and this causes the ISR > to execute, but the > interrupt flag will never get set automatically > after the first time. If I > kill the debug session then the code again operates > without error. > > I have seen a post on the MSP430 Yahoo group with > the same problem but there > was no resolution given. > > Any help appreciated. > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: YOU BE THE JUDGE. > Be one of 170 > Project Admins to receive an Apple iPod Mini FREE > for your judgement on > who ports your project to Linux PPC the best. > Sponsored by IBM. > Deadline: Sept. 24. Go here: > http://sf.net/ppc_contest.php > _______________________________________________ > Mspgcc-users mailing list > Mspgcc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/mspgcc-users > _______________________________ Do you Yahoo!? Declare Yourself - Register online to vote today! http://vote.yahoo.com