소스 검색

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

Ye Jin 5 달 전
부모
커밋
fc5713c10b
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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)