Part Number: CC2340R5
There are 2 configurations related to debug access in CC2340 CCFG: CCFG.permissions.allowDebugPort and CCFG.debugCfg.authorization. I'm curious about the difference between these two configurations.
1. What's the difference between these 2 configurations?
2. Which one is recommended if one wants to disable SWD debug access?
3. If either one is disabled, is it possible to perform a chip erase to recover the device?
4. Is there a configuration to only prevent flash reading on CC2340?
Best regards,
Shuyang