2025-02-27 10:30 AM
We have a project where we're using a U5A5 MCU with trustzone enabled and we're currently trying to figure out how to flash without having to use the SAM card. I downloaded the example from ST and am trying to run through the B-U585I-IOT02A TFM example application on my NUCLEO-U5A5ZJ-Q development board. Running unmodified, I am able to build all three projects (appli, loader, boot) and the regression.sh run without errors, the TFM_Update.sh script runs without errors, but when I connect to the terminal, I get the following repeating pattern.
I've already tried pressing the reset button as well as removing and putting back the IDD jumper. Any help would be appreciated!
Solved! Go to Solution.
2025-02-28 9:37 AM
Hello @JamesB ,
I would suggest disabling TAMPER feature in the configuration file (boot_hal_cfg.h).
#define TFM_TAMPER_ENABLE NO_TAMPER
or
#define TFM_TAMPER_ENABLE INTERNAL_TAMPER_ONLY
Best regards
Jocelyn
2025-02-28 9:37 AM
Hello @JamesB ,
I would suggest disabling TAMPER feature in the configuration file (boot_hal_cfg.h).
#define TFM_TAMPER_ENABLE NO_TAMPER
or
#define TFM_TAMPER_ENABLE INTERNAL_TAMPER_ONLY
Best regards
Jocelyn
2025-02-28 9:50 AM
With that change I now get this. It repeats continually over and over (boot loop?)
2025-02-28 10:21 AM - edited 2025-02-28 11:06 AM
When I pressed the "User" button on the development board, it stopped looping and continued as expected, although does not seem to start at the main entry point but rather a sub-menu.
2025-03-03 9:53 AM
Hello @JamesB,
when pressing blue button upon reset, you go into the standalone loader.
What happens here is that when launching TFM or non secure application, a reset occurs.
It is probably related to deference of memory sized between original chip and target chip.
A porting has to be done to adapt the GTZC configurations.
Best regards
Jocelyn