- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
For PSoC6, Is there a way to protect flash from reading via DAP, and i can reprogram or erase the chip at the same time?
Solved! Go to Solution.
- Labels:
-
PSoC 6 MCU
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello @docn_292601 ,
It is recommended to use the Secure Lifecycle mode to disable the DAP to prevent any read/write access to the flash. Please see section Device Security in the Architecture TRM to more understand more about the security features.
However, to answer your question, I believe you should be able to define Protection Units to protect the regions of flash from being read by the DAP and allow only write permissions. Please see Section Protection Units to understand more about it.
See this Blog on Protection Units to understand how you can implement them.
Regards,
Dheeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello @docn_292601 ,
Can you please let me know which PSoC6 device you are referring to here?
Regards,
Dheeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
PSoC63BLE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello @docn_292601 ,
It is recommended to use the Secure Lifecycle mode to disable the DAP to prevent any read/write access to the flash. Please see section Device Security in the Architecture TRM to more understand more about the security features.
However, to answer your question, I believe you should be able to define Protection Units to protect the regions of flash from being read by the DAP and allow only write permissions. Please see Section Protection Units to understand more about it.
See this Blog on Protection Units to understand how you can implement them.
Regards,
Dheeraj