Written a function for the firmware that can read the data stream to be sent out by flashprog
Wrapped the data IO code for the inbuilt blob in suitable preprocessor and if-statement checks
Cleaned out some of the code in flashprog that was making it very verbose
Changed usbRead() in flashprog to be more resiliant to split bulk transfers
Fixed the byte order of the bytes-remaining value sent back from the firmware
Improved the error detection and reporting for flashprog
Added all the code needed to support the transfer of the .bin file over the USB-UART link