Jun 12, 2019
02:36 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jun 12, 2019
02:36 AM
Hello,
I use TC277 controller.
1. How can I enable protection of a PFLASH region against erasure / write?
2. Does infineon have an example of how this should be done?
Any other reference to topics related to this would be helpful.
Many Thanks!
Sivakumar M.
I use TC277 controller.
1. How can I enable protection of a PFLASH region against erasure / write?
2. Does infineon have an example of how this should be done?
Any other reference to topics related to this would be helpful.
Many Thanks!
Sivakumar M.
- Tags:
- flash protection
- IFX
3 Replies
Jun 12, 2019
09:11 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jun 12, 2019
09:11 AM
In the user's manual you can review the User Configuration Block options.
For PFlash protection this is controlled by the UCB_PFlash. Within this UCB you have the option to protect the PFlash by each sector. The PROCONPp register indicates the values that you need to write to the UCB.
Warning: Incorrect programming of the UCB can cause the device to be permanently locked. Perhaps you can use the Memtool to to learn more on how have the correctly formatted data for the UCB (including the password, confirmation code and copies)
User Configuration Block “UCB”: A “UCB” is a specific logical sector. It is part of a DF_UCB sub-sector of bank DF0. It contains the protection settings and other data configured by the user.
For PFlash protection this is controlled by the UCB_PFlash. Within this UCB you have the option to protect the PFlash by each sector. The PROCONPp register indicates the values that you need to write to the UCB.
Warning: Incorrect programming of the UCB can cause the device to be permanently locked. Perhaps you can use the Memtool to to learn more on how have the correctly formatted data for the UCB (including the password, confirmation code and copies)
Aug 13, 2019
08:49 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug 13, 2019
08:49 AM
Hi cwunder,
Is there a way to program the UCB_PFlash from an application software? For example, an application software that would enable protection by programming the UCB?
Is there a way to program the UCB_PFlash from an application software? For example, an application software that would enable protection by programming the UCB?
Aug 14, 2019
07:08 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug 14, 2019
07:08 PM
Is there a way to program the UCB_PFlash from an application software?
Yes, the application can program a UCB. However for these UCB's this doesn't make sense to me. You would enable the protects in your end-of-line with a password writing the UCB's. Then in the field when you need to perform an update you can temporarily supply the password to the FSI.
Note, if you really want to program the UCB with your application I would suggest to start with a DFlash sector instead of the UCB. This would allow you to make sure everything is working correctly with the write/erase operations.