WXK
2024-03-24 5b8bde9ae08b29e4ce6d04149fe0cb78e0c5d68c
Src/OnChipDevices/Flash.h
@@ -6,7 +6,7 @@
  
#define FLASH_BASE_ADDR         (uint32_t)0x08000000   //the start address of APP,keep the 0x8000000-0x8004FFF forIAP(20K)
#define FLASH_IAP_CTRL_MAP      (uint32_t)0x0800F000    //the control map start address, 63K
#define FLASH_IAP_CTRL_MAP      (uint32_t)0x0800FC00    //the control map start address, 63K
#define MAX_APP_ADDR            (uint32_t)0x0800FFFF    //the max array of Flash address 
@@ -18,5 +18,5 @@
void FLASH_Read( uint32_t Address, uint8_t *Readbuff, uint32_t Len);
uint32_t FLASH_Write( uint32_t Address, const uint8_t* pData, uint32_t Len);
void FLASH_Dis_WriteProt_Pages(void);
unsigned short int STMFLASH_ReadHalfWord(unsigned int faddr);