<?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: Debugging flash writer code on MC9S12A256 using Cyclone Pro in CodeWarrior for MCU</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Debugging-flash-writer-code-on-MC9S12A256-using-Cyclone-Pro/m-p/142075#M2791</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hello&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Not sure this is the problem, but I know there is a Debugging Memory Map associated with the debugger.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;You can see the current Debugging memory MAP selecting MultilinkCyclonePro -&amp;gt; "Debugging MemoryMap"&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Make sure the "Refresh memory when halting" is checked for the flash area you are programming.&lt;/DIV&gt;&lt;DIV&gt;Per default, FLASH memory are not refreshed when debugger is halted (As far as I know).&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I hope this helps.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;CrasyCat&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 03 Aug 2007 15:42:41 GMT</pubDate>
    <dc:creator>CrasyCat</dc:creator>
    <dc:date>2007-08-03T15:42:41Z</dc:date>
    <item>
      <title>Debugging flash writer code on MC9S12A256 using Cyclone Pro</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Debugging-flash-writer-code-on-MC9S12A256-using-Cyclone-Pro/m-p/142073#M2789</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;I have an application where I can download a data table via the serial port, and it is then written to Flash.&lt;/DIV&gt;&lt;DIV&gt;The flash writing code is copied into RAM and run from there. (it is compiled as position independent code?)&lt;/DIV&gt;&lt;DIV&gt;If I program this application onto the target, disconnect the BDM, then switch it on again, I can download the table and it is successfully stored to flash memory. I can view the memory via the serial port commands, or I can reconnect the BDM device and inspect the memory in the debugger, and it has been updated successfully &lt;A href="http://freescale.i.lithium.com/i/smilies/16x16_smiley-happy.gif"&gt;&lt;IMG alt=":smileyhappy:" class="emoticon emoticon-smileyhappy" src="http://freescale.i.lithium.com/i/smilies/16x16_smiley-happy.gif" title="Smiley Happy" /&gt;&lt;/A&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Now for the strange part: if I leave the BDM connected and run the program under control of the debugger, the flash memory is &lt;SPAN style="text-decoration: underline;"&gt;not&lt;/SPAN&gt; altered. But neither protection violation nor access error flags are set either. But I can step through the assembler code in RAM and it is running as it should.&amp;nbsp;&lt;A href="http://freescale.i.lithium.com/i/smilies/16x16_smiley-sad.gif"&gt;&lt;IMG alt=":smileysad:" class="emoticon emoticon-smileysad" src="http://freescale.i.lithium.com/i/smilies/16x16_smiley-sad.gif" title="Smiley Sad" /&gt;&lt;/A&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I am guessing that there is a setting in the debugger that I should set but I&amp;nbsp;have tried looking and even checked the help files, but cannot work out what I have done wrong.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Any suggestions please?&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Aug 2007 13:48:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Debugging-flash-writer-code-on-MC9S12A256-using-Cyclone-Pro/m-p/142073#M2789</guid>
      <dc:creator>Stephen</dc:creator>
      <dc:date>2007-08-03T13:48:00Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging flash writer code on MC9S12A256 using Cyclone Pro</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Debugging-flash-writer-code-on-MC9S12A256-using-Cyclone-Pro/m-p/142074#M2790</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Sorry - forgot to mention - True Time simulator and real time debugger is version 6.1, build 6037.&lt;/DIV&gt;&lt;DIV&gt;The cyclone pro is the earlier model without the LCD screen on the front.&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Aug 2007 13:53:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Debugging-flash-writer-code-on-MC9S12A256-using-Cyclone-Pro/m-p/142074#M2790</guid>
      <dc:creator>Stephen</dc:creator>
      <dc:date>2007-08-03T13:53:24Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging flash writer code on MC9S12A256 using Cyclone Pro</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Debugging-flash-writer-code-on-MC9S12A256-using-Cyclone-Pro/m-p/142075#M2791</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hello&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Not sure this is the problem, but I know there is a Debugging Memory Map associated with the debugger.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;You can see the current Debugging memory MAP selecting MultilinkCyclonePro -&amp;gt; "Debugging MemoryMap"&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Make sure the "Refresh memory when halting" is checked for the flash area you are programming.&lt;/DIV&gt;&lt;DIV&gt;Per default, FLASH memory are not refreshed when debugger is halted (As far as I know).&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I hope this helps.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;CrasyCat&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Aug 2007 15:42:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Debugging-flash-writer-code-on-MC9S12A256-using-Cyclone-Pro/m-p/142075#M2791</guid>
      <dc:creator>CrasyCat</dc:creator>
      <dc:date>2007-08-03T15:42:41Z</dc:date>
    </item>
  </channel>
</rss>

