It says in the pros that : "Encrypted image support available when using external flash".
But in the section that I highlighted, it says "FSP v3.0.0 does not support image storage in external flash memory and image encryption".
I'm confused, can I store my new image in an external QSPI flash or not?
Although MCUBoot has the ability to store images in different memory types the RA port in the FSP 3.x.x only supports internal code flash.
The file \ra\fsp\src\rm_mcuboot_port\flash_map.c contains the…
How's it going? I found a thread that is related to your inquiry. You might want to check it out and see if you can get some ideas.
I hope that can help you. All the best!
SaiRenesasRulz Forum Moderator
The file \ra\fsp\src\rm_mcuboot_port\flash_map.c contains the implementations for RA for the read/write/erase functions. When these functions are called a flash_area pointer is passed to them which contains information on the flash area being accessed. Currently this information is only used to calculate the address for writing and erasing and all flash is considered internal so the FSP flash driver is called. This file could be modified to support external flash. Whether internal or external flash was being used would be determined from the ID in the flash_area structure.
So, MCUBoot can use external flash but the current FSP implementation does not make use of this feature.
I am now pretty familiar with doing updates and signing the default mcuBoot application. I am now ready to modify it to use the external flash.
Do you have some more information you could provide to modify the flash_area structure?
Thanks a lot!
Is it planed to add this to the FSP 3.x.x in the next weeks? like this summer
Support for external memory is planned but I don't have a timescale for it at the moment.