Flash memory on PIC16 devices