General work on firmware download functionality