<?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 Development ToolsのトピックTesting DDR in a evaluation board using Codewarrior</title>
    <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Testing-DDR-in-a-evaluation-board-using-Codewarrior/m-p/324624#M1073</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We need to prepare a set of test to validate the design of MPC8306 CPU based board. One of these test is the checking of DDR. Until we are able to test in the final board we are using a MPC8306KIT evaluation board with the next DDR memory map:&lt;/P&gt;&lt;P&gt;Range Start: 0x0000_0000&lt;/P&gt;&lt;P&gt;Range End:&amp;nbsp; 0x07ff_ffff&lt;/P&gt;&lt;P&gt;Size: 128M.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The information above is extracted from the "BSP targeting the Freescale MPC830xSOM Board User's Guide" document.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A task has been created in order to perform this test. A snapshot with its parameters follows:&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="13595_13595.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/119871i2735C9C053F1D6B2/image-size/large?v=v2&amp;amp;px=999" role="button" title="13595_13595.jpg" alt="13595_13595.jpg" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="test_ddr_mpc8306_som_kit.JPG.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/45245iA655CC4F73225AB9/image-size/large?v=v2&amp;amp;px=999" role="button" title="test_ddr_mpc8306_som_kit.JPG.jpg" alt="test_ddr_mpc8306_som_kit.JPG.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Use target CPU is marked as we have read in documentation this option is quite faster than if host PC using CodeWarrior has to execute it. &lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As requirement we need to check whole 128MB DDR memory so theoretically in the field "Test Area Size: 0x" a value "07FFFFFF" should be placed. If we do so without marking the "Use Target CPU" the test took more than 24 hours and the operation didn't finish, so we decided to cancel it (we don't know if something was happened but we don't get any feedback and it looks like 24 hours were too much). So we decided to take a different approach.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We realized that it was necessary to make the test in, almost, two different tests. First one, without "Use Target CPU" marked to test the part of memory where "Use Target CPU" algorithm will be placed and a second one to test the rest of the memory marking the "Use Target CPU" option as we have the hope this test won't take 24 hours. But if we do so, Codewarrior displays the following error:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="13596_13596.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/119872i84F23381EB79D938/image-size/large?v=v2&amp;amp;px=999" role="button" title="13596_13596.jpg" alt="13596_13596.jpg" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="result_ddr_test.JPG.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/45232i884AA6C116D089EE/image-size/large?v=v2&amp;amp;px=999" role="button" title="result_ddr_test.JPG.jpg" alt="result_ddr_test.JPG.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have found that values over "038FFFFF" produces an error of the type above.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyone has the same problem? What are we doing wrong? Do you know a better method to test the DDR using Codewarrior?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help will be really apreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 24 Jul 2014 16:13:49 GMT</pubDate>
    <dc:creator>jesusgonzalez</dc:creator>
    <dc:date>2014-07-24T16:13:49Z</dc:date>
    <item>
      <title>Testing DDR in a evaluation board using Codewarrior</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Testing-DDR-in-a-evaluation-board-using-Codewarrior/m-p/324624#M1073</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We need to prepare a set of test to validate the design of MPC8306 CPU based board. One of these test is the checking of DDR. Until we are able to test in the final board we are using a MPC8306KIT evaluation board with the next DDR memory map:&lt;/P&gt;&lt;P&gt;Range Start: 0x0000_0000&lt;/P&gt;&lt;P&gt;Range End:&amp;nbsp; 0x07ff_ffff&lt;/P&gt;&lt;P&gt;Size: 128M.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The information above is extracted from the "BSP targeting the Freescale MPC830xSOM Board User's Guide" document.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A task has been created in order to perform this test. A snapshot with its parameters follows:&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="13595_13595.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/119871i2735C9C053F1D6B2/image-size/large?v=v2&amp;amp;px=999" role="button" title="13595_13595.jpg" alt="13595_13595.jpg" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="test_ddr_mpc8306_som_kit.JPG.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/45245iA655CC4F73225AB9/image-size/large?v=v2&amp;amp;px=999" role="button" title="test_ddr_mpc8306_som_kit.JPG.jpg" alt="test_ddr_mpc8306_som_kit.JPG.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Use target CPU is marked as we have read in documentation this option is quite faster than if host PC using CodeWarrior has to execute it. &lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As requirement we need to check whole 128MB DDR memory so theoretically in the field "Test Area Size: 0x" a value "07FFFFFF" should be placed. If we do so without marking the "Use Target CPU" the test took more than 24 hours and the operation didn't finish, so we decided to cancel it (we don't know if something was happened but we don't get any feedback and it looks like 24 hours were too much). So we decided to take a different approach.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We realized that it was necessary to make the test in, almost, two different tests. First one, without "Use Target CPU" marked to test the part of memory where "Use Target CPU" algorithm will be placed and a second one to test the rest of the memory marking the "Use Target CPU" option as we have the hope this test won't take 24 hours. But if we do so, Codewarrior displays the following error:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="13596_13596.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/119872i84F23381EB79D938/image-size/large?v=v2&amp;amp;px=999" role="button" title="13596_13596.jpg" alt="13596_13596.jpg" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="result_ddr_test.JPG.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/45232i884AA6C116D089EE/image-size/large?v=v2&amp;amp;px=999" role="button" title="result_ddr_test.JPG.jpg" alt="result_ddr_test.JPG.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have found that values over "038FFFFF" produces an error of the type above.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyone has the same problem? What are we doing wrong? Do you know a better method to test the DDR using Codewarrior?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help will be really apreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jul 2014 16:13:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Testing-DDR-in-a-evaluation-board-using-Codewarrior/m-p/324624#M1073</guid>
      <dc:creator>jesusgonzalez</dc:creator>
      <dc:date>2014-07-24T16:13:49Z</dc:date>
    </item>
    <item>
      <title>Re: Testing DDR in a evaluation board using Codewarrior</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Testing-DDR-in-a-evaluation-board-using-Codewarrior/m-p/324625#M1074</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See below FAQ solution about this message:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Solution:&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; CodeWarrior's &lt;SPAN class="&amp;amp;quothighlight&amp;quot;"&gt;&lt;STRONG&gt;Hardware&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN class="&amp;amp;quothighlight&amp;quot;"&gt;&lt;STRONG&gt;Diagnostics&lt;/STRONG&gt;&lt;/SPAN&gt; Memory Tests has two options for how it exercises target RAM: Host-controlled via JTAG (USB TAP, Ethernet TAP) or Target CPU controlled. &lt;SPAN class="&amp;amp;quothighlight&amp;quot;"&gt;&lt;STRONG&gt;The&lt;/STRONG&gt;&lt;/SPAN&gt; host-controlled method does each write and &lt;SPAN class="&amp;amp;quothighlight&amp;quot;"&gt;&lt;STRONG&gt;verify&lt;/STRONG&gt;&lt;/SPAN&gt; one byte/word/long-word at a time directly from &lt;SPAN class="&amp;amp;quothighlight&amp;quot;"&gt;&lt;STRONG&gt;the&lt;/STRONG&gt;&lt;/SPAN&gt; CodeWarrior IDE. This method is very reliable because it requires no resources on &lt;SPAN class="&amp;amp;quothighlight&amp;quot;"&gt;&lt;STRONG&gt;the&lt;/STRONG&gt;&lt;/SPAN&gt; target. &lt;SPAN class="&amp;amp;quothighlight&amp;quot;"&gt;&lt;STRONG&gt;The&lt;/STRONG&gt;&lt;/SPAN&gt; Target CPU method uses a small block of target RAM to host &lt;SPAN class="&amp;amp;quothighlight&amp;quot;"&gt;&lt;STRONG&gt;the&lt;/STRONG&gt;&lt;/SPAN&gt; memory-test program downloaded to &lt;SPAN class="&amp;amp;quothighlight&amp;quot;"&gt;&lt;STRONG&gt;the&lt;/STRONG&gt;&lt;/SPAN&gt; target. This method is much, much faster but requires some portion of target memory to be reliable. &lt;SPAN class="&amp;amp;quothighlight&amp;quot;"&gt;&lt;STRONG&gt;The&lt;/STRONG&gt;&lt;/SPAN&gt; "magic number" error reported here is a result of using &lt;SPAN class="&amp;amp;quothighlight&amp;quot;"&gt;&lt;STRONG&gt;the&lt;/STRONG&gt;&lt;/SPAN&gt; Target CPU method.&lt;/P&gt;&lt;P&gt;When running Memory Tests using target RAM to host &lt;SPAN class="&amp;amp;quothighlight&amp;quot;"&gt;&lt;STRONG&gt;the&lt;/STRONG&gt;&lt;/SPAN&gt; memory-testing program, CodeWarrior downloads an algorithm (target application) into &lt;SPAN class="&amp;amp;quothighlight&amp;quot;"&gt;&lt;STRONG&gt;the&lt;/STRONG&gt;&lt;/SPAN&gt; Target Scratch Memory (defined in &lt;SPAN class="&amp;amp;quothighlight&amp;quot;"&gt;&lt;STRONG&gt;the&lt;/STRONG&gt;&lt;/SPAN&gt; Memory Tests configuration panel.) This is similar to &lt;SPAN class="&amp;amp;quothighlight&amp;quot;"&gt;&lt;STRONG&gt;the&lt;/STRONG&gt;&lt;/SPAN&gt; Flash Programmer's operation, which uses an algorithm (target application) to do &lt;SPAN class="&amp;amp;quothighlight&amp;quot;"&gt;&lt;STRONG&gt;the&lt;/STRONG&gt;&lt;/SPAN&gt; programming/erasing of Flash memory.&lt;/P&gt;&lt;P&gt;After this algorithm is downloaded to &lt;SPAN class="&amp;amp;quothighlight&amp;quot;"&gt;&lt;STRONG&gt;the&lt;/STRONG&gt;&lt;/SPAN&gt; target, CodeWarrior reads back what it wrote in &lt;SPAN class="&amp;amp;quothighlight&amp;quot;"&gt;&lt;STRONG&gt;the&lt;/STRONG&gt;&lt;/SPAN&gt; target scratch memory (similar to &lt;SPAN class="&amp;amp;quothighlight&amp;quot;"&gt;&lt;STRONG&gt;verify&lt;/STRONG&gt;&lt;/SPAN&gt; memory writes when downloading an ELF file with a debugger - stationery project). &lt;SPAN class="&amp;amp;quothighlight&amp;quot;"&gt;&lt;STRONG&gt;The&lt;/STRONG&gt;&lt;/SPAN&gt; first 4 bytes that are written to &lt;SPAN class="&amp;amp;quothighlight&amp;quot;"&gt;&lt;STRONG&gt;the&lt;/STRONG&gt;&lt;/SPAN&gt; target scratch memory represent a "magic number". If &lt;SPAN class="&amp;amp;quothighlight&amp;quot;"&gt;&lt;STRONG&gt;the&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN class="&amp;amp;quothighlight&amp;quot;"&gt;&lt;STRONG&gt;magic&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN class="&amp;amp;quothighlight&amp;quot;"&gt;&lt;STRONG&gt;number&lt;/STRONG&gt;&lt;/SPAN&gt; read back from &lt;SPAN class="&amp;amp;quothighlight&amp;quot;"&gt;&lt;STRONG&gt;the&lt;/STRONG&gt;&lt;/SPAN&gt; target does &lt;SPAN class="&amp;amp;quothighlight&amp;quot;"&gt;&lt;STRONG&gt;not&lt;/STRONG&gt;&lt;/SPAN&gt; match &lt;SPAN class="&amp;amp;quothighlight&amp;quot;"&gt;&lt;STRONG&gt;the&lt;/STRONG&gt;&lt;/SPAN&gt; original number, it means &lt;SPAN class="&amp;amp;quothighlight&amp;quot;"&gt;&lt;STRONG&gt;the&lt;/STRONG&gt;&lt;/SPAN&gt; algorithm was &lt;SPAN class="&amp;amp;quothighlight&amp;quot;"&gt;&lt;STRONG&gt;not&lt;/STRONG&gt;&lt;/SPAN&gt; downloaded correctly.&lt;/P&gt;&lt;P&gt;The solution is to go back to using &lt;SPAN class="&amp;amp;quothighlight&amp;quot;"&gt;&lt;STRONG&gt;the&lt;/STRONG&gt;&lt;/SPAN&gt; host-controlled method by disabling &lt;SPAN class="&amp;amp;quothighlight&amp;quot;"&gt;&lt;STRONG&gt;the&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;STRONG&gt;Use Target CPU&lt;/STRONG&gt; option, get these memory tests to &lt;SPAN class="&amp;amp;quothighlight&amp;quot;"&gt;&lt;STRONG&gt;successfully&lt;/STRONG&gt;&lt;/SPAN&gt; validate roughly 128Kb of target RAM, and then use that validated memory space to host &lt;SPAN class="&amp;amp;quothighlight&amp;quot;"&gt;&lt;STRONG&gt;the&lt;/STRONG&gt;&lt;/SPAN&gt; memory-test algorithm.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jul 2014 01:27:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Testing-DDR-in-a-evaluation-board-using-Codewarrior/m-p/324625#M1074</guid>
      <dc:creator>lunminliang</dc:creator>
      <dc:date>2014-07-28T01:27:52Z</dc:date>
    </item>
  </channel>
</rss>

