(c)COMPSys 2003 BETA CODE Ver 0.1 Atmel Data Flash read/write test code written in PICBasicPro Ver 2.43 for use with a PIC16F877 at 20Mhz. This code uses PORTB.0 - PORTB.3 to connect to the AT45DB, therefore, when programming your PIC MAKE SURE THAT YOU TURN OFF LVP in the configuration. Otherwise, the code will not work. Or you can make changes in the code to use different pins and recompile it.