please could you provide for advanced programming of the kit information about utilization of memories of kit by out of the box software? Key question is utilization of SPI Flash, are there any issues regarding to use it for the user datas, ? Any deditated area ? Remaining space ?
Thank you in forward!
You can take a look at the bootloader code to retrieve memory allocation in OOB: See Flash_ica_driver.h in kboot_k64F project (itself to be found in the SDK)
Line 146 onwards:
// Image Flash Start Addresses for this flash (MT25QL128)
#define FICA_IMG_ICA_DEF_ADDR 0x00000000
#define FICA_IMG_FAC_K64F_APP_ADDR 0x00100000
#define FICA_IMG_FAC_K41Z_APP_ADDR 0x00200000
#define FICA_IMG_NEW_K64F_APP_ADDR 0x00300000
#define FICA_IMG_NEW_K41Z_APP_ADDR 0x00400000
#define FICA_IMG_BL_FACT_K64F_APP_ADDR 0x00500000
#define FICA_IMG_BL_FACT_K41Z_APP_ADDR 0x00600000
#define FICA_IMG_CUR_K64F_APP_ADDR 0x00700000 // just defaulting to this, not used at the moment
#define FICA_IMG_CUR_K41Z_APP_ADDR 0x00800000 // just defaulting to this, not used at the moment
#define FICA_IMG_DEFAULT_APP_ADDR 0x00F00000
It is only used to store FW for updates and recovery. There should be no other process making use of the memory so that after 0x00F00000 you should be fully free to go.