if its a bad or wrong hex file it should fail after the whole thing is copied over. i think kahn’s recommendation of ensuring the hsm200 and the hub are VERY close to each other, like no more than 3 ft/1m and try again. If you have S2 enabled on the device re-pair the device to hubitat w/o S2. Finally there are 2 versions of hsm200, make sure you are using the correct version for your hardware. 2.8 for the version w/ a tab, 1.10 for the version w/o a tab.
2.8

1.10
