From e88531c5a2aec0331c93b3b3457b98ab1c9fbba4 Mon Sep 17 00:00:00 2001 From: Polprzewodnikowy Date: Sun, 11 Sep 2022 11:41:31 +0200 Subject: [PATCH] 5 second limit --- sw/bootloader/src/exception.S | 2 +- sw/bootloader/src/exception.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sw/bootloader/src/exception.S b/sw/bootloader/src/exception.S index 23219a1..daca4c0 100644 --- a/sw/bootloader/src/exception.S +++ b/sw/bootloader/src/exception.S @@ -1,7 +1,7 @@ #include "vr4300.h" -#define WATCHDOG_TIMEOUT (3 * (93750000UL / 2)) +#define WATCHDOG_TIMEOUT (5 * (93750000UL / 2)) #define VECTOR_LOCATION (0xA0000000UL) #define VECTOR_SIZE (0x80) diff --git a/sw/bootloader/src/exception.c b/sw/bootloader/src/exception.c index b1af813..ba9a03e 100644 --- a/sw/bootloader/src/exception.c +++ b/sw/bootloader/src/exception.c @@ -66,7 +66,7 @@ void exception_fatal_handler (uint32_t exception_code, uint32_t interrupt_mask, if (exception_code == EXCEPTION_INTERRUPT) { if (interrupt_mask & INTERRUPT_MASK_TIMER) { exception_disable_watchdog(); - display_printf("Still loading after 3 second limit...\n\n"); + display_printf("Still loading after 5 second limit...\n\n"); return; } } else if (exception_code == EXCEPTION_SYSCALL) {