<?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>S12 / MagniV MicrocontrollersのトピックRe: Flash Read/ write problem for s12xdg</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Flash-Read-write-problem-for-s12xdg/m-p/182270#M6686</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Flash memory is not readable while any flash command is in progress (erase, blank check, program etc). You need to disable interrupts before, and reenable them only after flash command is complete. Also part of your flashing code, which clears CBEIF and waits until CBEIF is set, should execute from RAM or another memory, which is readable while flash is being programmed, erased etc.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 Nov 2011 15:52:35 GMT</pubDate>
    <dc:creator>kef</dc:creator>
    <dc:date>2011-11-14T15:52:35Z</dc:date>
    <item>
      <title>Flash Read/ write problem for s12xdg</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Flash-Read-write-problem-for-s12xdg/m-p/182269#M6685</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am working on flash bootloader on xdg128.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For communication with bootloader I am using serial port with interrupt.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But if I dont disable interrupt while actual flash read/write operation are going on the code hangs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As per program flow chart for xdg128(as mentioned in datasheet), nothing is written about disabling interrupt.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also as per flowchart if i check CBEIF bit for writing next word, writing fails. It works if some delay is given between them.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Why so.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 Nov 2011 14:45:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Flash-Read-write-problem-for-s12xdg/m-p/182269#M6685</guid>
      <dc:creator>Pinak</dc:creator>
      <dc:date>2011-11-12T14:45:14Z</dc:date>
    </item>
    <item>
      <title>Re: Flash Read/ write problem for s12xdg</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Flash-Read-write-problem-for-s12xdg/m-p/182270#M6686</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Flash memory is not readable while any flash command is in progress (erase, blank check, program etc). You need to disable interrupts before, and reenable them only after flash command is complete. Also part of your flashing code, which clears CBEIF and waits until CBEIF is set, should execute from RAM or another memory, which is readable while flash is being programmed, erased etc.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Nov 2011 15:52:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Flash-Read-write-problem-for-s12xdg/m-p/182270#M6686</guid>
      <dc:creator>kef</dc:creator>
      <dc:date>2011-11-14T15:52:35Z</dc:date>
    </item>
  </channel>
</rss>

