<?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 Do delay time requried to read d flash data at start up after reset? in S12 / MagniV Microcontrollers</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Do-delay-time-requried-to-read-d-flash-data-at-start-up-after/m-p/621491#M13355</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Im using a MC9S12XET256 controller(mc9s12xe family).&lt;/P&gt;&lt;P&gt;i'm reading a particular value from d flash memory. &amp;nbsp;For ex: lets assume the current value in the the address 0x10 _0000 is &amp;nbsp;23&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;on start up, i have the following piece of code&amp;nbsp;&lt;/P&gt;&lt;P&gt;_startup()&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;clockinit()&lt;/P&gt;&lt;P&gt;flashinit()&lt;/P&gt;&lt;P&gt;main()&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;void main()&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;temp= *(NVM_Reprogramming * __far)0x100000;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;i found that value is not read properly&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When i inject a random delay, it is read properly.&lt;/P&gt;&lt;P&gt;_startup()&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;main()&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;void main()&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;uint16 i=0;&lt;/P&gt;&lt;P&gt;while(i&amp;lt;10000)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;i++;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;temp= *(NVM_Reprogramming * __far)0x100000;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Its reading value &amp;nbsp;23 correctly.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Is any delay required to read dflash data from memory? after reset ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Though controller supported emulated eeprom we didnt opt for it?&lt;/P&gt;&lt;P&gt;Did anybody faced such hissues earlier?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 Nov 2016 09:37:47 GMT</pubDate>
    <dc:creator>rubykrishna</dc:creator>
    <dc:date>2016-11-01T09:37:47Z</dc:date>
    <item>
      <title>Do delay time requried to read d flash data at start up after reset?</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Do-delay-time-requried-to-read-d-flash-data-at-start-up-after/m-p/621491#M13355</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Im using a MC9S12XET256 controller(mc9s12xe family).&lt;/P&gt;&lt;P&gt;i'm reading a particular value from d flash memory. &amp;nbsp;For ex: lets assume the current value in the the address 0x10 _0000 is &amp;nbsp;23&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;on start up, i have the following piece of code&amp;nbsp;&lt;/P&gt;&lt;P&gt;_startup()&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;clockinit()&lt;/P&gt;&lt;P&gt;flashinit()&lt;/P&gt;&lt;P&gt;main()&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;void main()&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;temp= *(NVM_Reprogramming * __far)0x100000;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;i found that value is not read properly&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When i inject a random delay, it is read properly.&lt;/P&gt;&lt;P&gt;_startup()&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;main()&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;void main()&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;uint16 i=0;&lt;/P&gt;&lt;P&gt;while(i&amp;lt;10000)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;i++;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;temp= *(NVM_Reprogramming * __far)0x100000;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Its reading value &amp;nbsp;23 correctly.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Is any delay required to read dflash data from memory? after reset ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Though controller supported emulated eeprom we didnt opt for it?&lt;/P&gt;&lt;P&gt;Did anybody faced such hissues earlier?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Nov 2016 09:37:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Do-delay-time-requried-to-read-d-flash-data-at-start-up-after/m-p/621491#M13355</guid>
      <dc:creator>rubykrishna</dc:creator>
      <dc:date>2016-11-01T09:37:47Z</dc:date>
    </item>
    <item>
      <title>Re: Do delay time requried to read d flash data at start up after reset?</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Do-delay-time-requried-to-read-d-flash-data-at-start-up-after/m-p/621492#M13356</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ruby,&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;It seems that content of your question is almost the same as your next thread at &lt;/SPAN&gt;&lt;A class="jive-link-thread-small" data-containerid="11493" data-containertype="14" data-objectid="437990" data-objecttype="1" href="https://community.nxp.com/thread/437990"&gt;https://community.nxp.com/thread/437990&lt;/A&gt;&lt;/P&gt;&lt;P&gt;We may continue in a discussion there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Radek&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Nov 2016 16:32:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Do-delay-time-requried-to-read-d-flash-data-at-start-up-after/m-p/621492#M13356</guid>
      <dc:creator>RadekS</dc:creator>
      <dc:date>2016-11-02T16:32:13Z</dc:date>
    </item>
  </channel>
</rss>

