<?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: Interrupt while Flash write (HCS08 family) in 8-bit Microcontrollers</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Interrupt-while-Flash-write-HCS08-family/m-p/667528#M22392</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Whole flash array/bank gets unreadable while being programmed/erased, not just page you erase program, whole array of pages. Small devices like SG8 have only single flash array. (Some big devices may have 2 big flash arrays. In such devices you could write/erase one array/bank while reading or executing code from another bank.) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edward&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Aug 2017 06:25:24 GMT</pubDate>
    <dc:creator>kef2</dc:creator>
    <dc:date>2017-08-08T06:25:24Z</dc:date>
    <item>
      <title>Interrupt while Flash write (HCS08 family)</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Interrupt-while-Flash-write-HCS08-family/m-p/667523#M22387</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am developing code for MC9SG8S08 microcontroller from HCS08 family. I have developed flash routine for burst programming as per reference manual of microcontroller.&lt;/P&gt;&lt;P&gt;While flash burst &amp;nbsp;write is going on and any timer/SPI &amp;nbsp;interrupt request received by CPU, will it generate any error? will be &amp;nbsp;flash write happen successfully? What should be taken care in this scenario.?&lt;/P&gt;&lt;P&gt;The flash region where flash write is going to happen contains no data which will used by ISR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Aug 2017 09:34:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Interrupt-while-Flash-write-HCS08-family/m-p/667523#M22387</guid>
      <dc:creator>prasad1</dc:creator>
      <dc:date>2017-08-07T09:34:39Z</dc:date>
    </item>
    <item>
      <title>Re: Interrupt while Flash write (HCS08 family)</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Interrupt-while-Flash-write-HCS08-family/m-p/667524#M22388</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;S08 flash is not readable while it is being programmed. This means you not only have to move part of your flash erase/program code to RAM, but also have to disable interrupts for duration of program/erase operation. You could move some ISRs to RAM, but it's not possible to move interrupt vectors table to RAM. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Edward&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Aug 2017 13:03:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Interrupt-while-Flash-write-HCS08-family/m-p/667524#M22388</guid>
      <dc:creator>kef2</dc:creator>
      <dc:date>2017-08-07T13:03:37Z</dc:date>
    </item>
    <item>
      <title>Re: Interrupt while Flash write (HCS08 family)</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Interrupt-while-Flash-write-HCS08-family/m-p/667525#M22389</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Edward,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for quick reply. &amp;nbsp;flash program/erase region&amp;nbsp;neither contains ISR code nor the DATA used by ISR. So is it ok to keep Interrupts on? I am using that flash to store some data only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Prasad S Udawant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Aug 2017 14:27:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Interrupt-while-Flash-write-HCS08-family/m-p/667525#M22389</guid>
      <dc:creator>prasad1</dc:creator>
      <dc:date>2017-08-07T14:27:02Z</dc:date>
    </item>
    <item>
      <title>Re: Interrupt while Flash write (HCS08 family)</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Interrupt-while-Flash-write-HCS08-family/m-p/667526#M22390</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, it‘s not OK. As I said, interrupt vectors table must be readable, and while programming it‘s not readable. If you start programming and some interrupt is triggered, CPU will read wrong address of ISR and jump into the weeds. Interrupts must be disabled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edward&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Aug 2017 14:34:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Interrupt-while-Flash-write-HCS08-family/m-p/667526#M22390</guid>
      <dc:creator>kef2</dc:creator>
      <dc:date>2017-08-07T14:34:41Z</dc:date>
    </item>
    <item>
      <title>Re: Interrupt while Flash write (HCS08 family)</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Interrupt-while-Flash-write-HCS08-family/m-p/667527#M22391</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thanks one again.But I still need some clarification.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am going to write only some bytes of one flash page. Interrupt vector table is located on other flash page. In this scenario also while programming/erasing flash&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;interrupt vectors table will not be readable?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Thanks &amp;nbsp;in advance.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Thanks and regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Prasad S Udawant.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Aug 2017 05:50:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Interrupt-while-Flash-write-HCS08-family/m-p/667527#M22391</guid>
      <dc:creator>prasad1</dc:creator>
      <dc:date>2017-08-08T05:50:03Z</dc:date>
    </item>
    <item>
      <title>Re: Interrupt while Flash write (HCS08 family)</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Interrupt-while-Flash-write-HCS08-family/m-p/667528#M22392</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Whole flash array/bank gets unreadable while being programmed/erased, not just page you erase program, whole array of pages. Small devices like SG8 have only single flash array. (Some big devices may have 2 big flash arrays. In such devices you could write/erase one array/bank while reading or executing code from another bank.) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edward&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Aug 2017 06:25:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Interrupt-while-Flash-write-HCS08-family/m-p/667528#M22392</guid>
      <dc:creator>kef2</dc:creator>
      <dc:date>2017-08-08T06:25:24Z</dc:date>
    </item>
  </channel>
</rss>

