Written functions to manage the block protection bits
Implemented a device erase function and support function to allow waiting on the operation to complete
Fleshed out the bulk of transferBitfile() using the new functionality