diff --git a/sw/bootloader/src/sc64.c b/sw/bootloader/src/sc64.c index 67864b7..c8411ee 100644 --- a/sw/bootloader/src/sc64.c +++ b/sw/bootloader/src/sc64.c @@ -38,6 +38,7 @@ static bool sc64_wait_cpu_busy (void) { } static bool sc64_execute_cmd (uint8_t cmd, uint32_t *args, uint32_t *result) { + sc64_wait_cpu_busy(); if (args != NULL) { pi_io_write(&SC64_REGS->DATA[0], args[0]); pi_io_write(&SC64_REGS->DATA[1], args[1]);