Banner_AURIX_Security-Solution Banner_AURIX_Security-Solution Banner_AURIX_Security-Solution


infineon4engineers Facebook

infineon@google+ Google+

infineon@linkedin linkedin

infineon4engi@twitter twitter

infineon@youtube youtube

+ Reply to Thread
Results 1 to 4 of 4

Thread: Erase/Write protection of PFLASH region

  1. #1
    New Member New Member Sivakumar_M is on a distinguished road
    Join Date
    May 2019
    Posts
    4
    Points
    45

    Erase/Write protection of PFLASH region in Tricore 27x

    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.
    Last edited by Sivakumar_M; Jun 12th, 2019 at 02:43 AM.

  2. #2
    Advanced Advanced cwunder is on a distinguished road
    Join Date
    Feb 2015
    Location
    USA
    Posts
    99
    Points
    1857.5
    In the user's manual you can review the User Configuration Block options.

    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)

  3. #3
    New Member New Member Sivakumar_M is on a distinguished road
    Join Date
    May 2019
    Posts
    4
    Points
    45
    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?

  4. #4
    Advanced Advanced cwunder is on a distinguished road
    Join Date
    Feb 2015
    Location
    USA
    Posts
    99
    Points
    1857.5
    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.

+ Reply to Thread

Tags for this Thread

Disclaimer

All content and materials on this site are provided “as is“. Infineon makes no warranties or representations with regard to this content and these materials of any kind, whether express or implied, including without limitation, warranties or representations of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, whether express or implied, is granted by Infineon. Use of the information on this site may require a license from a third party, or a license from Infineon.


Infineon accepts no liability for the content and materials on this site being accurate, complete or up- to-date or for the contents of external links. Infineon distances itself expressly from the contents of the linked pages, over the structure of which Infineon has no control.


Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Usage Terms of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Usage Terms of this site. Infineon reserves the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.