Adding default target-set#76
Conversation
The default target-set - selects both secure and none-secure projects - configures the FVP model to run application via play button
There was a problem hiding this comment.
Pull request overview
This PR updates the SimpleTrustZone csolution configuration to define a default target-set for the AVH target type, intended to launch both secure and non-secure images under an Arm FVP model via the “play”/debugger configuration.
Changes:
- Bumped the
created-forCMSIS-Toolbox version metadata to2.12.0. - Added a
target-setforAVHthat includes bothCM33_ns.DebugandCM33_s.Debugimages and an Arm-FVP debugger/model configuration.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
I noticed that when running the FVP model locally, that the test only passes if the axf files are loaded in a certain order: NS before S output: Executing task: FVP_MPS2_Cortex-M33 -f ../FVP/FVP_MPS2_Cortex-M33/fvp_config.txt --stat -a out/CM33_s/AVH/Debug/CM33_s.axf -a out/CM33_ns/AVH/Debug/CM33_ns.axf output: Is it possible that this is due to the reset address from the last axf file winning? |
Yes, it appears that the entry point from the last loaded AXF is the one used when execution starts. The importance of the entry point can be confirmed by keeping the non-secure application as the last
The Maybe @VladimirUmek has some insight into this, as concerns about image loading order have previously been raised for the Arm Debugger: |
Reordered the project in the `projects:` node to ensure that the secure application is listed second and the run task for the FVP uses the "entry point" from the secure application.
|
Reordering the |
The default target-set