eAmuse Cloud support

This commit is contained in:
William Toohey
2017-06-17 01:51:50 +10:00
parent bf28be5e4d
commit d3c8435035
11 changed files with 161 additions and 62 deletions
@@ -36,7 +36,7 @@ COMMAND_VERSION = 0x03
COMMAND_STARTAPPLICATION = 0x04
COMMAND_PROGRAM = 0x05
BOOTLOADER_VERSION = 65000
BOOTLOADER_VERSION = 11
# Device information table
device_info_map = dict()
@@ -86,10 +86,6 @@ def program_device(hex_data, device_info):
print("No valid device found.")
sys.exit(1)
if get_version(device) != BOOTLOADER_VERSION:
print("Device not in bootloader. TODO: reboot")
sys.exit(1)
try:
print("Connected to bootloader.")