<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: using TZASC module in Vybrid Processors</title>
    <link>https://community.nxp.com/t5/Vybrid-Processors/using-TZASC-module/m-p/230671#M366</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, I agree the documentation is confusing and look forward to an answer.&amp;nbsp; There are some other issues you should be aware of.&amp;nbsp; The MSM module has TZASC bypass; MSCM_TZENR @ 0xc00 has a bit map of different TZ slaves.&amp;nbsp; In order for the TZ modules to run, they must be clocked.&amp;nbsp; As all of the TZ modules will use the same &lt;EM&gt;tzenb_fuse&lt;/EM&gt;, I think they would all behave the same way if you have an issue with this fuse.&amp;nbsp; You need the Vybrid Security manual where the per-clocks for the TZ modules are documented in section &lt;STRONG&gt;4.5 Clock Controller Module (CCM) Registers&lt;/STRONG&gt;.&amp;nbsp; I had an SR (&lt;SPAN style="font-family: Arial,Helvetica,sans-serif; font-size: 10pt;"&gt;&lt;STRONG&gt; 1-1180099524)&lt;/STRONG&gt;&lt;/SPAN&gt; about the Vybrid fuses; they told me there was no Vybrid specific documentation on secure boot/HAB.&amp;nbsp; Somethings in the general HABv4 manuals/appnotes are helpful, but there are several references that are difficult to put together like the &lt;EM&gt;tzenb_fuse; &lt;/EM&gt;I couldn't find anything on that either.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 24 Feb 2014 23:28:58 GMT</pubDate>
    <dc:creator>billpringlemeir</dc:creator>
    <dc:date>2014-02-24T23:28:58Z</dc:date>
    <item>
      <title>using TZASC module</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/using-TZASC-module/m-p/230666#M361</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like use the TZASC module linked to OCRAMsys0 &amp;amp; OCRAMsys1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In chapter 66 , we have a register for enable this module (ACTZS TrustZone Enable Register (MSCM_TZENR) )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We must modify the field TZENi&lt;/P&gt;&lt;P&gt;TrustZone Enable (i = 1, 3-7, 9, 11). This field enables/disables each Trust Zone address space controller. Once&lt;/P&gt;&lt;P&gt;asserted, the individual bit remains set.&lt;/P&gt;&lt;P&gt;if TZENi = 0, the TZASC module is disabled and logically bypassed.&lt;/P&gt;&lt;P&gt;if TZENi = 1, the TZASC module is enabled.&lt;/P&gt;&lt;P&gt;The individual TZENi are mapped to the following TZASC modules:&lt;/P&gt;&lt;P&gt;1 = FlexBus&lt;/P&gt;&lt;P&gt;3 = CM4-TCM backdoor port&lt;/P&gt;&lt;P&gt;4 = QuadSPI0&lt;/P&gt;&lt;P&gt;5 = OCRAM0_sys&lt;/P&gt;&lt;P&gt;6 = OCRAM1_sys&lt;/P&gt;&lt;P&gt;7 = OCRAM2_gfx&lt;/P&gt;&lt;P&gt;9 = QuadSPI1&lt;/P&gt;&lt;P&gt;11 = DDR0 | DDR1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and in this chapter , it is written&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In addition to the TZENR register bits, there is a single device fuse bit that provides a further level of&lt;/P&gt;&lt;P&gt;qualification. This fuse signal is combined with the individual TZENi bits to form the fully qualified&lt;/P&gt;&lt;P&gt;TZASC enable for each instance:&lt;/P&gt;&lt;P&gt;qualified_TZENi = MSCM_TZENR[i] &amp;amp; tzenb_fuse&lt;/P&gt;&lt;P&gt;where tzenb_fuse serves as a global enable qualifier.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My issue :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I try to enable ( set bit 6 &amp;amp; 7) TZASC module for OCRAM and just after I read these bist then I read always 0&lt;/P&gt;&lt;P&gt;So When&amp;nbsp; I read the equation qualified_TZENi = MSCM_TZENR[i] &amp;amp; tzenb_fuse ,, if&amp;nbsp; tzenb_fuse=0 then I read always 0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But If I search the bit&amp;nbsp; tzenb_fuse in TRM , I don't find it &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Somebody , tell me where can I find this bit ? What is it his default value and how can I modify this field&lt;/P&gt;&lt;P&gt;Somebody , tell me how can I enable the module TZASC for OCRAM ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Br&lt;/P&gt;&lt;P&gt;francois &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Feb 2014 10:34:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/using-TZASC-module/m-p/230666#M361</guid>
      <dc:creator>francoisjuillet</dc:creator>
      <dc:date>2014-02-13T10:34:56Z</dc:date>
    </item>
    <item>
      <title>Re: using TZASC module</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/using-TZASC-module/m-p/230667#M362</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/timesyssupport"&gt;timesyssupport&lt;/A&gt; can you&amp;nbsp; attend this case?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Feb 2014 16:32:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/using-TZASC-module/m-p/230667#M362</guid>
      <dc:creator>karina_valencia</dc:creator>
      <dc:date>2014-02-21T16:32:25Z</dc:date>
    </item>
    <item>
      <title>Re: using TZASC module</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/using-TZASC-module/m-p/230668#M363</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have looked at the reference manual, but cannot find any more information about the tzenb_fuse bit. Can the Freescale Vybrid design team comment on how to access this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Timesys Support&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Feb 2014 22:47:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/using-TZASC-module/m-p/230668#M363</guid>
      <dc:creator>timesyssupport</dc:creator>
      <dc:date>2014-02-21T22:47:26Z</dc:date>
    </item>
    <item>
      <title>Re: using TZASC module</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/using-TZASC-module/m-p/230669#M364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/naoumgitnik"&gt;naoumgitnik&lt;/A&gt; can you comment please?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Feb 2014 23:21:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/using-TZASC-module/m-p/230669#M364</guid>
      <dc:creator>karina_valencia</dc:creator>
      <dc:date>2014-02-21T23:21:14Z</dc:date>
    </item>
    <item>
      <title>Re: using TZASC module</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/using-TZASC-module/m-p/230670#M365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Francois,&lt;/P&gt;&lt;P&gt;I will look into it.&lt;/P&gt;&lt;P&gt;Regards, Naoum Gitnik.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Feb 2014 22:20:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/using-TZASC-module/m-p/230670#M365</guid>
      <dc:creator>naoumgitnik</dc:creator>
      <dc:date>2014-02-24T22:20:56Z</dc:date>
    </item>
    <item>
      <title>Re: using TZASC module</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/using-TZASC-module/m-p/230671#M366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, I agree the documentation is confusing and look forward to an answer.&amp;nbsp; There are some other issues you should be aware of.&amp;nbsp; The MSM module has TZASC bypass; MSCM_TZENR @ 0xc00 has a bit map of different TZ slaves.&amp;nbsp; In order for the TZ modules to run, they must be clocked.&amp;nbsp; As all of the TZ modules will use the same &lt;EM&gt;tzenb_fuse&lt;/EM&gt;, I think they would all behave the same way if you have an issue with this fuse.&amp;nbsp; You need the Vybrid Security manual where the per-clocks for the TZ modules are documented in section &lt;STRONG&gt;4.5 Clock Controller Module (CCM) Registers&lt;/STRONG&gt;.&amp;nbsp; I had an SR (&lt;SPAN style="font-family: Arial,Helvetica,sans-serif; font-size: 10pt;"&gt;&lt;STRONG&gt; 1-1180099524)&lt;/STRONG&gt;&lt;/SPAN&gt; about the Vybrid fuses; they told me there was no Vybrid specific documentation on secure boot/HAB.&amp;nbsp; Somethings in the general HABv4 manuals/appnotes are helpful, but there are several references that are difficult to put together like the &lt;EM&gt;tzenb_fuse; &lt;/EM&gt;I couldn't find anything on that either.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Feb 2014 23:28:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/using-TZASC-module/m-p/230671#M366</guid>
      <dc:creator>billpringlemeir</dc:creator>
      <dc:date>2014-02-24T23:28:58Z</dc:date>
    </item>
    <item>
      <title>Re: using TZASC module</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/using-TZASC-module/m-p/230672#M367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We're checking with the design team to confirm the TZENB_FUSE has been implemented in Vybrid, even the internal documentation we have is not clear on this, however as it would appear you are seeing the TZC permanently disabled it seems very likely it has been and unfortunately we have missed this from all our documentation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From what I have been able to find I believe this fuse is located at bit 28 of the OCOTP_CFG5 register, currently marked as reserved. Most fuses, including this one, are not blown by default, so will start life as 0, you will need to blow this fuse to change it to 1, after which the ROM code should read these values on power on and make it possible to enable the TZC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Still waiting on design to confirm this, but I believe this to be correct. If you wish to try this you can use the sample code on our website to provide a basic fuse programming application, please be very careful when programming fuses, once blown you can not restore them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ross&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Feb 2014 14:28:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/using-TZASC-module/m-p/230672#M367</guid>
      <dc:creator>RossMcLuckie</dc:creator>
      <dc:date>2014-02-26T14:28:15Z</dc:date>
    </item>
    <item>
      <title>Re: using TZASC module</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/using-TZASC-module/m-p/230673#M368</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/RossMcLuckie"&gt;RossMcLuckie&lt;/A&gt; do you&amp;nbsp; have&amp;nbsp; an update from design?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Mar 2014 19:10:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/using-TZASC-module/m-p/230673#M368</guid>
      <dc:creator>karina_valencia</dc:creator>
      <dc:date>2014-03-06T19:10:04Z</dc:date>
    </item>
    <item>
      <title>Re: using TZASC module</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/using-TZASC-module/m-p/230674#M369</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;P&gt;This was one of the threads I mentioned last week as having held a further discussion by email, but those updates not appearing on the thread, as far as I can see the following should have been added to this thread, then waiting on further requests for help if required, don't think we need to confirm anything further with design at this time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom:15.0pt;line-height:13.5pt"&gt;&lt;SPAN style="font-size:9.0pt;font-family: Helvetica , sans-serif ;color:#999999"&gt;reply from &lt;A _jive_internal="true" href="https://community.nxp.com/people/billpringlemeir?et=watches.email.thread"&gt;Bill &lt;SPAN class="SpellE"&gt;Pringlemeir&lt;/SPAN&gt;&lt;/A&gt; in &lt;I&gt;Vybrid Processors&lt;/I&gt; - &lt;A _jive_internal="true" href="https://community.nxp.com/message/383635?et=watches.email.thread#383635"&gt;View the full discussion&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV align="center" style="text-align:center"&gt;&lt;/DIV&gt;&lt;P style="line-height:15.0pt"&gt;&lt;SPAN style="font-size:10.5pt;font-family: Helvetica , sans-serif ;color:#666666"&gt;Does the ROM code do a sense or can we use over-ride to temporarily test this so as to not brick a device?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Then a further update from me -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="mso-ascii-font-family:Calibri;mso-hansi-font-family:Calibri;mso-bidi-font-family:Calibri;color:#1F497D"&gt;Yet to confirm all this of course, but I don't believe there is any override capability, would defeat the purpose I guess, the fuse values are loaded at boot and fixed.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="mso-ascii-font-family:Calibri;mso-hansi-font-family:Calibri;mso-bidi-font-family:Calibri;color:#1F497D"&gt;If you look at the sample code fuse programmer, it's not that hard, just read it again and then read it again and then, you get the idea, before you commit to programming.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="mso-ascii-font-family:Calibri;mso-hansi-font-family:Calibri;mso-bidi-font-family:Calibri;color:#1F497D"&gt;You should only target to blow the single fuse at bit 28 of OCOTP_CFG5.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="mso-ascii-font-family:Calibri;mso-hansi-font-family:Calibri;mso-bidi-font-family:Calibri;color:#1F497D"&gt;The sample code has a fuse data programming array, broken into bank, word, byte and data, an all zero will stop the program, so you want to use an 8 byte array { 0,6,3,0x10,0,0,0,0 }.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="mso-ascii-font-family:Calibri;mso-hansi-font-family:Calibri;mso-bidi-font-family:Calibri;color:#1F497D"&gt;Use the RM and keep reading the sample code until you are sure you agree and understand the array values given.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="mso-ascii-font-family:Calibri;mso-hansi-font-family:Calibri;mso-bidi-font-family:Calibri;color:#1F497D"&gt;When you run the code there is a terminal interface that tells you what you are asking to do and waits for you to confirm before programming.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="mso-ascii-font-family:Calibri;mso-hansi-font-family:Calibri;mso-bidi-font-family:Calibri;color:#1F497D"&gt;After you think you have programmed the board, power cycle and read the OCOTP_CFG5 register to confirm bit 28 is now 1, this should allow you to use the TZC.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="mso-ascii-font-family:Calibri;mso-hansi-font-family:Calibri;mso-bidi-font-family:Calibri;color:#1F497D"&gt;Good luck, if I could make this reply self destruct in 5 seconds I would ;-)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="mso-ascii-font-family:Calibri;mso-hansi-font-family:Calibri;mso-bidi-font-family:Calibri;color:#1F497D"&gt;Ross&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Mar 2014 14:16:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/using-TZASC-module/m-p/230674#M369</guid>
      <dc:creator>RossMcLuckie</dc:creator>
      <dc:date>2014-03-07T14:16:44Z</dc:date>
    </item>
    <item>
      <title>Re: using TZASC module</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/using-TZASC-module/m-p/230675#M370</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi all&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you for this information &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Br&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;francois &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Mar 2014 15:16:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/using-TZASC-module/m-p/230675#M370</guid>
      <dc:creator>francoisjuillet</dc:creator>
      <dc:date>2014-03-10T15:16:32Z</dc:date>
    </item>
  </channel>
</rss>

