<?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 debugging of executing P4080 core in Classic/Legacy CodeWarrior</title>
    <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/CodeWarrior-debugging-of-executing-P4080-core/m-p/475364#M7010</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;SPAN class="jive-username-link jiveTT-hover-user"&gt;Bob Perry,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="jive-username-link jiveTT-hover-user"&gt;CodeWarrior debugger also uses the effective address, if the exception handler is at 0x30000010, the breakpoint should also been set at &lt;SPAN class="jive-username-link jiveTT-hover-user"&gt;0x30000010, please check the CodeWarrior Disassembly Window whether the current executing instruction is at address &lt;SPAN class="jive-username-link jiveTT-hover-user"&gt;&lt;SPAN class="jive-username-link jiveTT-hover-user"&gt;0x30000010. Please make sure that the source code used in CodeWarrior IDE is coincident with the binary file executing on the target board. &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="jive-username-link jiveTT-hover-user"&gt;&lt;SPAN class="jive-username-link jiveTT-hover-user"&gt;&lt;SPAN class="jive-username-link jiveTT-hover-user"&gt;&lt;SPAN class="jive-username-link jiveTT-hover-user"&gt;In addition, please don't use memory configuration file in CodeWarrior debugger setting.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&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>Tue, 15 Mar 2016 08:35:48 GMT</pubDate>
    <dc:creator>yipingwang</dc:creator>
    <dc:date>2016-03-15T08:35:48Z</dc:date>
    <item>
      <title>CodeWarrior debugging of executing P4080 core</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/CodeWarrior-debugging-of-executing-P4080-core/m-p/475363#M7009</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;I am trying to debug an executing P4080 CPU.&amp;nbsp; I am attaching to the device using a TAP over Ethernet.&amp;nbsp; I am attaching to a current running core through Codewarrior and this works as expected.&amp;nbsp; The running application is running virtual addressing using both TLB 0 and TLB1.&amp;nbsp; The issue I have is that I can single step code and look at registers fine but I am not able to debug the exception handlers.&amp;nbsp; I have tried placing breakpoints at the handler address and this never gets a hit.&amp;nbsp; I know that the IVORs are set-up with a base address and then an offset and wondered if this is an issue with the debug process.&amp;nbsp; I have tried to add the break point at the virtual address and also the real address; no hit.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The core has a virtual address space of 0x30000000 and its address range is from 0x00000000 to 0x0f000000 and the IVORs are from 0x00000000 to 0x000001f0.&amp;nbsp; IVOR 0 is at 0x10.&amp;nbsp; So, a break point set at virtual address 0x10 never gets a hit and neither setting a break point at 0x30000010 gets a hit.&amp;nbsp; Yet, I know the IVOR is entered from debug messages I have in the handler.&amp;nbsp; Anyone help with what I maybe doing wrong here.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Feb 2016 08:51:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/CodeWarrior-debugging-of-executing-P4080-core/m-p/475363#M7009</guid>
      <dc:creator>bobperry</dc:creator>
      <dc:date>2016-02-22T08:51:49Z</dc:date>
    </item>
    <item>
      <title>Re: CodeWarrior debugging of executing P4080 core</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/CodeWarrior-debugging-of-executing-P4080-core/m-p/475364#M7010</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;SPAN class="jive-username-link jiveTT-hover-user"&gt;Bob Perry,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="jive-username-link jiveTT-hover-user"&gt;CodeWarrior debugger also uses the effective address, if the exception handler is at 0x30000010, the breakpoint should also been set at &lt;SPAN class="jive-username-link jiveTT-hover-user"&gt;0x30000010, please check the CodeWarrior Disassembly Window whether the current executing instruction is at address &lt;SPAN class="jive-username-link jiveTT-hover-user"&gt;&lt;SPAN class="jive-username-link jiveTT-hover-user"&gt;0x30000010. Please make sure that the source code used in CodeWarrior IDE is coincident with the binary file executing on the target board. &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="jive-username-link jiveTT-hover-user"&gt;&lt;SPAN class="jive-username-link jiveTT-hover-user"&gt;&lt;SPAN class="jive-username-link jiveTT-hover-user"&gt;&lt;SPAN class="jive-username-link jiveTT-hover-user"&gt;In addition, please don't use memory configuration file in CodeWarrior debugger setting.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&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>Tue, 15 Mar 2016 08:35:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/CodeWarrior-debugging-of-executing-P4080-core/m-p/475364#M7010</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2016-03-15T08:35:48Z</dc:date>
    </item>
  </channel>
</rss>

