Which reminds me... How do you set config bits in C30? MPLAB Help tells us how to do it for C18, but I don't see how to do it for C30. THANKS! Harold > It was the low-voltage programming pin. I didn't think of that because > I've > never had a problem with it before. > I'll be specifying the config bits in the program from now on (like they > should be) > The PGM pin was floating, causing strange things to happen. > -- > Martin > > On 2/23/07, Olin Lathrop wrote: >> >> Martin Klingensmith wrote: >> > I don't know how it could be much simpler. It compiles, I program it >> > with my USBProg, and nothing happens. >> >> You're not specifying the config bits, so they end up in whatever the >> erased >> state is (the erased state for config bits is not necessarily 1 like it >> is >> for all other non-volatile bits in an PIC). >> >> >> ******************************************************************** >> Embed Inc, Littleton Massachusetts, http://www.embedinc.com/products >> (978) 742-9014. Gold level PIC consultants since 2000. >> -- >> http://www.piclist.com PIC/SX FAQ & list archive >> View/change your membership options at >> http://mailman.mit.edu/mailman/listinfo/piclist >> > > > > -- > Martin Klingensmith > -- > http://www.piclist.com PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist > -- FCC Rules Updated Daily at http://www.hallikainen.com - Advertising opportunities available! -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist