started a rudimentary driver for writing to SPI flash