<?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: CW displaying flash memory on Star12 in CodeWarrior for MCU</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/CW-displaying-flash-memory-on-Star12/m-p/126800#M397</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;P&gt;Thank you very much!!&amp;nbsp; I've been fighting that one for some time.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm glad these forums are up and finally seeing some activity!&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 24 Feb 2006 03:49:32 GMT</pubDate>
    <dc:creator>mke_et</dc:creator>
    <dc:date>2006-02-24T03:49:32Z</dc:date>
    <item>
      <title>CW displaying flash memory on Star12</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/CW-displaying-flash-memory-on-Star12/m-p/126798#M395</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;I'm using CW 3.1 SE to do a Star12 project.&amp;nbsp; This is not my first project, but it's the first one that uses paged flash.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I'm having trouble getting some flash stuff to work.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;What's not helping is I can't get the memory window to display the flash.&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;At first I thought it was just that the debugger won't display paged flash.&amp;nbsp; But then I set the memory window up to 388000h.&amp;nbsp; I can see the flash image that I'm loading by default up there.&amp;nbsp; But when I run and stop the CPU, that window will NOT update.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;It just won't.&amp;nbsp; It STAYS locked on what I programmed in when I built the code.&amp;nbsp; I can add data to the the window, and it never shows.&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I was seeing the same thing with the EEPROM for a while.&amp;nbsp; And I wrote a small routine that just 'snapshot' the EEPROM to SRAM (I only needed about 100 bytes of it) on every timer tick just to see it, and then suddenly the memory window started working direct to the EEPROM.&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Is this a known bug in CodeWarrior?&amp;nbsp; Pretty serious if it is.&amp;nbsp; Any workarounds?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Mike&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;Message Edited by mke_et on &lt;SPAN class="date_text"&gt;02-21-2006&lt;/SPAN&gt;&lt;SPAN class="time_text"&gt;02:22 PM&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Feb 2006 03:09:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/CW-displaying-flash-memory-on-Star12/m-p/126798#M395</guid>
      <dc:creator>mke_et</dc:creator>
      <dc:date>2006-02-22T03:09:39Z</dc:date>
    </item>
    <item>
      <title>Re: CW displaying flash memory on Star12</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/CW-displaying-flash-memory-on-Star12/m-p/126799#M396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;With great help from my colleagues, I think I understand the problem. The debugger's window won't update when you stop your program in the debugger because the debugger is caching target memory on the host. The debugger uses this cache to speed up the debugging process but doesn't show a real-time view of target memory.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;At the risk of slowing down the debugger, turn on the&amp;nbsp;"&lt;!--StartFragment --&gt;Refresh memory when halting"&amp;nbsp;option for the appropriate item in the Debugging Memory Map window.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;To manually change the contents of flash memory through the debugger, use the debugger's command window to enter these commands:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="Courier New"&gt;FLASH&lt;BR /&gt;FLASH SELECT&lt;BR /&gt;FLASH ARM&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="Courier New"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;You can then edit in the Word and Long display format.&amp;nbsp;HCS12(X) targets do not allow byte editing.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;To close the edit session, following commands should be typed in the Command window:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="Courier New"&gt;FLASH DISARM&lt;BR /&gt;FLASH UNSELECT&lt;BR /&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;P&gt;&lt;FONT face="Courier New"&gt;&lt;FONT face="Arial"&gt;The HC(S)12(X) Debugger Manual describes these features more fully.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;DIV&gt;&lt;FONT face="Courier New"&gt;&lt;FONT face="Arial"&gt;Marc.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2006 23:37:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/CW-displaying-flash-memory-on-Star12/m-p/126799#M396</guid>
      <dc:creator>marc_paquette</dc:creator>
      <dc:date>2006-02-23T23:37:21Z</dc:date>
    </item>
    <item>
      <title>Re: CW displaying flash memory on Star12</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/CW-displaying-flash-memory-on-Star12/m-p/126800#M397</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;P&gt;Thank you very much!!&amp;nbsp; I've been fighting that one for some time.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm glad these forums are up and finally seeing some activity!&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Feb 2006 03:49:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/CW-displaying-flash-memory-on-Star12/m-p/126800#M397</guid>
      <dc:creator>mke_et</dc:creator>
      <dc:date>2006-02-24T03:49:32Z</dc:date>
    </item>
    <item>
      <title>Re: CW displaying flash memory on Star12</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/CW-displaying-flash-memory-on-Star12/m-p/126801#M398</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;P&gt;Boy, give a guy a little info and he becomes VERY dangerous!&lt;/P&gt;&lt;P&gt;I can now look at the FLASH, but if I leave it I can't program it.&amp;nbsp; It tells me 'Error while loading diagnostics. and then won't run.&amp;nbsp; I take it the values have to exactly match what you're setting the chip up for?&lt;/P&gt;&lt;P&gt;I'm gonna have to play with this, because in my configuration I've moved the SRAM to 2000-3FFF and the EEPROM to 8000-FFF&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Feb 2006 05:23:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/CW-displaying-flash-memory-on-Star12/m-p/126801#M398</guid>
      <dc:creator>mke_et</dc:creator>
      <dc:date>2006-02-24T05:23:25Z</dc:date>
    </item>
  </channel>
</rss>

