<?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: Flash write operation not working in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Flash-write-operation-not-working/m-p/1968521#M66828</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Any reference related to move vector table or ISR to RAM from flash memory.&lt;BR /&gt;&lt;BR /&gt;Thank you</description>
    <pubDate>Tue, 08 Oct 2024 06:17:03 GMT</pubDate>
    <dc:creator>RajPadmani</dc:creator>
    <dc:date>2024-10-08T06:17:03Z</dc:date>
    <item>
      <title>Flash write operation not working</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Flash-write-operation-not-working/m-p/1892407#M66464</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;When I perform a flash write operation on the KM34Z256 MCU before initializing interrupt-driven peripherals, the operation works correctly. However, if the peripherals are running, the MCU enters the fault handler.&lt;/P&gt;&lt;P&gt;To resolve this, I disabled all interrupts before the flash write operation and re-enabled them afterward. Although this prevents the MCU from entering the fault handler, it causes the peripherals (ADC, timer interrupts) to malfunction.&lt;/P&gt;&lt;P&gt;Could you please provide guidance on how to perform a flash write operation without disrupting the functioning of the interrupt-driven peripherals?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 22 Jun 2024 16:00:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Flash-write-operation-not-working/m-p/1892407#M66464</guid>
      <dc:creator>Mr7</dc:creator>
      <dc:date>2024-06-22T16:00:15Z</dc:date>
    </item>
    <item>
      <title>Re: Flash write operation not working</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Flash-write-operation-not-working/m-p/1892549#M66465</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;As you know that the KM34Z256 has only one flash module, when you are operating the flash for example erasing/programming flash, the code to operate flash must be located at RAM and execute from RAM, secondly, you can not execute any code in flash, if you put the vector table in flash and put the ISR in flash, you have to disable interrupt, after the flash operating complete, enable interrupt.&lt;/P&gt;
&lt;P&gt;If you want to enable interrupt while you operate flash, the interrupt vector table must be copied to RAM and modify the Vector Table Offset Register, thirdly, you have to put all ISR in RAM by copying the ISR from flash to RAM.&lt;/P&gt;
&lt;P&gt;Hope it can help you&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;XiangJun Rong&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jun 2024 03:40:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Flash-write-operation-not-working/m-p/1892549#M66465</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2024-06-24T03:40:28Z</dc:date>
    </item>
    <item>
      <title>Re: Flash write operation not working</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Flash-write-operation-not-working/m-p/1968521#M66828</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Any reference related to move vector table or ISR to RAM from flash memory.&lt;BR /&gt;&lt;BR /&gt;Thank you</description>
      <pubDate>Tue, 08 Oct 2024 06:17:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Flash-write-operation-not-working/m-p/1968521#M66828</guid>
      <dc:creator>RajPadmani</dc:creator>
      <dc:date>2024-10-08T06:17:03Z</dc:date>
    </item>
  </channel>
</rss>

