Обновление 23.06.2026

This commit is contained in:
Дарья Бараева 2026-06-24 14:24:16 +03:00
parent 42901d7770
commit aa97b636ff
1 changed files with 6 additions and 2 deletions

View File

@ -4,6 +4,7 @@
#include "Clock.h"
#include "fc7xxx_driver_fmc.h"
#include "InternalFlashPage.h"
#include "fc7xxx_driver_rgm.h"
#include "memory.h"
#include "BootJump.h"
@ -117,9 +118,12 @@ uint64_t NumberBank = 0;
int main(void) {
Bsp_CLOCK_Init();
/*
uint32_t a = RGM->SRS;
// RGM_ResetEventType eReset = RGM_HWA_ReadAllResetFlagBeforePOR();
/*
if (RGM_SRS_JTAG_MASK == (RGM->SRS & RGM_SRS_JTAG_MASK)) {
D_bInternalFlashPage_Clear(0x04000000, NULL, NULL);
NumberBank = 0;