remove old boot verification cmd
All checks were successful
EIVE/-/pipeline/head This commit looks good

This commit is contained in:
Robin Müller 2024-04-17 14:51:44 +02:00
parent 05d5955236
commit 0c51cad813
Signed by: muellerr
GPG Key ID: A649FB78196E3849

View File

@ -259,15 +259,9 @@ def pack_ploc_mpsoc_commands(
data = object_id.as_bytes + struct.pack("!I", ActionId.OBSW_RESET_SEQ_COUNT) 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)) q.add_pus_tc(PusTelecommand(service=8, subservice=128, app_data=data))
if cmd_str == OpCode.VERIFY_BOOT: if cmd_str == OpCode.VERIFY_BOOT:
num_words = 1
q.add_log_cmd(f"{prefix} {Info.VERIFY_BOOT}") q.add_log_cmd(f"{prefix} {Info.VERIFY_BOOT}")
data = ( app_data = object_id.as_bytes + struct.pack("!I", ActionId.TC_VERIFY_BOOT)
object_id.as_bytes q.add_pus_tc(PusTelecommand(service=8, subservice=128, app_data=app_data))
+ 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))
if cmd_str == OpCode.CAM_CMD_SEND: if cmd_str == OpCode.CAM_CMD_SEND:
q.add_log_cmd(Info.CAM_CMD_SEND) q.add_log_cmd(Info.CAM_CMD_SEND)
cam_cmd = input("Specify cam command string: ") cam_cmd = input("Specify cam command string: ")