wouter van ooijen wrote: >> I have been working in my spare time on a way to use ONE pin as a >> bidirectional debug tool >> > > There a is one-pin bi-directional software UART in my WLoader firmware. > > Wouter van Ooijen > > -- ------------------------------------------- > Van Ooijen Technische Informatica: www.voti.nl > consultancy, development, PICmicro products > docent Hogeschool van Utrecht: www.voti.nl/hvu > > > > I remembered that, but I'd never looked closely at it. Got PIC code samples? That might be a VERY good idea as a debug tool. Since each PIC is slightly different, for what PIC's have you written PIC code? Also, since it is a UART, can you use internal RC oscillators, since some PICs have very imprecise oscillators? But I could switch to manchester code, which can tolerate a 25% clock rate difference (between bits, not within a bit) without incurring errors. Really, there are only two commands of any use: (1) read an internal register, including EEPROM; and (2) ability to CHANGE the value of a register, including EEPROM. --Bob Axtell -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist