Fixed the previous HID problem of not being able to read from the device.
Created a working protocol to erase, program and verify the flash memory in the
bootloader.
More work still needed.