<?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 Read trim value after Secure in 8-bit Microcontrollers</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Read-trim-value-after-Secure/m-p/146370#M7315</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Maybe it's a stupid question, I think answer is no, but maybe you guys could surpise me! &lt;A href="http://freescale.i.lithium.com/i/smilies/16x16_smiley-wink.gif"&gt;&lt;IMG alt=":smileywink:" class="emoticon emoticon-smileywink" src="http://freescale.i.lithium.com/i/smilies/16x16_smiley-wink.gif" title="Smiley Wink" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using an AC32 with freescale bootloader and my application code, the device i secured but we didn't have set the backdoor feature!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any way to read the trim byt before erasing the device, we suspect that the device is not correctly programmed by our supplier...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 15 Mar 2012 16:10:02 GMT</pubDate>
    <dc:creator>Stipey75</dc:creator>
    <dc:date>2012-03-15T16:10:02Z</dc:date>
    <item>
      <title>Read trim value after Secure</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Read-trim-value-after-Secure/m-p/146370#M7315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Maybe it's a stupid question, I think answer is no, but maybe you guys could surpise me! &lt;A href="http://freescale.i.lithium.com/i/smilies/16x16_smiley-wink.gif"&gt;&lt;IMG alt=":smileywink:" class="emoticon emoticon-smileywink" src="http://freescale.i.lithium.com/i/smilies/16x16_smiley-wink.gif" title="Smiley Wink" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using an AC32 with freescale bootloader and my application code, the device i secured but we didn't have set the backdoor feature!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any way to read the trim byt before erasing the device, we suspect that the device is not correctly programmed by our supplier...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Mar 2012 16:10:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Read-trim-value-after-Secure/m-p/146370#M7315</guid>
      <dc:creator>Stipey75</dc:creator>
      <dc:date>2012-03-15T16:10:02Z</dc:date>
    </item>
    <item>
      <title>Re: Read trim value after Secure</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Read-trim-value-after-Secure/m-p/146371#M7316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Flash, RAM and EEPROM are secure resources. Peripheral registers, including&amp;nbsp;TRIM bits in ICGTRIM register, are&amp;nbsp;never secured and are always readable over BDM.&amp;nbsp;So it is possible,&amp;nbsp;but may depend on tools you are using.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Don't know how to do it on CW10, but with CW6.3 and USB Multilink, you can start debug session, BUT instead of hitting [[Connect (Reset)]] button, you should click [[Hotsync]] button. Then you should navigate memory component to address of trim register and read it. MCU should keep running your code, which&amp;nbsp;should guarantee you, that your program started executing and copied trim bits from NVTRIM locations in flash to trim registers. Just tried it with QE128 and CW6.3.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Mar 2012 00:35:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Read-trim-value-after-Secure/m-p/146371#M7316</guid>
      <dc:creator>kef</dc:creator>
      <dc:date>2012-03-16T00:35:32Z</dc:date>
    </item>
    <item>
      <title>Re: Read trim value after Secure</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Read-trim-value-after-Secure/m-p/146372#M7317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for you answer kef!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I solved programming via bootloader the application with a little modify to send in serial the trim value (so i didn't touch the original).&lt;/P&gt;&lt;P&gt;Your suggestions is quicker anyway..i thought that I cannot read trim value with secured device!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Mar 2012 16:44:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Read-trim-value-after-Secure/m-p/146372#M7317</guid>
      <dc:creator>Stipey75</dc:creator>
      <dc:date>2012-03-16T16:44:22Z</dc:date>
    </item>
    <item>
      <title>Re: Read trim value after Secure</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Read-trim-value-after-Secure/m-p/146373#M7318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If it is possible to use the serial bootloader, at the correct baud rate, this would seem to imply that the trim value must be currently correct.&amp;nbsp; It is equally important for the bootloader initialisation code to read the non-volatile trim value, and write this to the trim register.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I presume that the only issue is whether the non-volatile trim setting has been correctly calibrated during the programming of the bootloader code, so as to provide the required internal reference frequency.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With a secured device, you will not be able to directly read the non-volatile setting, using the BDM, but the trim register itself should be readable.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mac&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 17 Mar 2012 06:23:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Read-trim-value-after-Secure/m-p/146373#M7318</guid>
      <dc:creator>bigmac</dc:creator>
      <dc:date>2012-03-17T06:23:16Z</dc:date>
    </item>
  </channel>
</rss>

