AnsweredAssumed Answered

CodeWarrior debugging of executing P4080 core

Question asked by Bob Perry on Feb 22, 2016
Latest reply on Mar 15, 2016 by Yiping Wang



I am trying to debug an executing P4080 CPU.  I am attaching to the device using a TAP over Ethernet.  I am attaching to a current running core through Codewarrior and this works as expected.  The running application is running virtual addressing using both TLB 0 and TLB1.  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.  I have tried placing breakpoints at the handler address and this never gets a hit.  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.  I have tried to add the break point at the virtual address and also the real address; no hit.


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.  IVOR 0 is at 0x10.  So, a break point set at virtual address 0x10 never gets a hit and neither setting a break point at 0x30000010 gets a hit.  Yet, I know the IVOR is entered from debug messages I have in the handler.  Anyone help with what I maybe doing wrong here.