Hi,
How could I define following addresses in hse_host_flashSrv.h?
I am trying HSE Demo Examples and this addresses are needed when I try to UpdateIvt();
UpdateIvt calls HostFlash_Erase and HostFlash_Program and they calls HostFlash_Init().
the HostFlash_Init function use these addresses for /*Copying the UnsecureBAF Code from flash to RAM to avoid read while write violation */
But I am not sure how to define them? I believe I need to define them in linker maybe, but how?
/*=============================================================================
* GLOBAL VARIABLES
=============================================================================*/
extern uint32_t FLASH_DRIVER_RAM_DST_START_ADDRESS[];
extern uint32_t FLASH_DRIVER_FLASH_SRC_START_ADDRESS[];
extern uint32_t FLASH_DRIVER_FLASH_SRC_END_ADDRESS[];
Old flash driver used in 2020-2021 (host_flash) is different from 2022 version (hse_host_flash).
regards,