<?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>CodeWarrior for MCUのトピックRe: how to decide dest in SetBlockFlash()</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/how-to-decide-dest-in-SetBlockFlash/m-p/183955#M6340</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi CrasyCat,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thank you very much. This is exactly what I want to know. This is great. Thank you again!&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Softa&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Sep 2008 14:52:38 GMT</pubDate>
    <dc:creator>SofTA</dc:creator>
    <dc:date>2008-09-11T14:52:38Z</dc:date>
    <item>
      <title>how to decide dest in SetBlockFlash()</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/how-to-decide-dest-in-SetBlockFlash/m-p/183951#M6336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi Experts,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;It seems someone asked this kind of question before but I could no find an answer suit me so please excuse me to ask it again:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I want to save some calibration data. I am using MC9S08QE128 CPU. How can I decide the dest in SetBlockFlash() in IntFlash bean? Thanks a lot in advance.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Softa&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Sep 2008 03:34:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/how-to-decide-dest-in-SetBlockFlash/m-p/183951#M6336</guid>
      <dc:creator>SofTA</dc:creator>
      <dc:date>2008-09-06T03:34:17Z</dc:date>
    </item>
    <item>
      <title>Re: how to decide dest in SetBlockFlash()</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/how-to-decide-dest-in-SetBlockFlash/m-p/183952#M6337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;Take a look at this &lt;A href="http://forums.freescale.com/freescale/board/message?board.id=CW816COMM&amp;amp;message.id=260&amp;amp;query.id=74154#M260" target="_blank"&gt;thread&lt;/A&gt; and see if it will help you. If you're talking about what memory address to use for storing into Flash, you need to look at the memory map for the MCU you're working with. HTH.&lt;BR /&gt;&lt;BR /&gt;---Tom&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Sep 2008 01:26:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/how-to-decide-dest-in-SetBlockFlash/m-p/183952#M6337</guid>
      <dc:creator>J2MEJediMaster</dc:creator>
      <dc:date>2008-09-09T01:26:51Z</dc:date>
    </item>
    <item>
      <title>Re: how to decide dest in SetBlockFlash()</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/how-to-decide-dest-in-SetBlockFlash/m-p/183953#M6338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi Tom,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thank you for offering help. I may not state me question clearly. I am new to PE. As I understand, my program code compiled in PE platform also use flash memory. I do not worry much about the address of the data I want to save because I think I can use &amp;amp;data to get the address. But I don't know where to save it safely without overwriting my program code. For example, if I write it to address 0x08000, how do I know or control&amp;nbsp;that the address 0x08000 is only used by me but not the compiler? Maybe my quesion is too rudimentary :smileyhappy:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Softa&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Sep 2008 10:57:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/how-to-decide-dest-in-SetBlockFlash/m-p/183953#M6338</guid>
      <dc:creator>SofTA</dc:creator>
      <dc:date>2008-09-10T10:57:23Z</dc:date>
    </item>
    <item>
      <title>Re: how to decide dest in SetBlockFlash()</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/how-to-decide-dest-in-SetBlockFlash/m-p/183954#M6339</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;If you want to reserve a page of flash for your application, just make sure to remove any&amp;nbsp;occurrence of this &amp;nbsp;page in the.PRM file's PLACEMENT block.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Your original placement block might look as follows:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV class="msg_source_code"&gt;&lt;DIV class="text_smallest"&gt;Code:&lt;/DIV&gt;&lt;PRE&gt;PLACEMENT    
     DEFAULT_RAM               INTO  RAM,RAM1;    _PRESTART,                         
    STARTUP,                                ROM_VAR,                                STRINGS,                                VIRTUAL_TABLE_SEGMENT,             
    NON_BANKED,                        
    DEFAULT_ROM,    COPY                       INTO  ROM;
    PAGED_ROM                  INTO  PPAGE_0,PPAGE_2,PPAGE_4,PPAGE_5,PPAGE_6,PPAGE_7,ROM1;    _DATA_ZEROPAGE,                    
    MY_ZEROPAGE                INTO  Z_RAM;END&lt;/PRE&gt;&lt;/DIV&gt;&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;Let's say you want to reserve PPAGE_0 to store your data in your application. Then modify the placement block as follows:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV class="msg_source_code"&gt;&lt;DIV class="text_smallest"&gt;Code:&lt;/DIV&gt;&lt;PRE&gt;PLACEMENT
    DEFAULT_RAM               INTO  RAM,RAM1;    _PRESTART,
    STARTUP,                                ROM_VAR,                                STRINGS,                                VIRTUAL_TABLE_SEGMENT,
    NON_BANKED,               
    DEFAULT_ROM,    COPY                       INTO  ROM;
    PAGED_ROM                  INTO  PPAGE_2,PPAGE_4,PPAGE_5,PPAGE_6,PPAGE_7,ROM1;    _DATA_ZEROPAGE,       
    MY_ZEROPAGE                INTO  Z_RAM;END&lt;/PRE&gt;&lt;/DIV&gt;&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;&lt;/DIV&gt;&lt;DIV&gt;CrasyCat&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2020 09:34:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/how-to-decide-dest-in-SetBlockFlash/m-p/183954#M6339</guid>
      <dc:creator>CrasyCat</dc:creator>
      <dc:date>2020-10-29T09:34:58Z</dc:date>
    </item>
    <item>
      <title>Re: how to decide dest in SetBlockFlash()</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/how-to-decide-dest-in-SetBlockFlash/m-p/183955#M6340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi CrasyCat,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thank you very much. This is exactly what I want to know. This is great. Thank you again!&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Softa&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Sep 2008 14:52:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/how-to-decide-dest-in-SetBlockFlash/m-p/183955#M6340</guid>
      <dc:creator>SofTA</dc:creator>
      <dc:date>2008-09-11T14:52:38Z</dc:date>
    </item>
  </channel>
</rss>

