<?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: CodeWarrior Error measuring IR length in P-Series</title>
    <link>https://community.nxp.com/t5/P-Series/CodeWarrior-Error-measuring-IR-length/m-p/347316#M1663</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Yiping,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for all your time and help. Unfortunately I&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt; gave upp on making Codewarrior IDE work without "&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Error testing IR scan" and moved into GDB insted.(following text is for people who also want to make it work with the same card)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;So i used the p2020_init and some xml that was also needed witch i found in gdb_test_ccs_365 file (from your download page) and modified the p2020 file into this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;# Workaround to send g-packet of correct size on "target remote"&lt;/P&gt;&lt;P&gt;echo Loading basic powerpc register info\n&lt;/P&gt;&lt;P&gt;set tdesc filename&amp;nbsp; ...\gdb_test_ccs_365\xml\&lt;STRONG&gt;e500v2.xml&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;echo Connecting to proxy\n&lt;/P&gt;&lt;P&gt;target remote xxx.xxx.xxx.xxx:2345&lt;/P&gt;&lt;P&gt;mon jtag_chain mpc8572&lt;/P&gt;&lt;P&gt;# proxy will keep g-packet size info&lt;/P&gt;&lt;P&gt;kill&lt;/P&gt;&lt;P&gt;echo Loading e500v2 register info\n&lt;/P&gt;&lt;P&gt;set tdesc filename ...\gdb_test_ccs_365\xml\&lt;STRONG&gt;e500v2.xml&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;# gdb settings&lt;/P&gt;&lt;P&gt;set debug remote 0&lt;/P&gt;&lt;P&gt;set logging off&lt;/P&gt;&lt;P&gt;set debug frame 0&lt;/P&gt;&lt;P&gt;set remotetimeout 20&lt;/P&gt;&lt;P&gt;set remote hardware-breakpoint-limit 2&lt;/P&gt;&lt;P&gt;echo Connecting to proxy\n&lt;/P&gt;&lt;P&gt;target remote xxx.xxx.xxx.xxx:2345&lt;/P&gt;&lt;P&gt;#mon ccs_host xxx.xxx.x.xxx&lt;/P&gt;&lt;P&gt;#mon ccs_path ...\bin\&lt;STRONG&gt;ccs.exe&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;echo Setting jtag speed\n&lt;/P&gt;&lt;P&gt;mon jtag_speed 10000&lt;/P&gt;&lt;P&gt;mon jtag_chain mpc8572&lt;/P&gt;&lt;P&gt;mon jtag_chain&lt;/P&gt;&lt;P&gt;echo Connecting to probe and target\n&lt;/P&gt;&lt;P&gt;mon connect&lt;/P&gt;&lt;P&gt;mon jtag_chain&lt;/P&gt;&lt;P&gt;mon chain_pos 0&lt;/P&gt;&lt;P&gt;mon jtag_chain&lt;/P&gt;&lt;P&gt;mon chain_pos 1&lt;/P&gt;&lt;P&gt;echo Jtag speed\n&lt;/P&gt;&lt;P&gt;mon jtag_speed&lt;/P&gt;&lt;P&gt;mon get_probe_status&lt;/P&gt;&lt;P&gt;echo Reset\n&lt;/P&gt;&lt;P&gt;mon reset system&lt;/P&gt;&lt;P&gt;echo Initialize COP register\n&lt;/P&gt;&lt;P&gt;set $copcr=0x0000000000040200&lt;/P&gt;&lt;P&gt;echo Update register cache\n&lt;/P&gt;&lt;P&gt;flushregs&lt;/P&gt;&lt;P&gt;monitor mem_access ijam&lt;/P&gt;&lt;P&gt;define e500v2_workaround&lt;/P&gt;&lt;P&gt;&amp;nbsp; echo e500v2 workaround \n&lt;/P&gt;&lt;P&gt;&amp;nbsp; mon chain_pos $arg0&lt;/P&gt;&lt;P&gt;&amp;nbsp; mon chain_pos&lt;/P&gt;&lt;P&gt;&amp;nbsp; echo Initialize program and debug interrupt vectors\n&lt;/P&gt;&lt;P&gt;&amp;nbsp; set $ivpr=0xFFFF0000&lt;/P&gt;&lt;P&gt;&amp;nbsp; # debug - (a valid instruction should exist to be fetched)&lt;/P&gt;&lt;P&gt;&amp;nbsp; set $ivor15=0x0000F000&lt;/P&gt;&lt;P&gt;&amp;nbsp; # program&lt;/P&gt;&lt;P&gt;&amp;nbsp; set $ivor6=0x0000F700&lt;/P&gt;&lt;P&gt;&amp;nbsp; echo Insert hw breakpoint at reset address\n&lt;/P&gt;&lt;P&gt;&amp;nbsp; set $iac1=0xfffffffc&lt;/P&gt;&lt;P&gt;&amp;nbsp; set $dbcr0=0x40800000&lt;/P&gt;&lt;P&gt;&amp;nbsp; set $dbcr1=0x00000000&lt;/P&gt;&lt;P&gt;&amp;nbsp; # activate debug interrupt and enable SPU&lt;/P&gt;&lt;P&gt;&amp;nbsp; set $msr=0x02000200&lt;/P&gt;&lt;P&gt;&amp;nbsp; echo Run target\n&lt;/P&gt;&lt;P&gt;&amp;nbsp; monitor no_wait_continue&lt;/P&gt;&lt;P&gt;&amp;nbsp; echo Wait 10 sec\n&lt;/P&gt;&lt;P&gt;&amp;nbsp; shell timeout /t 10&lt;/P&gt;&lt;P&gt;&amp;nbsp; echo Stop target\n&lt;/P&gt;&lt;P&gt;&amp;nbsp; monitor stop&lt;/P&gt;&lt;P&gt;&amp;nbsp; echo Remove hw breakpoint at reset address\n&lt;/P&gt;&lt;P&gt;&amp;nbsp; set $dbsr=0x01CF0000&lt;/P&gt;&lt;P&gt;&amp;nbsp; set $dbcr0=0x41000000&lt;/P&gt;&lt;P&gt;&amp;nbsp; set $iac1=0x00000000&lt;/P&gt;&lt;P&gt;end&lt;/P&gt;&lt;P&gt;p /x $pc&lt;/P&gt;&lt;P&gt;e500v2_workaround 1&lt;/P&gt;&lt;P&gt;p /x $pc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Note:&lt;/STRONG&gt; This is for windows. ( shell timeout /t 10) and my test is full of buggs. I need to run this three times befor i get it to work proper.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After that it is straight forward. &lt;/P&gt;&lt;P&gt;&amp;lt;gdb&amp;gt; file Myfile&lt;/P&gt;&lt;P&gt;&amp;lt;gdb&amp;gt; break main&lt;/P&gt;&lt;P&gt;&amp;lt;gdb&amp;gt; set follow-fork-mode child&lt;/P&gt;&lt;P&gt;&amp;lt;gdb&amp;gt;&amp;nbsp; c&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;load and start the program on the MVME2502. And it will halt in main. And then i can step through it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Note: &lt;/STRONG&gt;The MVME2502 had a COP present pin on &lt;STRONG&gt;PIN 12&lt;/STRONG&gt; that NEEDS to be pulled to ground or it wont work at all. (See former awnsers)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I still have some minor errors that I haven't worked out yet but they aren't that big.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again for all your hard work,&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Jan 2015 10:42:59 GMT</pubDate>
    <dc:creator>martinolsson</dc:creator>
    <dc:date>2015-01-16T10:42:59Z</dc:date>
    <item>
      <title>CodeWarrior Error measuring IR length</title>
      <link>https://community.nxp.com/t5/P-Series/CodeWarrior-Error-measuring-IR-length/m-p/347308#M1655</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm currently trying to debug a MVME2502 with a CodeWarrior TAP but unfortunatly I am having some problems.&lt;/P&gt;&lt;P&gt;While using CodeWarrior Development Studio I get the error message:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;JTAG Diagnostics&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Starting Power at Probe test...&lt;/P&gt;&lt;P&gt;Test result: PASSED&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Starting IR Scan test...&lt;/P&gt;&lt;P&gt;Error measuring IR length&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And then the debugging quits.&lt;/P&gt;&lt;P&gt;In your manual (&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;CodeWarrior Development Studio for &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Power Architecture Processors &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Targeting Manual) I read that:&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;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;The error might be due to one or more of the following reasons:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;• TRST stuck low: This may hold the target JTAG logic in reset, preventing any shifts&lt;/P&gt;&lt;P&gt;to occur.&lt;/P&gt;&lt;P&gt;• TMS disconnected or stuck: This may prevent the target from making any JTAG&lt;/P&gt;&lt;P&gt;state changes.&lt;/P&gt;&lt;P&gt;• TCK disconnected or stuck: This may prevent any state changes or clocking of data.&lt;/P&gt;&lt;P&gt;• TDI disconnected or stuck: This may prevent the test pattern data from getting into&lt;/P&gt;&lt;P&gt;the target.&lt;/P&gt;&lt;P&gt;• TDO disconnected or stuck: This may prevent the test pattern data from getting out&lt;/P&gt;&lt;P&gt;of the target.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the test fails, then it is possible that there is a physical connection problem with the&lt;/P&gt;&lt;P&gt;JTAG pins, or the JTAG frequency is too high.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So i checked the conector and its working fine. I also asked Artesyn about their manual having an error (the &lt;/P&gt;&lt;P&gt;TDI and TDO on the COP Connector had switch places) and they replied that it was a simple missprint.&lt;/P&gt;&lt;P&gt;I also verified my JTAG frequency in CodeWarrior Development Studio running at 10230kHz. So hopefully &lt;/P&gt;&lt;P&gt;it's not the frequency running to high.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So now I'm at a loss here, I don't really know what to do next.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I have forgotten any vital information about my setup just ask.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Dec 2014 10:22:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/P-Series/CodeWarrior-Error-measuring-IR-length/m-p/347308#M1655</guid>
      <dc:creator>martinolsson</dc:creator>
      <dc:date>2014-12-12T10:22:31Z</dc:date>
    </item>
    <item>
      <title>Re: CodeWarrior Error measuring IR length</title>
      <link>https://community.nxp.com/t5/P-Series/CodeWarrior-Error-measuring-IR-length/m-p/347309#M1656</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think it's worthy of trying a lower JTAG frequency.&lt;/P&gt;&lt;P&gt;Do you have only one core or more core checked in CodeWarrior debugger?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Dec 2014 08:03:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/P-Series/CodeWarrior-Error-measuring-IR-length/m-p/347309#M1656</guid>
      <dc:creator>lunminliang</dc:creator>
      <dc:date>2014-12-17T08:03:42Z</dc:date>
    </item>
    <item>
      <title>Re: CodeWarrior Error measuring IR length</title>
      <link>https://community.nxp.com/t5/P-Series/CodeWarrior-Error-measuring-IR-length/m-p/347310#M1657</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello lunminliang,&lt;/P&gt;&lt;P&gt;Sorry for the slow awnser, I have now tried to lower myJTAG frequency to 4000 and 10 kHz but it did not&lt;/P&gt;&lt;P&gt;solve my problem. &lt;/P&gt;&lt;P&gt;On the second question i currently have one core selected under Debug Configuration&amp;gt;Target settings (e500v2-0).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Dec 2014 08:29:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/P-Series/CodeWarrior-Error-measuring-IR-length/m-p/347310#M1657</guid>
      <dc:creator>martinolsson</dc:creator>
      <dc:date>2014-12-18T08:29:04Z</dc:date>
    </item>
    <item>
      <title>Re: CodeWarrior Error measuring IR length</title>
      <link>https://community.nxp.com/t5/P-Series/CodeWarrior-Error-measuring-IR-length/m-p/347311#M1658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;SPAN class="replyToName"&gt;Martin Olsson,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="replyToName"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="replyToName"&gt;CodeWarrior TAP with the probe tips(&lt;A href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=CWH-CTP-COP-YE"&gt;CWH-CTP-COP-YE&lt;/A&gt;&lt;/SPAN&gt;) doesn't support your target board, for details please refer to &lt;A href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=CW_TAP&amp;amp;fsrch=1&amp;amp;sr=3&amp;amp;pageNum=1" title="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=CW_TAP&amp;amp;fsrch=1&amp;amp;sr=3&amp;amp;pageNum=1"&gt;http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=CW_TAP&amp;amp;fsrch=1&amp;amp;sr=3&amp;amp;pageNum=1&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Probe tip for PowerQUICC II/III, QorIQ MPUs: &lt;A href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=CWH-CTP-COP-YE"&gt;CWH-CTP-COP-YE&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;Probe tip for StarCore DSPs: &lt;A href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=CWH-CTP-STC-YE"&gt;CWH-CTP-STC-YE&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;QorIQ LS processor (Coretex 10 pin) &lt;A href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=CWH-CTP-CTX10-YE"&gt;CWH-CTP-CTX10-YE&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is should JTAG hardware compatible problem with your target board.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Yiping&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Dec 2014 11:35:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/P-Series/CodeWarrior-Error-measuring-IR-length/m-p/347311#M1658</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2014-12-18T11:35:52Z</dc:date>
    </item>
    <item>
      <title>Re: CodeWarrior Error measuring IR length</title>
      <link>https://community.nxp.com/t5/P-Series/CodeWarrior-Error-measuring-IR-length/m-p/347312#M1659</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Yiping Wang, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm sorry but i don't understand. My card is a MVME2502 and its spec is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Processor  Freescale QorIQ P2020 (dual-core)&amp;nbsp; &amp;lt;-----------------&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;  1000 MHz to 1.2 GHzcore frequency&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;  512 KB L2 cache&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and it comes with a standard COP header.&lt;/P&gt;&lt;P&gt;And the supported devices on CWH-CTP-COP-YE is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;H4 style="color: #e66a08; font-family: arial, sans-serif; font-size: 1.2em !important;"&gt;Supported Devices&lt;/H4&gt;&lt;UL&gt;&lt;LI&gt;QorIQ Qonverge B Series&lt;/LI&gt;&lt;LI&gt;&lt;A href="http://www.freescale.com/webapp/sps/site/taxonomy.jsp?code=QONVERGE_BSC913X" style="color: #017bba;"&gt;QorIQ Qonverge BSC Series&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="http://www.freescale.com/webapp/sps/site/taxonomy.jsp?code=PCPPCMPC82XX" style="color: #017bba;"&gt;PowerQUICC II (82xx)&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="http://www.freescale.com/webapp/sps/site/overview.jsp?code=PCPPCMPC83XX" style="color: #017bba;"&gt;PowerQUICC II Pro (83xx)&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;PowerQUICC III (85xx)&lt;/LI&gt;&lt;LI&gt;QorIQ Communications Processors Value-Performance Tier&lt;/LI&gt;&lt;LI&gt;QorIQ Communications Processors Mid-Performance Tier&lt;UL style="list-style: none none; margin-top: 4px;"&gt;&lt;LI style="padding-top: 3px; padding-bottom: 3px; padding-left: 16px;"&gt;&lt;A href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=P2020" style="color: #017bba;"&gt;P2020&lt;/A&gt;: QorIQ P2020/10 Single- and Dual-Core Communications Processors&amp;nbsp; &amp;lt;------------------------&lt;/LI&gt;&lt;LI&gt;&lt;A href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=P2040" style="color: #017bba;"&gt;P2040&lt;/A&gt;: QorIQ P2040/P2041 Quad-Core Communications Processors with Data Path&lt;/LI&gt;&lt;LI&gt;&lt;A href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=P3041" style="color: #017bba;"&gt;P3041&lt;/A&gt;: QorIQ P3041 Quad-Core Communications Processors with Data Path&lt;/LI&gt;&lt;LI&gt;&lt;A href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=T2080" style="color: #017bba;"&gt;T2080&lt;/A&gt;: QorIQ T Series T2080/T2081 Eight Virtual Core Communications Processors&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="http://www.freescale.com/webapp/sps/site/taxonomy.jsp?code=QORIQ_HIGHPERFM" style="color: #017bba;"&gt;QorIQ Communications Processors High-Performance Tier&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From what i understand P2020 is supported? Or are you refering to something else?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Dec 2014 11:58:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/P-Series/CodeWarrior-Error-measuring-IR-length/m-p/347312#M1659</guid>
      <dc:creator>martinolsson</dc:creator>
      <dc:date>2014-12-18T11:58:17Z</dc:date>
    </item>
    <item>
      <title>Re: CodeWarrior Error measuring IR length</title>
      <link>https://community.nxp.com/t5/P-Series/CodeWarrior-Error-measuring-IR-length/m-p/347313#M1660</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;SPAN class="replyToName"&gt;Martin Olsson,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG class="font-color-meta"&gt;&lt;SPAN class="replyToName"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG class="font-color-meta"&gt;&lt;SPAN class="replyToName"&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;P2020 processor is supported by CodeWarrior TAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think the problem should be caused by JTAG hardware design on your target, please refer to e500 "JTAG interface connection" diagram in page 98 of &lt;A href="http://www.freescale.com/files/32bit/doc/data_sheet/MPC8560EC.pdf" title="http://www.freescale.com/files/32bit/doc/data_sheet/MPC8560EC.pdf"&gt;http://www.freescale.com/files/32bit/doc/data_sheet/MPC8560EC.pdf&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please pay attention to &lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif';"&gt;TRST, TMS, TCK, TDI and TDO.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Yiping&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Dec 2014 09:32:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/P-Series/CodeWarrior-Error-measuring-IR-length/m-p/347313#M1660</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2014-12-22T09:32:06Z</dc:date>
    </item>
    <item>
      <title>Re: CodeWarrior Error measuring IR length</title>
      <link>https://community.nxp.com/t5/P-Series/CodeWarrior-Error-measuring-IR-length/m-p/347314#M1661</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Yiping Wang,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have gone through my connections on MVME2502 and found that on pin-12 there is a COP Present that is pulled up. I connected pin-12 to ground and finaly managed to connect to core 0 in CodeWarrior Development Studio.&lt;/P&gt;&lt;P&gt;But now I'm getting another error, though very similar. Error testing IR scan and not &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Error measuring IR length&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;JTAG Diagnostics&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Starting Power at Probe test ...&lt;/P&gt;&lt;P&gt;Test result: PASSED&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Starting IR Scan test ...&lt;/P&gt;&lt;P&gt;Error testing IR scan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I checked my connections (TDO, TDI, TRST, TCK, TMS) with a oscilloscope and they are working fine. &lt;/P&gt;&lt;P&gt;Before I connected pin-12 I didn't get anything on pin-1 (TDO), but now I'm getting something (I have no idea if it's the right data though). I also tried changing clock speed in JTAG settings again as Lunminlang suggested with no succes.&lt;/P&gt;&lt;P&gt;Could it be that e500 is not doing the test as CodeWarrior Development Studio wants it to?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In "&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;CodeWarrior Development Studio for &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Power Architecture Processors &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Targeting Manual" it says that:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The test compares the &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;TDO data it captures against the TDI test pattern it sent to see if TDO contains the test&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;pattern. It expects to find the test pattern in the TDO, but bit-shifted to the left by some &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;number of bits (corresponding to the IR length).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;If it fails to find the test pattern, then the test reports an error, Error testing IR scan.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way for me to make it succed in bit-shifting? Or is it OK for CodeWarrior Development Studio to only get an error in this stage?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Jan 2015 14:01:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/P-Series/CodeWarrior-Error-measuring-IR-length/m-p/347314#M1661</guid>
      <dc:creator>martinolsson</dc:creator>
      <dc:date>2015-01-02T14:01:12Z</dc:date>
    </item>
    <item>
      <title>Re: CodeWarrior Error measuring IR length</title>
      <link>https://community.nxp.com/t5/P-Series/CodeWarrior-Error-measuring-IR-length/m-p/347315#M1662</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;SPAN class="replytoname"&gt;Martin Olsson,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please make sure there is only one device on the JTAG chain, otherwise you need to configure CodeWarrior JTAG configuration file for bypass.&lt;/P&gt;&lt;P&gt;Please configure valid SYSCLK while running scan testing.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif';"&gt;Please ensure CPU_TRST is asserted during POR and is deasserted during the JTAG testing.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif';"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif';"&gt;Please refer to P2020 Reference manual for the section "JTAG test signals-details".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif';"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;JTAG interface works in accordance with IEEE 1149.1. &lt;/P&gt;&lt;P&gt; &lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif';"&gt;TAP state machine is controlled by TMS signal. Every TCK clock causes a step to next state depending on TMS. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Yiping&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Jan 2015 10:31:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/P-Series/CodeWarrior-Error-measuring-IR-length/m-p/347315#M1662</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2015-01-04T10:31:13Z</dc:date>
    </item>
    <item>
      <title>Re: CodeWarrior Error measuring IR length</title>
      <link>https://community.nxp.com/t5/P-Series/CodeWarrior-Error-measuring-IR-length/m-p/347316#M1663</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Yiping,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for all your time and help. Unfortunately I&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt; gave upp on making Codewarrior IDE work without "&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Error testing IR scan" and moved into GDB insted.(following text is for people who also want to make it work with the same card)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;So i used the p2020_init and some xml that was also needed witch i found in gdb_test_ccs_365 file (from your download page) and modified the p2020 file into this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;# Workaround to send g-packet of correct size on "target remote"&lt;/P&gt;&lt;P&gt;echo Loading basic powerpc register info\n&lt;/P&gt;&lt;P&gt;set tdesc filename&amp;nbsp; ...\gdb_test_ccs_365\xml\&lt;STRONG&gt;e500v2.xml&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;echo Connecting to proxy\n&lt;/P&gt;&lt;P&gt;target remote xxx.xxx.xxx.xxx:2345&lt;/P&gt;&lt;P&gt;mon jtag_chain mpc8572&lt;/P&gt;&lt;P&gt;# proxy will keep g-packet size info&lt;/P&gt;&lt;P&gt;kill&lt;/P&gt;&lt;P&gt;echo Loading e500v2 register info\n&lt;/P&gt;&lt;P&gt;set tdesc filename ...\gdb_test_ccs_365\xml\&lt;STRONG&gt;e500v2.xml&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;# gdb settings&lt;/P&gt;&lt;P&gt;set debug remote 0&lt;/P&gt;&lt;P&gt;set logging off&lt;/P&gt;&lt;P&gt;set debug frame 0&lt;/P&gt;&lt;P&gt;set remotetimeout 20&lt;/P&gt;&lt;P&gt;set remote hardware-breakpoint-limit 2&lt;/P&gt;&lt;P&gt;echo Connecting to proxy\n&lt;/P&gt;&lt;P&gt;target remote xxx.xxx.xxx.xxx:2345&lt;/P&gt;&lt;P&gt;#mon ccs_host xxx.xxx.x.xxx&lt;/P&gt;&lt;P&gt;#mon ccs_path ...\bin\&lt;STRONG&gt;ccs.exe&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;echo Setting jtag speed\n&lt;/P&gt;&lt;P&gt;mon jtag_speed 10000&lt;/P&gt;&lt;P&gt;mon jtag_chain mpc8572&lt;/P&gt;&lt;P&gt;mon jtag_chain&lt;/P&gt;&lt;P&gt;echo Connecting to probe and target\n&lt;/P&gt;&lt;P&gt;mon connect&lt;/P&gt;&lt;P&gt;mon jtag_chain&lt;/P&gt;&lt;P&gt;mon chain_pos 0&lt;/P&gt;&lt;P&gt;mon jtag_chain&lt;/P&gt;&lt;P&gt;mon chain_pos 1&lt;/P&gt;&lt;P&gt;echo Jtag speed\n&lt;/P&gt;&lt;P&gt;mon jtag_speed&lt;/P&gt;&lt;P&gt;mon get_probe_status&lt;/P&gt;&lt;P&gt;echo Reset\n&lt;/P&gt;&lt;P&gt;mon reset system&lt;/P&gt;&lt;P&gt;echo Initialize COP register\n&lt;/P&gt;&lt;P&gt;set $copcr=0x0000000000040200&lt;/P&gt;&lt;P&gt;echo Update register cache\n&lt;/P&gt;&lt;P&gt;flushregs&lt;/P&gt;&lt;P&gt;monitor mem_access ijam&lt;/P&gt;&lt;P&gt;define e500v2_workaround&lt;/P&gt;&lt;P&gt;&amp;nbsp; echo e500v2 workaround \n&lt;/P&gt;&lt;P&gt;&amp;nbsp; mon chain_pos $arg0&lt;/P&gt;&lt;P&gt;&amp;nbsp; mon chain_pos&lt;/P&gt;&lt;P&gt;&amp;nbsp; echo Initialize program and debug interrupt vectors\n&lt;/P&gt;&lt;P&gt;&amp;nbsp; set $ivpr=0xFFFF0000&lt;/P&gt;&lt;P&gt;&amp;nbsp; # debug - (a valid instruction should exist to be fetched)&lt;/P&gt;&lt;P&gt;&amp;nbsp; set $ivor15=0x0000F000&lt;/P&gt;&lt;P&gt;&amp;nbsp; # program&lt;/P&gt;&lt;P&gt;&amp;nbsp; set $ivor6=0x0000F700&lt;/P&gt;&lt;P&gt;&amp;nbsp; echo Insert hw breakpoint at reset address\n&lt;/P&gt;&lt;P&gt;&amp;nbsp; set $iac1=0xfffffffc&lt;/P&gt;&lt;P&gt;&amp;nbsp; set $dbcr0=0x40800000&lt;/P&gt;&lt;P&gt;&amp;nbsp; set $dbcr1=0x00000000&lt;/P&gt;&lt;P&gt;&amp;nbsp; # activate debug interrupt and enable SPU&lt;/P&gt;&lt;P&gt;&amp;nbsp; set $msr=0x02000200&lt;/P&gt;&lt;P&gt;&amp;nbsp; echo Run target\n&lt;/P&gt;&lt;P&gt;&amp;nbsp; monitor no_wait_continue&lt;/P&gt;&lt;P&gt;&amp;nbsp; echo Wait 10 sec\n&lt;/P&gt;&lt;P&gt;&amp;nbsp; shell timeout /t 10&lt;/P&gt;&lt;P&gt;&amp;nbsp; echo Stop target\n&lt;/P&gt;&lt;P&gt;&amp;nbsp; monitor stop&lt;/P&gt;&lt;P&gt;&amp;nbsp; echo Remove hw breakpoint at reset address\n&lt;/P&gt;&lt;P&gt;&amp;nbsp; set $dbsr=0x01CF0000&lt;/P&gt;&lt;P&gt;&amp;nbsp; set $dbcr0=0x41000000&lt;/P&gt;&lt;P&gt;&amp;nbsp; set $iac1=0x00000000&lt;/P&gt;&lt;P&gt;end&lt;/P&gt;&lt;P&gt;p /x $pc&lt;/P&gt;&lt;P&gt;e500v2_workaround 1&lt;/P&gt;&lt;P&gt;p /x $pc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Note:&lt;/STRONG&gt; This is for windows. ( shell timeout /t 10) and my test is full of buggs. I need to run this three times befor i get it to work proper.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After that it is straight forward. &lt;/P&gt;&lt;P&gt;&amp;lt;gdb&amp;gt; file Myfile&lt;/P&gt;&lt;P&gt;&amp;lt;gdb&amp;gt; break main&lt;/P&gt;&lt;P&gt;&amp;lt;gdb&amp;gt; set follow-fork-mode child&lt;/P&gt;&lt;P&gt;&amp;lt;gdb&amp;gt;&amp;nbsp; c&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;load and start the program on the MVME2502. And it will halt in main. And then i can step through it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Note: &lt;/STRONG&gt;The MVME2502 had a COP present pin on &lt;STRONG&gt;PIN 12&lt;/STRONG&gt; that NEEDS to be pulled to ground or it wont work at all. (See former awnsers)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I still have some minor errors that I haven't worked out yet but they aren't that big.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again for all your hard work,&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Jan 2015 10:42:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/P-Series/CodeWarrior-Error-measuring-IR-length/m-p/347316#M1663</guid>
      <dc:creator>martinolsson</dc:creator>
      <dc:date>2015-01-16T10:42:59Z</dc:date>
    </item>
  </channel>
</rss>

