Browse Source

boot中采用0x0803D00作为存储升级标志地址,Flash校验程序区域变更为0x08003000-0x0803D000

Ye Jin 5 months ago
parent
commit
fc5713c10b
1 changed files with 2 additions and 2 deletions
  1. 2 2
      MSTLibraries/SelfTestLib/inc/STLparam.h

+ 2 - 2
MSTLibraries/SelfTestLib/inc/STLparam.h

@@ -235,8 +235,8 @@ allow to react more quickly */
 
   /* Constants necessary for Flash CRC calculation  (last block - 64 bytes - separated for CRC) */
   #define ROM_START ((uint8_t *)(&__ICFEDIT_region_ROM_start__))
-  #define ROM_END   ((uint8_t *)0x0803DFEF)    //((uint32_t *)(&__ICFEDIT_region_ROM_end__))
-  #define ROM_SIZE  (0x0803DFEF - 0x08003000 + 1u)
+  #define ROM_END   ((uint8_t *)0x0803CFFF)      //0x0803DFEF    //((uint32_t *)(&__ICFEDIT_region_ROM_end__))
+  #define ROM_SIZE  (0x0803CFFF - 0x08003000 + 1u)
 
   #define STEPS_NUMBER          ((uint32_t)ROM_SIZE / 16u)//64u)
   #define ROM_SIZEinWORDS       (uint32_t) (ROM_SIZE / 4u)