<?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: Problem in function procflash of component IntFLASH in Processor Expert Software</title>
    <link>https://community.nxp.com/t5/Processor-Expert-Software/Problem-in-function-procflash-of-component-IntFLASH/m-p/322730#M2450</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found a temporary solution to the problem&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The bean has been set in destructive write mode. The problem is in the writing and subsequent reading of the data. So for verify it, it is necessary to change the data to be written otherwise there are no error messages!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I disabled the code generation for the bean and i added the following pragma:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#pragma push /* Save file settings. */&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;#pragma optimization_level 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;static byte procflash(FlashData_TAddress Address, dword Data, byte Command)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;#pragma pop /* Restore file settings. */&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I can set the global optimization to 2 without problems!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm hoping for a patch that does not force me to disable the code generation for this bean&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Jul 2014 09:27:49 GMT</pubDate>
    <dc:creator>marco76</dc:creator>
    <dc:date>2014-07-23T09:27:49Z</dc:date>
    <item>
      <title>Problem in function procflash of component IntFLASH</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/Problem-in-function-procflash-of-component-IntFLASH/m-p/322729#M2449</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt;The project is based on MC56F84789 and the problem is in the generated code of IntFLASH (Data_Flash) bean that i used.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;The funcion procflash fails when i use the function SetBlockFlash!!!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;It fails at every call if the optimization level is set to 2.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;If the optimization level is set to 0, there were no problem!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt;Does anyone have the same problem?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jul 2014 08:29:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/Problem-in-function-procflash-of-component-IntFLASH/m-p/322729#M2449</guid>
      <dc:creator>marco76</dc:creator>
      <dc:date>2014-07-21T08:29:30Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in function procflash of component IntFLASH</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/Problem-in-function-procflash-of-component-IntFLASH/m-p/322730#M2450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found a temporary solution to the problem&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The bean has been set in destructive write mode. The problem is in the writing and subsequent reading of the data. So for verify it, it is necessary to change the data to be written otherwise there are no error messages!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I disabled the code generation for the bean and i added the following pragma:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#pragma push /* Save file settings. */&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;#pragma optimization_level 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;static byte procflash(FlashData_TAddress Address, dword Data, byte Command)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;#pragma pop /* Restore file settings. */&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I can set the global optimization to 2 without problems!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm hoping for a patch that does not force me to disable the code generation for this bean&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2014 09:27:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/Problem-in-function-procflash-of-component-IntFLASH/m-p/322730#M2450</guid>
      <dc:creator>marco76</dc:creator>
      <dc:date>2014-07-23T09:27:49Z</dc:date>
    </item>
  </channel>
</rss>

