> > > The PIC uses the Microchip HID bootloader for the firmware upgrades. > > > > Some units stopped working and I can't figure out why. The PIC is not > > detected by the USB bus and doesn't display the usual startup screen on > the > > display. > > The PIC is browning out, and the bootloader code is randomly executing > and erasing the flash as a result. Enable brownout reset. > > Thank you. Do you know how it happens? Could it be because when the pic is browning out, garbage goes into the program counter and random instruction get executed? thank. Cristiano --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .