<?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 CodeWarrior - Processor expert - IntFlash Bean-  Compiler Error in Classic/Legacy CodeWarrior</title>
    <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/CodeWarrior-Processor-expert-IntFlash-Bean-Compiler-Error/m-p/210197#M5891</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Everybody&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN style="color: navy; font-family: Arial; font-size: 2;"&gt;&lt;SPAN&gt;I’m working with a licensed CodeWarrior ver. 5.9 and Processor expert and my MCU is MC9S12E128QFP80&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN style="color: navy; font-family: Arial; font-size: 2;"&gt;&lt;SPAN&gt;I have a problem with the IntFlash bean in processor expert&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN style="color: navy; font-family: Arial; font-size: 2;"&gt;&lt;SPAN&gt;I added the bean to my program and when I try to compile it I'm getting each time this error from compiler.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN style="color: navy; font-family: Arial; font-size: 2;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN style="color: navy; font-family: Arial; font-size: 2;"&gt;&lt;SPAN&gt;{{{&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN style="color: navy; font-family: Arial; font-size: 2;"&gt;&lt;SPAN&gt;+IFsh1&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN style="color: navy; font-family: Arial; font-size: 2;"&gt;&lt;SPAN&gt;&amp;nbsp; +ERROR: Compiler option -CpPPAGE=0x30 (address of PPAGE register) or -CpPPAGE=RUNTIME must be set to compile the generated code correctly&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN style="color: navy; font-family: Arial; font-size: 2;"&gt;&lt;SPAN&gt;(current target settings, Compiler for HC12, Options, Code Generation tab, PPAGE register is used for paging). After compiler option change,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN style="color: navy; font-family: Arial; font-size: 2;"&gt;&lt;SPAN&gt;run Code design to apply the change in Processor Expert. For details, see Help of the bean.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN style="color: navy; font-family: Arial; font-size: 2;"&gt;&lt;SPAN&gt;}}}&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN style="color: navy; font-family: Arial; font-size: 2;"&gt;&lt;SPAN&gt;I m trying just use this bean in a simple programming such as&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN style="color: navy; font-family: Arial; font-size: 2;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN style="color: navy; font-family: Arial; font-size: 2;"&gt;&lt;SPAN&gt;IFsh1_SetByteFlash(0x7000,28);&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN style="color: navy; font-family: Arial; font-size: 2;"&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN style="color: navy; font-family: Arial; font-size: 2;"&gt;&lt;SPAN&gt;IFsh1_GetByteFlash(0x7000,&amp;amp;data) ;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;SPAN style="color: navy; font-family: Arial; font-size: 2;"&gt;&lt;SPAN&gt;I was wondering if anybody can help me&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 25 Aug 2009 18:16:18 GMT</pubDate>
    <dc:creator>ARBM66</dc:creator>
    <dc:date>2009-08-25T18:16:18Z</dc:date>
    <item>
      <title>CodeWarrior - Processor expert - IntFlash Bean-  Compiler Error</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/CodeWarrior-Processor-expert-IntFlash-Bean-Compiler-Error/m-p/210197#M5891</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Everybody&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN style="color: navy; font-family: Arial; font-size: 2;"&gt;&lt;SPAN&gt;I’m working with a licensed CodeWarrior ver. 5.9 and Processor expert and my MCU is MC9S12E128QFP80&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN style="color: navy; font-family: Arial; font-size: 2;"&gt;&lt;SPAN&gt;I have a problem with the IntFlash bean in processor expert&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN style="color: navy; font-family: Arial; font-size: 2;"&gt;&lt;SPAN&gt;I added the bean to my program and when I try to compile it I'm getting each time this error from compiler.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN style="color: navy; font-family: Arial; font-size: 2;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN style="color: navy; font-family: Arial; font-size: 2;"&gt;&lt;SPAN&gt;{{{&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN style="color: navy; font-family: Arial; font-size: 2;"&gt;&lt;SPAN&gt;+IFsh1&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN style="color: navy; font-family: Arial; font-size: 2;"&gt;&lt;SPAN&gt;&amp;nbsp; +ERROR: Compiler option -CpPPAGE=0x30 (address of PPAGE register) or -CpPPAGE=RUNTIME must be set to compile the generated code correctly&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN style="color: navy; font-family: Arial; font-size: 2;"&gt;&lt;SPAN&gt;(current target settings, Compiler for HC12, Options, Code Generation tab, PPAGE register is used for paging). After compiler option change,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN style="color: navy; font-family: Arial; font-size: 2;"&gt;&lt;SPAN&gt;run Code design to apply the change in Processor Expert. For details, see Help of the bean.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN style="color: navy; font-family: Arial; font-size: 2;"&gt;&lt;SPAN&gt;}}}&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN style="color: navy; font-family: Arial; font-size: 2;"&gt;&lt;SPAN&gt;I m trying just use this bean in a simple programming such as&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN style="color: navy; font-family: Arial; font-size: 2;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN style="color: navy; font-family: Arial; font-size: 2;"&gt;&lt;SPAN&gt;IFsh1_SetByteFlash(0x7000,28);&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN style="color: navy; font-family: Arial; font-size: 2;"&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN style="color: navy; font-family: Arial; font-size: 2;"&gt;&lt;SPAN&gt;IFsh1_GetByteFlash(0x7000,&amp;amp;data) ;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;SPAN style="color: navy; font-family: Arial; font-size: 2;"&gt;&lt;SPAN&gt;I was wondering if anybody can help me&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Aug 2009 18:16:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/CodeWarrior-Processor-expert-IntFlash-Bean-Compiler-Error/m-p/210197#M5891</guid>
      <dc:creator>ARBM66</dc:creator>
      <dc:date>2009-08-25T18:16:18Z</dc:date>
    </item>
    <item>
      <title>Re: CodeWarrior - Processor expert - IntFlash Bean- Compiler Error</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/CodeWarrior-Processor-expert-IntFlash-Bean-Compiler-Error/m-p/210198#M5892</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;Did you try to add the option -CpPPAGE=RUNTIME to your compiler command line as instructed by&amp;nbsp;the message?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What happens then?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CrasyCat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Aug 2009 19:40:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/CodeWarrior-Processor-expert-IntFlash-Bean-Compiler-Error/m-p/210198#M5892</guid>
      <dc:creator>CrasyCat</dc:creator>
      <dc:date>2009-08-25T19:40:14Z</dc:date>
    </item>
    <item>
      <title>Re: CodeWarrior - Processor expert - IntFlash Bean- Compiler Error</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/CodeWarrior-Processor-expert-IntFlash-Bean-Compiler-Error/m-p/210199#M5893</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you CrasyCat for your kind reply,&lt;/P&gt;&lt;P&gt;Could you please explain me how and where I should do this job?&lt;/P&gt;&lt;P&gt;Actually I'm a begineer with CodeWarrior and Processor Expert.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Aug 2009 21:14:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/CodeWarrior-Processor-expert-IntFlash-Bean-Compiler-Error/m-p/210199#M5893</guid>
      <dc:creator>ARBM66</dc:creator>
      <dc:date>2009-08-25T21:14:16Z</dc:date>
    </item>
    <item>
      <title>Re: CodeWarrior - Processor expert - IntFlash Bean- Compiler Error</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/CodeWarrior-Processor-expert-IntFlash-Bean-Compiler-Error/m-p/210200#M5894</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P class="MsoNormal"&gt;Finally I have succeeded to solve the problem but I have still had another problem:&lt;/P&gt;&lt;P class="MsoNormal"&gt;I use the following routine for writing data in my program with IntFlash bean:&lt;/P&gt;&lt;P class="MsoNormal"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN&gt;Fsh1_SetByteFlash(0x7000,28);&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN&gt;IFsh1_GetByteFlash(0x7000,&amp;amp;data) ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="MsoNormal"&gt;Problem is when I check the "data" there is nothing inside it.&lt;/P&gt;&lt;P class="MsoNormal"&gt;So I believe there is a protection for flash memory.&lt;/P&gt;&lt;P class="MsoNormal"&gt;Please let me know how I can solve this?&lt;/P&gt;&lt;P class="MsoNormal"&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Aug 2009 00:26:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/CodeWarrior-Processor-expert-IntFlash-Bean-Compiler-Error/m-p/210200#M5894</guid>
      <dc:creator>ARBM66</dc:creator>
      <dc:date>2009-08-26T00:26:05Z</dc:date>
    </item>
    <item>
      <title>Re: CodeWarrior - Processor expert - IntFlash Bean- Compiler Error</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/CodeWarrior-Processor-expert-IntFlash-Bean-Compiler-Error/m-p/210201#M5895</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;In order to add option -CpPPAGE=RUNTIME to your project:&lt;/P&gt;&lt;P&gt;&amp;nbsp; - Open Target Settings dialog&lt;/P&gt;&lt;P&gt;&amp;nbsp; - Switch to Panel "Compiler for HC12"&lt;/P&gt;&lt;P&gt;&amp;nbsp; - in the command line field add -CpPPAGE=RUNTIME.&lt;/P&gt;&lt;P&gt;&amp;nbsp; - Close OK to close the dialog and re-build your application.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"&lt;/P&gt;&lt;P&gt;CrasyCat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Aug 2009 14:54:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/CodeWarrior-Processor-expert-IntFlash-Bean-Compiler-Error/m-p/210201#M5895</guid>
      <dc:creator>CrasyCat</dc:creator>
      <dc:date>2009-08-26T14:54:42Z</dc:date>
    </item>
    <item>
      <title>Re: CodeWarrior - Processor expert - IntFlash Bean- Compiler Error</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/CodeWarrior-Processor-expert-IntFlash-Bean-Compiler-Error/m-p/210202#M5896</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hello,&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;regarding to the problem of write and read a data to/from Flash. The problem is caused by incorrect address format in SetByteFlash and GetByteFlash methods.You can find more detailed information in the help of IntFlash Bean from bean´s pop up menu.&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;Please find an example project that shows how to write a data into Flash correctly.&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;best regards&lt;BR /&gt;Vojtech Filip&lt;BR /&gt;Processor Expert Support Team&lt;BR /&gt;&lt;A href="http://www.freescale.com/files/community_files/CFCOMM/6727_E_128_write_flash.zip" rel="nofollow" target="_self"&gt;E_128_write_flash.zip&lt;/A&gt;&lt;BR /&gt;&lt;/DIV&gt;&lt;DIV class="message-edit-history"&gt;&lt;SPAN class="edit-author"&gt;Message Edited by t.dowe on&lt;/SPAN&gt; &lt;SPAN class="local-date"&gt;2009-09-11&lt;/SPAN&gt; &lt;SPAN class="local-time"&gt;11:30 AM&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Sep 2009 17:52:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/CodeWarrior-Processor-expert-IntFlash-Bean-Compiler-Error/m-p/210202#M5896</guid>
      <dc:creator>ProcessorExpert</dc:creator>
      <dc:date>2009-09-11T17:52:12Z</dc:date>
    </item>
  </channel>
</rss>

