<?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>MPC5xxxのトピックRe: With MPC5676R, Optimization() function has malfunction</title>
    <link>https://community.nxp.com/t5/MPC5xxx/With-MPC5676R-Optimization-function-has-malfunction/m-p/1067293#M16059</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please check if the application set up the CCU. It should be configured this way:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/114862i8104A5C161874F81/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Jul 2020 16:33:59 GMT</pubDate>
    <dc:creator>rweiss</dc:creator>
    <dc:date>2020-07-07T16:33:59Z</dc:date>
    <item>
      <title>With MPC5676R, Optimization() function has malfunction</title>
      <link>https://community.nxp.com/t5/MPC5xxx/With-MPC5676R-Optimization-function-has-malfunction/m-p/1067286#M16052</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I'm using MPC5676R with trace32,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The example code "XPC567XRKIT-PinToggleStationery-V0_7" has optimization.c and optimization.h files.&amp;nbsp;&lt;/P&gt;&lt;P&gt;when OPTIMIZATIONS_ON = 1 , Optimizations() function will be executed&amp;nbsp;to&amp;nbsp;enable cache.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but, When I call the MMUSRAMIsCacheable(), the operation is weird.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can't change any member variables of struct, but other global variables can be changed in trace32 WATCH window.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/113264iE0A4558FF3E0DF62/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I thought that the code in MMUSRAMIsCacheable() function is wrong, but I don't know what it does mean.&lt;/P&gt;&lt;P&gt;In AN4324, the SRAM code is different with the example MMUSRAMsCacheable() code.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/113266iAAF47B363B324D9B/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_4.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/113268iF7D34B00D143E4E7/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_4.png" alt="pastedImage_4.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I change the code according to AN4324, It does not affect.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the reason about these &lt;SPAN style="color: #222222; background-color: #ffffff;"&gt;phenomenon?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jun 2020 05:02:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/With-MPC5676R-Optimization-function-has-malfunction/m-p/1067286#M16052</guid>
      <dc:creator>jaehak9708</dc:creator>
      <dc:date>2020-06-19T05:02:53Z</dc:date>
    </item>
    <item>
      <title>Re: With MPC5676R, Optimization() function has malfunction</title>
      <link>https://community.nxp.com/t5/MPC5xxx/With-MPC5676R-Optimization-function-has-malfunction/m-p/1067287#M16053</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I just checked it and I don't see any issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess it could have something to do with access class attributes in the TRACE32 setting. Try to investigate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you show me specific case when the issue happens I could try it here.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jun 2020 16:00:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/With-MPC5676R-Optimization-function-has-malfunction/m-p/1067287#M16053</guid>
      <dc:creator>davidtosenovjan</dc:creator>
      <dc:date>2020-06-19T16:00:10Z</dc:date>
    </item>
    <item>
      <title>Re: With MPC5676R, Optimization() function has malfunction</title>
      <link>https://community.nxp.com/t5/MPC5xxx/With-MPC5676R-Optimization-function-has-malfunction/m-p/1067288#M16054</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;- does the write access fail while core running, halted or both?&lt;/P&gt;&lt;P&gt;- how does it fail? E.g. error message?&lt;/P&gt;&lt;P&gt;- is macro DCACHE_COPYBACK_MODE also set?&lt;/P&gt;&lt;P&gt;- what is the address of the failing access?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Reinhard&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jun 2020 15:22:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/With-MPC5676R-Optimization-function-has-malfunction/m-p/1067288#M16054</guid>
      <dc:creator>rweiss</dc:creator>
      <dc:date>2020-06-22T15:22:27Z</dc:date>
    </item>
    <item>
      <title>Re: With MPC5676R, Optimization() function has malfunction</title>
      <link>https://community.nxp.com/t5/MPC5xxx/With-MPC5676R-Optimization-function-has-malfunction/m-p/1067289#M16055</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK I'll check it, thanks :smileyhappy:&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jun 2020 16:42:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/With-MPC5676R-Optimization-function-has-malfunction/m-p/1067289#M16055</guid>
      <dc:creator>jaehak9708</dc:creator>
      <dc:date>2020-06-22T16:42:10Z</dc:date>
    </item>
    <item>
      <title>Re: With MPC5676R, Optimization() function has malfunction</title>
      <link>https://community.nxp.com/t5/MPC5xxx/With-MPC5676R-Optimization-function-has-malfunction/m-p/1067290#M16056</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello~&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-The write access is successful when core is halted, but not running.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; so I have to pause to change values&lt;/P&gt;&lt;P&gt;- It dose not alert error message&lt;/P&gt;&lt;P&gt;- DCACHE_COPYBACK_MODE is disabled, it must be write through method&amp;nbsp;&lt;/P&gt;&lt;P&gt;- How can I see the address of the access?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;jaehak Kim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jul 2020 15:41:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/With-MPC5676R-Optimization-function-has-malfunction/m-p/1067290#M16056</guid>
      <dc:creator>jaehak9708</dc:creator>
      <dc:date>2020-07-03T15:41:00Z</dc:date>
    </item>
    <item>
      <title>Re: With MPC5676R, Optimization() function has malfunction</title>
      <link>https://community.nxp.com/t5/MPC5xxx/With-MPC5676R-Optimization-function-has-malfunction/m-p/1067291#M16057</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please try with&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono, monospace;"&gt;SYStem.Option NexusMemoryCoherency ON&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;On MPC5676R and MPC5777C, this setting willconfigure the debugger to tell the CCU that the caches have to be snooped for this the memory access. This setting is only allowed if the processor is configured to write-through mode, like in your case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Reinhard&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jul 2020 12:06:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/With-MPC5676R-Optimization-function-has-malfunction/m-p/1067291#M16057</guid>
      <dc:creator>rweiss</dc:creator>
      <dc:date>2020-07-06T12:06:00Z</dc:date>
    </item>
    <item>
      <title>Re: With MPC5676R, Optimization() function has malfunction</title>
      <link>https://community.nxp.com/t5/MPC5xxx/With-MPC5676R-Optimization-function-has-malfunction/m-p/1067292#M16058</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your response!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But It does not work.&lt;/P&gt;&lt;P&gt;The command button&amp;nbsp;does not appear&amp;nbsp;in system window and I cannot think it was taken effect&lt;/P&gt;&lt;P&gt;when I input the command in command window.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jaehak Kim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jul 2020 02:43:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/With-MPC5676R-Optimization-function-has-malfunction/m-p/1067292#M16058</guid>
      <dc:creator>jaehak9708</dc:creator>
      <dc:date>2020-07-07T02:43:22Z</dc:date>
    </item>
    <item>
      <title>Re: With MPC5676R, Optimization() function has malfunction</title>
      <link>https://community.nxp.com/t5/MPC5xxx/With-MPC5676R-Optimization-function-has-malfunction/m-p/1067293#M16059</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please check if the application set up the CCU. It should be configured this way:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/114862i8104A5C161874F81/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jul 2020 16:33:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/With-MPC5676R-Optimization-function-has-malfunction/m-p/1067293#M16059</guid>
      <dc:creator>rweiss</dc:creator>
      <dc:date>2020-07-07T16:33:59Z</dc:date>
    </item>
  </channel>
</rss>

