Hi,I've changed my "Security Mode" from "none" into "TZ-disabled" via "Device/Board" dialog of the .rteconfig project file.
When trying to debug via .launch debugger file i got the below error:
Below is a snapshot of my settings (i've only changed the Security Mode into TZ-disabled):
Hi,I've realized that the main root cause was not the Security Mode change but actually the a scatter file change i did.Originally the load address which is equal to execution address was set into address 0x0000000. Later on I've changed it into 0x11000000.It seems like 0x11000000 is forbidden or alike (belongs to Vendor_SYS memory region which instruction fetches are not supported). Do you think this is reasonable?
Moreover, please let me know how can i use compilation flags inside the scatter file itself?Thanks,Ronen
Hi RonenThis address is marked as secure in the FVP:https://developer.arm.com/documentation/100966/1118/Arm--Corstone-SSE-300-FVP/Memory-map-overview-for-Corstone-SSE-300
Unsure what you mean by using compilation flags in the scatter file... do you mean preprocessing?https://developer.arm.com/documentation/101754/0619/armlink-Reference/Scatter-loading-Features/Preprocessing-a-scatter-file
Thanks Ronan.I was looking into the default memory map for the Cortex®-M55 processor.
Sorry, yes i meant for preprocessing flags in the scatter file itself?Thanks,Ronen
Is there a way for using preprocessing flags in the scatter file itself?Thanks,Ronen
Hi RonenYes, as Ronan wrote earlier, see developer.arm.com/.../Preprocessing-a-scatter-fileFor a simple example, see scatter.scat in the "startup_Cortex-M7_AC6" example supplied in Arm DS.Hope this helpsStephen
Understood, thanks for your help.Ronen