<?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: S12z Flash Enter an abort in S12 / MagniV Microcontrollers</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12z-Flash-Enter-an-abort/m-p/901512#M16456</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;Thank you for your code.&lt;/P&gt;&lt;P&gt;At first, the flash memory should be erased. I have tested it in the main function and it works for me, see example below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;byte err;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;err = IFsh1_EraseSector(0xff1000);&lt;/STRONG&gt;&lt;BR /&gt;err = IFsh1_SetByteFlash(0xff1000, 0xAA);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Diana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 06 May 2019 11:57:07 GMT</pubDate>
    <dc:creator>dianabatrlova</dc:creator>
    <dc:date>2019-05-06T11:57:07Z</dc:date>
    <item>
      <title>S12z Flash Enter an abort</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12z-Flash-Enter-an-abort/m-p/901511#M16455</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;i have got the flash problem while debuging the internel flash with PE, project is in the attachment(CW10.7&amp;nbsp;the chip is 9s12zvc).&lt;/P&gt;&lt;P&gt;i made some effort：&lt;/P&gt;&lt;P&gt;1.move all flash related func into ram ,as well as interrupt isr.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/80451i1AAF428F3453887C/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/80493iE8D77B4A5C2AA7FC/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;2.moved the interrupt vector into ram:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/80530iF5EDF4CFF766DBC9/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_4.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/80569i9A01A81F0DCF8F8B/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_4.png" alt="pastedImage_4.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the project stop at 0x150022&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_5.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/80630iE03E9644425EAFC3/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_5.png" alt="pastedImage_5.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is there something wrong ablout the project?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 May 2019 02:29:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12z-Flash-Enter-an-abort/m-p/901511#M16455</guid>
      <dc:creator>mikijt</dc:creator>
      <dc:date>2019-05-06T02:29:37Z</dc:date>
    </item>
    <item>
      <title>Re: S12z Flash Enter an abort</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12z-Flash-Enter-an-abort/m-p/901512#M16456</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;Thank you for your code.&lt;/P&gt;&lt;P&gt;At first, the flash memory should be erased. I have tested it in the main function and it works for me, see example below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;byte err;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;err = IFsh1_EraseSector(0xff1000);&lt;/STRONG&gt;&lt;BR /&gt;err = IFsh1_SetByteFlash(0xff1000, 0xAA);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Diana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 May 2019 11:57:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12z-Flash-Enter-an-abort/m-p/901512#M16456</guid>
      <dc:creator>dianabatrlova</dc:creator>
      <dc:date>2019-05-06T11:57:07Z</dc:date>
    </item>
  </channel>
</rss>

