From 0c51cad81390bc66e23f6765b5efca7537b12b20 Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Wed, 17 Apr 2024 14:51:44 +0200 Subject: [PATCH] remove old boot verification cmd --- eive_tmtc/tmtc/payload/ploc_mpsoc.py | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/eive_tmtc/tmtc/payload/ploc_mpsoc.py b/eive_tmtc/tmtc/payload/ploc_mpsoc.py index 3645bd1..ee63c4b 100644 --- a/eive_tmtc/tmtc/payload/ploc_mpsoc.py +++ b/eive_tmtc/tmtc/payload/ploc_mpsoc.py @@ -259,15 +259,9 @@ def pack_ploc_mpsoc_commands( data = object_id.as_bytes + struct.pack("!I", ActionId.OBSW_RESET_SEQ_COUNT) q.add_pus_tc(PusTelecommand(service=8, subservice=128, app_data=data)) if cmd_str == OpCode.VERIFY_BOOT: - num_words = 1 q.add_log_cmd(f"{prefix} {Info.VERIFY_BOOT}") - data = ( - object_id.as_bytes - + struct.pack("!I", ActionId.TC_MEM_READ) - + struct.pack("!I", MemAddresses.DEADBEEF) - + struct.pack("!H", num_words) - ) - q.add_pus_tc(PusTelecommand(service=8, subservice=128, app_data=data)) + app_data = object_id.as_bytes + struct.pack("!I", ActionId.TC_VERIFY_BOOT) + q.add_pus_tc(PusTelecommand(service=8, subservice=128, app_data=app_data)) if cmd_str == OpCode.CAM_CMD_SEND: q.add_log_cmd(Info.CAM_CMD_SEND) cam_cmd = input("Specify cam command string: ")