#include #include #include #include #include #include #include #include #define RW_SIZE 32 #define DEV_NAME "/sys/bus/spi/devices/spi0.0/fram" unsigned char *cWriteBuffer = NULL; unsigned char *cReadBuffer = NULL; int RWDateCompare(void) { int i; for(i=0; i