<?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: MPC8548 not executing code from DDR in PowerQUICC Processors</title>
    <link>https://community.nxp.com/t5/PowerQUICC-Processors/MPC8548-not-executing-code-from-DDR/m-p/252573#M375</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You wrote:&lt;/P&gt;&lt;P&gt;&amp;gt; The ddr is solid and I can execute code from DDR independently,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please provide the following data for both inintialization cases (CodeWarrior and U-Boot):&lt;/P&gt;&lt;P&gt;1) MMU TLB settings;&lt;/P&gt;&lt;P&gt;2) LAW registers settings;&lt;/P&gt;&lt;P&gt;3) DDR controller registers settings.&lt;/P&gt;&lt;P&gt;It will be better if all the data will be provided a raw memory dumps.&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Apr 2013 00:45:08 GMT</pubDate>
    <dc:creator>lunminliang</dc:creator>
    <dc:date>2013-04-11T00:45:08Z</dc:date>
    <item>
      <title>MPC8548 not executing code from DDR</title>
      <link>https://community.nxp.com/t5/PowerQUICC-Processors/MPC8548-not-executing-code-from-DDR/m-p/252572#M374</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I am using u-boot (2010.09) and the processor does not execute the code from the DDR.&lt;/P&gt;&lt;P&gt;Please help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using CW USB TAP for debugging.&lt;/P&gt;&lt;P&gt;Details follow.&lt;/P&gt;&lt;P&gt;The code executes all the way up to th point that it copies itself into the DDR ( on DDR interface , not on LBC), and the copy is correct.&lt;/P&gt;&lt;P&gt;As soon as it executes the blr instruction, the PC changes to DDR address (0x00370000, I am using 4Mbytes of DDR for now), and either it hangs or after doing a single step, the PC increments but does not do anything with the registers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The ddr is solid and I can execute code from DDR independently, (Welcome to Code Warrior sample application)&lt;/P&gt;&lt;P&gt;ALso please see the uboot messages&amp;nbsp; (IGNORE the clocks for now, I have forcefully populated the clocks but has nothing to do with real hardware)&lt;/P&gt;&lt;P&gt;The internal clock is at 400 MHZ.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems to me like the ICACHE is not working correctly, Some incorrect configuration?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The code just above this works fine, it invalidates the D Cache&lt;/P&gt;&lt;P&gt;but not sure about I Cache&lt;/P&gt;&lt;P&gt; addi r0,r10,in_ram - _start + _START_OFFSET&lt;BR /&gt; mtlr r0&lt;BR /&gt; blr&amp;nbsp;&amp;nbsp;&amp;nbsp; /* NEVER RETURNS! */ &lt;SPAN style="color: #ff0000;"&gt;&amp;nbsp; HANGS AFTER THIS&lt;/SPAN&gt;&lt;BR /&gt; .globl in_ram&lt;BR /&gt;in_ram:&lt;/P&gt;&lt;P&gt; /*&lt;BR /&gt;&amp;nbsp; * Relocation Function, r12 point to got2+0x8000&lt;BR /&gt;&amp;nbsp; *&lt;BR /&gt;&amp;nbsp; * Adjust got2 pointers, no need to check for 0, this code&lt;BR /&gt;&amp;nbsp; * already puts a few entries in the table.&lt;BR /&gt;&amp;nbsp; */&lt;BR /&gt; li r0,__got2_entries@sectoff@l&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-size: 10pt;"&gt;u-boot messages&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;U-Boot 2010.09 (Feb 07 2013 - 20:17:08)&lt;/P&gt;&lt;P&gt;CPU: 8548E, Version: 3.1, (0x80390031)&lt;/P&gt;&lt;P&gt;Core:&amp;nbsp; E500, Version: 2.2, (0x80210022)&lt;/P&gt;&lt;P&gt;Clock Configuration:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CPU0:882.713 MHz, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CCB:2105.033 MHz,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DDR:1052.516 MHz (2105.033 MT/s data rate), LBC:263.129 MHz&lt;/P&gt;&lt;P&gt;L1:&amp;nbsp;&amp;nbsp;&amp;nbsp; D-cache 32 kB enabled&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I-cache 32 kB enabled&lt;/P&gt;&lt;P&gt;CPU Board Revision "my custom board"&lt;/P&gt;&lt;P&gt;I2C:&amp;nbsp;&amp;nbsp; ready&lt;/P&gt;&lt;P&gt;DRAM:&amp;nbsp; Initializing&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; DDR: 4 MiB (DDR2, 64-bit, CL=2, ECC off)&lt;/P&gt;&lt;P&gt;Top of RAM usable for U-Boot at: 00400000&lt;/P&gt;&lt;P&gt;Reserving 535k for U-Boot at: 00370000&lt;/P&gt;&lt;P&gt;Reserving 80 Bytes for Board Info at: 0034dfb0&lt;/P&gt;&lt;P&gt;Reserving 76 Bytes for Global Data at: 0034df64&lt;/P&gt;&lt;P&gt;Stack Pointer at: 0034df48&lt;/P&gt;&lt;P&gt;New Stack Pointer is: 0034df48&lt;/P&gt;&lt;P&gt;Relocation address at: 00370000&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Feb 2013 11:39:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/PowerQUICC-Processors/MPC8548-not-executing-code-from-DDR/m-p/252572#M374</guid>
      <dc:creator>ravindrakulkarn</dc:creator>
      <dc:date>2013-02-08T11:39:05Z</dc:date>
    </item>
    <item>
      <title>Re: MPC8548 not executing code from DDR</title>
      <link>https://community.nxp.com/t5/PowerQUICC-Processors/MPC8548-not-executing-code-from-DDR/m-p/252573#M375</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You wrote:&lt;/P&gt;&lt;P&gt;&amp;gt; The ddr is solid and I can execute code from DDR independently,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please provide the following data for both inintialization cases (CodeWarrior and U-Boot):&lt;/P&gt;&lt;P&gt;1) MMU TLB settings;&lt;/P&gt;&lt;P&gt;2) LAW registers settings;&lt;/P&gt;&lt;P&gt;3) DDR controller registers settings.&lt;/P&gt;&lt;P&gt;It will be better if all the data will be provided a raw memory dumps.&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Apr 2013 00:45:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/PowerQUICC-Processors/MPC8548-not-executing-code-from-DDR/m-p/252573#M375</guid>
      <dc:creator>lunminliang</dc:creator>
      <dc:date>2013-04-11T00:45:08Z</dc:date>
    </item>
  </channel>
</rss>

