Well, I haven't tried gdb in about 6 months, but when it would foul up,
it would just never make it to a breakpoint (the breakpoint needed to be
more than just a few lines into the program). If I ran the code w/o
gdb, all was fine. This is why my preferred method of debug is
displaying it on the lcd. As for the IRQ's I was talking about. The
Timer was not set to generate the pulse, it was asked to count it. It
actually does two things, it adds a fixed value to a variable every
pulse (this is done in BCD w/ Assembly). At the time I last tried GDB,
it did the same thing twice (two constants, and two variables). This
was not a very long IRQ routine. Maybe about 63 lines of assembly ('C'
assembly that is). Presently, the second "dadd" has been removed to
make room for a much more quick method of calculating frequency which
uses XT2.
Guess I should try it again.
-Mark
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Steve
Underwood
Sent: Friday, June 27, 2003 1:11 PM
To: [email protected]
Subject: Re: [Mspgcc-users] more on clock source and UART
Mark Stokes wrote:
>Have you tried simplifying your design by using the 32k crystal and the
>FLL that is usually used? It would verify that the system works.
>Granted, you'd only be able to get about 9600 baud, but it would verify
>everything past the crystal. There are numerous examples of this
>available.
>As for GDB, I have found gdb to be very unstable when asked to debug a
>project that has a fast recurring IRQ. For instance, I can't debug
more
>than a few lines before the multiple Timer_A IRQ's cause gdb to "loose
>sight" of what's happening (say, something like 2khz on Timer_A IRQ).
>Regards
>-Mark
>
Interesting. I have timer A interrupting at 3276.8Hz. Sometimes I use
two interrupts at that rate, from different phases of the 3276.8Hz clock
(ie. two interrupt routines, each getting 3276.8 interrupts per second).
I use gdb and have no more hassles than when I use Quadravox or IAR.
What exactly do you mean by loosing sight?
Regards,
Steve
-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
_______________________________________________
Mspgcc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mspgcc-users