Hello Michal,Be aware that only secure peripherals will have their driver probed in OP-TEE, as you have figured while fixing this issue. I don't think the CubeMX is supposed to omit the firewall configuration if you select OP-TEE AFAIK but the IWDG2 ...
It most probably is linked to this but the backtrace will allow you to know which part of the code makes the platform panic.Can you check in the "conf.mk" file in the build directory, that you have CFG_UNWIND=y You can also set CFG_TEE_CORE_DEB...
Hello Michal,In order to have some more information on what causes the panic, you can print the call stack. Please have a look at https://optee.readthedocs.io/en/latest/debug/abort_dumps.html.This will heavily narrow down the search to the root cause...
Hi @UVV,I see in the first logs:D/TC:? 0 stm32mp1_clk_get_parent:739 No parent selected for clk 148
D/TC:? 0 stm32mp1_clk_get_parent:739 No parent selected for clk 148
D/TC:? 0 stm32mp1_clk_get_parent:739 No parent selected for clk 148that the clock ...