C code for serial communication with FPGA performing 1 bit ECC. Will for basis for 2 bit ECC to follow.