Hi
I managed to generate and flash a secure boot 2 capsule, so far so good
But i raised 2 questions :
Q1: Other fields of CMPA/CFPA
---------------------------------------------
There are some parts that are a bit unclear , for example the BOOT_CFG/SPI_CFG/SDIO_CFG fields ?
The SECURE_BOOT_CFG is detailed both in the UM and the secure boot Application note, but i couldnt locate the details of the ones above
Any hint for these would be appreciated.
Q2 Debugging
--------------------
My test App works fine in "plain" mode but crashes pretty quickly in "secure boot" mode.
TrustZone is NOT enabled, it crashes as soon as FreeRTOS is started.
By default, debug is not possible with a secure boot firmware. I suppose it's due to the field CC_SOCU_PIN & CC_SOCU_DFLT being both to zero so debug is disabled by default.
Is that the case ?
I tried to enable it (CC_SOCU_PIN=1F 00 00 00 and CC_SOCU_DEFLT=00 00 00 00 in CMPA), but it didnt work and actually sort of bricked the board
So the 2nd question :
What is the right way to enable debug over SWD in secure boot mode , when you dont care about securing the debug link ? (that will happen later)
Thank you in advance
Tres