tmtc improvements #62

Merged
muellerr merged 14 commits from meier/ploc into develop 2022-05-02 12:36:33 +02:00
Showing only changes of commit 5de92a366a - Show all commits

View File

@ -152,10 +152,10 @@ def pack_ploc_supv_commands(
tc_queue.appendleft( tc_queue.appendleft(
(QueueCommands.PRINT, "PLOC Supervisor: Select MPSoC boot image") (QueueCommands.PRINT, "PLOC Supervisor: Select MPSoC boot image")
) )
mem = int(input("MEM (NVM0 - 0 or NVM1 - 1):")) mem = int(input("MEM (NVM0 - 0 or NVM1 - 1): "))
bp0 = int(input("BP0 (0 or 1):")) bp0 = int(input("BP0 (0 or 1): "))
bp1 = int(input("BP1 (0 or 1):")) bp1 = int(input("BP1 (0 or 1): "))
bp2 = int(input("BP2 (0 or 1):")) bp2 = int(input("BP2 (0 or 1): "))
command = pack_sel_boot_image_cmd(object_id, mem, bp0, bp1, bp2) command = pack_sel_boot_image_cmd(object_id, mem, bp0, bp1, bp2)
command = PusTelecommand(service=8, subservice=128, ssc=24, app_data=command) command = PusTelecommand(service=8, subservice=128, ssc=24, app_data=command)
tc_queue.appendleft(command.pack_command_tuple()) tc_queue.appendleft(command.pack_command_tuple())