bugfix MPSoC command
This commit is contained in:
parent
0276d3dab4
commit
4043e30d34
@ -371,7 +371,7 @@ def prepare_flash_read_cmd(object_id: bytes) -> bytearray:
|
|||||||
mpsoc_file = get_mpsoc_file(MPSOC_READ_FILE_DICT)
|
mpsoc_file = get_mpsoc_file(MPSOC_READ_FILE_DICT)
|
||||||
obc_file = get_obc_file(OBC_READ_FILE_DICT)
|
obc_file = get_obc_file(OBC_READ_FILE_DICT)
|
||||||
cmd = prepare_flash_base_cmd(
|
cmd = prepare_flash_base_cmd(
|
||||||
mpsoc_file, obc_file, ActionId.TC_FLASH_READ_FULL_FILE, object_id
|
obc_file, mpsoc_file, ActionId.TC_FLASH_READ_FULL_FILE, object_id
|
||||||
)
|
)
|
||||||
file_size = get_mpsoc_file_size()
|
file_size = get_mpsoc_file_size()
|
||||||
cmd.extend(struct.pack("!I", file_size))
|
cmd.extend(struct.pack("!I", file_size))
|
||||||
|
Loading…
Reference in New Issue
Block a user