my pagesize is 256 bytes, and 90k is about 351 pages for(i = 0; i < pages; i++) { W25qxx_ReadPage((uint8_t *)u32_databuf, EXT_FLASH_ADDR_APP_START + i,0, w25qxx.PageSize); ProgramInternalFlash(APP_BASE_ADDR + i * w25qxx.PageSize, u32_databuf,...
It will occur @here: /** @addtogroup RTC_Private_Functions * @{ *//** * @brief Enter the RTC Initialization mode. * @note The RTC Initialization mode is write protected, use the * __HAL_RTC_WRITEPROTECTION_DISABLE() before calling this function....
I set the application code @0x08004000 in the icf files and also set the invect table to this address. i shut down all ISR before jump, but it still fail to jump my app code.
Thank you for your advice. i have moved all erase code before write code. firstly i EraseInternalFlash(APP_BASE_ADDR,APP_LENGTH ); erase all my app code.
i use the code below follow the code examples on page938 of RM0376 Reference manual , it will reduce the time to 9 seconds.The note was under the code Note: This function must be loaded in RAM. I'm not sure can this code run in flash? and why only pr...