On Jan 9, 2011, at 6:26 AM, Eugene wrote:
> >
> > No debugger? Boy, I wish I could write software without bugs! :-)
> >
>
> I've told about IDE+debugger, sure, I use serial port to get out some kind of debug info and ascii terminal or homemade tool to visualize signals, but often I try algorithms on PC and after full debugging i put them in real device.
>
That is what I do, use the serial port when I can, in at least one case I used an LED. For one project I'm using just the TWI for communications but for development I enabled the serial port. Later I deactivated the serial port and used it's two pins for an additional channel of control. I had enough IO with the serial port to test everything out.
The trickiest thing is debugging interrupt routines. I usually set a flag and report it's status in the foreground via the serial port.
In one case I took a portion of code in one project to implement the singular function in another and it worked the first time which was good as the new project was on an 8 pin Tiny AVR.
,_._,___
Clark Martin
Redwood City, CA, USA
Macintosh / Internet Consulting
"I'm a designated driver on the Information Super Highway"
[Non-text portions of this message have been removed]