Hi,
We want to implement the flash readout protection to avoid reading FW data and prohibiting mass erase.
Is there a mechanism to do this via application or only way is to configure the relevant bits in CCFG at compile time:
//Disabling JTAG read with Erase disable
#define SET_CCFG_CCFG_TAP_DAP_0_TEST_TAP_ENABLE 0x00
#define SET_CCFG_CCFG_TAP_DAP_0_CPU_DAP_ENABLE 0x00
In this secure boot reference guide(secure boot) , it is mentioned that there is a mechanism to configure the CCFG parameters also by the application via flash programming APIs. How is this done and where can I find the details?