If you turn on debug logging, and look at the logs from the firmware update, is the size of the firmware an exact multiple of 40 bytes, plus 1? If so, you might be affected by the off-by-one error I documented (and fixed) in Unable to update Black Switch firmware using Hubitat - #5 by markman641
You can see the change I made to fix it in the linked github pull request.