Hi Michael,
If I understand your question correctly you are confused about ROM and Flash memory. Flash is treated as RO memory and the address represents where Flash is mapped in a device address space. Does this answer your question?
Hope that helps,
Anton
From: Michael Khoyilar via TF-M <tf-m@lists.trustedfirmware.org>
Sent: Monday, November 4, 2024 11:52 PM
To: tf-m@lists.trustedfirmware.org
Subject: [TF-M] Use of ROM address - flash_layout.h
Hi all,
I am getting to know the TF-M, yet I do not understand the following comment and code where ROM (Read Only) is mentioned and its address used to store Code Data (flash_layout.h)!! Can someone help me understand this better? Thanks
BR
Michael
/* Use flash memory to store Code data */
#define S_ROM_ALIAS_BASE (0x10000000)
#define NS_ROM_ALIAS_BASE (0x00000000)