<?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>8-bit MicrocontrollersのトピックRe: QE128 serial bootloader and Flash write in RAM ?</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/QE128-serial-bootloader-and-Flash-write-in-RAM/m-p/179569#M12882</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For the umpteenth time......&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You cannot read/execute from and programme/erase in the same flash array at the same time!!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;RTFM or the forum, or both&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 26 Feb 2010 05:49:57 GMT</pubDate>
    <dc:creator>peg</dc:creator>
    <dc:date>2010-02-26T05:49:57Z</dc:date>
    <item>
      <title>QE128 serial bootloader and Flash write in RAM ?</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/QE128-serial-bootloader-and-Flash-write-in-RAM/m-p/179568#M12881</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using the MC9S08QE128 and I am writing a boot loader to copy application code in the lower flash locations. Looking at the serial bootloader in AN2295, I see that the erase and write flash subroutines are copied in RAM and then executed from there.&amp;nbsp; In my boot loader, I try to run the write command without copying the code in RAM, in other words I run it from the boot loader ROM directly since the boot loader must not overwrite itself by design. When I step trace the code with the BDM the write command works everytime but when I let it run full speed (F5 in the TrueTime debugger) the CPU goes wild (I assume it resets) and the debugger gets lost. More precisely I get ILLEGAL_BP and Triggers A &amp;amp; C occurred errors in an unpredictable way.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My question:&lt;/P&gt;&lt;P&gt;Do I absolutely have to copy and run the flash command routines from RAM ? Can you help me otherwise ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Some sample C code would be terrific.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Pierre&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Feb 2010 03:59:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/QE128-serial-bootloader-and-Flash-write-in-RAM/m-p/179568#M12881</guid>
      <dc:creator>pbouf</dc:creator>
      <dc:date>2010-02-26T03:59:12Z</dc:date>
    </item>
    <item>
      <title>Re: QE128 serial bootloader and Flash write in RAM ?</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/QE128-serial-bootloader-and-Flash-write-in-RAM/m-p/179569#M12882</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For the umpteenth time......&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You cannot read/execute from and programme/erase in the same flash array at the same time!!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;RTFM or the forum, or both&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Feb 2010 05:49:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/QE128-serial-bootloader-and-Flash-write-in-RAM/m-p/179569#M12882</guid>
      <dc:creator>peg</dc:creator>
      <dc:date>2010-02-26T05:49:57Z</dc:date>
    </item>
    <item>
      <title>Re: QE128 serial bootloader and Flash write in RAM ?</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/QE128-serial-bootloader-and-Flash-write-in-RAM/m-p/179570#M12883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'd really like you to point out the exact location of this saying in the QE128 reference manual or any other manual.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyway, you helped greatly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Feb 2010 06:52:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/QE128-serial-bootloader-and-Flash-write-in-RAM/m-p/179570#M12883</guid>
      <dc:creator>pbouf</dc:creator>
      <dc:date>2010-02-26T06:52:38Z</dc:date>
    </item>
    <item>
      <title>Re: QE128 serial bootloader and Flash write in RAM ?</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/QE128-serial-bootloader-and-Flash-write-in-RAM/m-p/179571#M12884</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK, mea culpa. I found this sentence in the 346 pages of the reference manual. It says it all.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"It is not possible to read from a flash block while any command is executing on that specific&lt;BR /&gt;flash block."&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Feb 2010 07:08:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/QE128-serial-bootloader-and-Flash-write-in-RAM/m-p/179571#M12884</guid>
      <dc:creator>pbouf</dc:creator>
      <dc:date>2010-02-26T07:08:16Z</dc:date>
    </item>
    <item>
      <title>Re: QE128 serial bootloader and Flash write in RAM ?</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/QE128-serial-bootloader-and-Flash-write-in-RAM/m-p/179572#M12885</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm new with DZ60 and what I've done is to put the minimum ROM reflash routines&lt;/P&gt;&lt;P&gt;in EEPROM (it doesn't takes a lot of space) without interrupt capabilities .&lt;/P&gt;&lt;P&gt;The rest of the reflash routines (decoding of data&amp;nbsp;from a .mot or .s19 file)&lt;/P&gt;&lt;P&gt;are in a protected area of the ROM.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;francois&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Mar 2010 04:52:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/QE128-serial-bootloader-and-Flash-write-in-RAM/m-p/179572#M12885</guid>
      <dc:creator>Francois</dc:creator>
      <dc:date>2010-03-10T04:52:03Z</dc:date>
    </item>
  </channel>
</rss>

