Hi Barry - it has been a while since I visited! In the end, the problem appears to be that I did not have a nop between the loading of the register and the djnz instruction in the inner loop. Once I put the nop in everything started working as it should. The TechTool instruction set is a little different from the MicroChip set, but while using the TechTool ICE I find it easier to use their instruction set. While I do have a telescope I carry on longer trips on the sailboat, this project is for a larger land based unit. I have not been doing too much with the MicroChip processors these days - I have moved to Renesas M16C and M62P processors. They have a free IDE with C/C++ included and have a evaluation board (QSK26 or QSK62) that include a JTAG type debugger to let you single step through your program. Cost is about $65 for the QSK. I have not used anything with USB like the 18F series. Speaking of the sailboat, I ended up spending 3 weeks out with it last summer while school was out - I am hoping for 4 weeks this summer - more time on the boat == less time on honey do list :-) Take care, David David V. Fansler s/v Annabelle dfansler@dv-fansler.com www.dv-fansler.com -----Original Message----- From: piclist-bounces@mit.edu [mailto:piclist-bounces@mit.edu] On Behalf Of Barry Gershenfeld Sent: Tuesday, February 09, 2010 3:45 PM To: Microcontroller discussion list - Public. Subject: Re: 12C09Timer Problem My first thought was the oscillator was running at two different frequencies, but if the serial port stuff keeps working, it rules out that idea. I like Ruben's suggestion much better. In effect the delay is governed by an uninitialized memory byte, if he's right. That matches up nicely with all the other symptoms. The last time we chatted I was working with 16F877's. I have since used many of the 18F series and am currently doing our first PIC32 based project. Come back more often! How the heck do you use a telescope on a sailboat anyway? Barry -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist