diff --git a/Src/BootJump.c b/Src/BootJump.c index 033af49..d21b881 100644 --- a/Src/BootJump.c +++ b/Src/BootJump.c @@ -80,7 +80,7 @@ void DeInitAll() { } void BootJumpToAddress(const uint32_t address) { - /* + // 1. ГЛОБАЛЬНО отключаем прерывания (первое, что делаем) __disable_irq(); @@ -120,8 +120,6 @@ void BootJumpToAddress(const uint32_t address) { PCC_GenPeripheralReset(PCC_CLK_FCUART6); PCC_GenPeripheralReset(PCC_CLK_FCUART7); -*/ - DeInitAll(); // 6. Подготовка процессора if (CONTROL_nPRIV_Msk & __get_CONTROL()) { @@ -154,7 +152,7 @@ void BootJumpToAddress(const uint32_t address) { void Reset() { - DeInitAll(); +// DeInitAll(); NVIC_SystemReset();