ST PC58 Series Technical Note Download Page 1

September 2016

DocID029694 Rev 1

1/11

11

TN1239

Technical note

How to change DCF STCU configuration

 

Introduction

The SPC58 family integrates a dedicated safety module to configure, control and execute 
self-test operations. This module is called Self-Test Control Unit (STCU2).

The user can configure the STCU2 in two ways. The first way uses the standard register 
access from user application. The second way exploits the Device Configuration Format 
(DCF) records.

This document explains the correct procedure to update a STCU configuration which has 
been already set by the specific DCF records in UTest memory. It focuses only on the 
second way to configure the STCU.

As a prerequisite the reader should be familiar with the functionality of STCU2, DCF, SSCM 
and UTest flash. For any details on these topics, refer to the reference manual.

www.st.com

Summary of Contents for PC58 Series

Page 1: ...The first way uses the standard register access from user application The second way exploits the Device Configuration Format DCF records This document explains the correct procedure to update a STCU configuration which has been already set by the specific DCF records in UTest memory It focuses only on the second way to configure the STCU As a prerequisite the reader should be familiar with the fu...

Page 2: ...N1239 2 11 DocID029694 Rev 1 Contents 1 Programming of STCU2 3 2 How STCU2 configuration can be updated 4 3 Limitation and prerequisites 6 4 Conclusion 7 5 Reference documents 8 6 Acronyms 9 7 Revision history 10 ...

Page 3: ...at the user has programmed at least a pair of unlock keys into UTest Given that the STCU2 considers only the first valid unlock keys and the following configuration after the first acceptance of a configuration STCU2 does not accept any other settings even if the provided unlock keys are correct The SSCM reads the DCF incrementally from lower to higher addresses The right side of Figure 1 shows tw...

Page 4: ... needed the user can repeat the process by adding a third configuration and invalidating the unlock keys at address Y and so forth Figure 2 Make STCU unlock key invalid Invalidating means overwriting the unlock keys with incorrect keys The user however does this operation carefully due to the ECC EDC The ECC EDC protects the UTest content It means that the UTest contains not only the data but also...

Page 5: ...be updated 11 Table 1 Physical values of unlock and invalidation keys Key 1 Key 2 Complete DCF key 1 Complete DCF key 2 Unlock 0xD3FEA98B 0x2C015674 0xD3FEA98B00080008 0x2C01567400080008 Invalidation 0xD3BCA98B 0x28011674 0xD3BCA98B00080008 0x2801167400080008 ...

Page 6: ...ly if unlock keys are aligned at 128 bits otherwise the ECC must be computed explicitly for given data The user adopts the invalidation keys only in case valid unlock keys are saved in UTest and a new configuration is applied Invalidation keys must be written at exact positions of unlock keys which means overwrite the unlock keys ...

Page 7: ...figuration is possible even if there are strict rules which the user must consider If the user follows these rules this is no a risky operation In addition change of STCU2 configuration is an exceptional state which occurs mainly during developing phase and not in final application ...

Page 8: ...Reference documents TN1239 8 11 DocID029694 Rev 1 5 Reference documents SPC58NE84C3 SPC58NE84E7 SPC58EG84C3 reference manuals Rev2 Feb 2016 ...

Page 9: ...DocID029694 Rev 1 9 11 TN1239 Acronyms 11 6 Acronyms Table 2 Acronyms Acronym Name STCU2 Self test control unit DCF Device configuration format SSCM System status and configuration module ...

Page 10: ...Revision history TN1239 10 11 DocID029694 Rev 1 7 Revision history Table 3 Document revision history Date Revision Changes 26 Sept 2016 1 Initial release ...

Page 11: ...chasers are solely responsible for the choice selection and use of ST products and ST assumes no liability for application assistance or the design of Purchasers products No license express or implied to any intellectual property right is granted by ST herein Resale of ST products with provisions different from the information set forth herein shall void any warranty granted by ST for such product...

Reviews: