PDA

View Full Version : Updated diagnostic code



cmurray
08-14-2007, 06:35 PM
Phil

Can the diagnostic code be updated use 19200 baud internal clock.
or
57600 baud external and check if it is receiving a good timing signal from the oscillator.

Current diagnostic reports all normal at 19200.

I think I have a bad oscillator but no way to tell short of desoldering and swapping the part.
19200 code will work but no response at 57600.
The can feels slightly warm to the touch.
My other working board seems cool when running.

Joel

You can tell when I am working on stuff because I never run out of problems. :shock:

P. Short
08-15-2007, 09:24 AM
I'll look into this later today or tomorrow.

--

Phil

P. Short
08-15-2007, 01:03 PM
I've sent you a PM with a new version of the diagnostics configured to use the external oscillator. You can check it out on a good board, and then move the PIC over to the questionable board. If the heartbeat isn't flashing on and off, it's probably either power or the oscillator (given that the PIC works in the other board).

I'll make that diagnostics code public (over in the wiki) after I hear how things went.

--

Phil

cmurray
08-15-2007, 10:59 PM
New diagnostic code works GREAT.
Only suggestion would be to have the heartbeat and oscillator detect as separate LEDs

240 channels of dimable renard all running at 57600.

Was it the oscillator, YES and NO.

Lesson learned. When converting from 19200 to 57600 remove all the PICs from the board. If any renard-20061228 pics are left on board the oscillator signal is lost.

Second lesson. The diagnostic PIC is the last in the chain. It does not pass the signal on to the next PIC.

Great work as usual Phil

Joel