»
Quick Links
Page 1 of 1
Program Counter stuck I need help on understanding how the CoreSight Debug module works
#1
Posted 13 April 2012 - 12:40 AM
Hi,
I got this FPGA implementation of Cortex-R5. An RV-ICE connected and RV-Debugger started, the PC is on an address (0x18 in this case, but I don't think it is relevant). But when I hit go, and then stop, the PC stays there. Same case with step-in and over. It seems that this should be a very simple thing. What do I need to look for first here? Are some Debug registers not set up properly? Does this have anything to do with the CoreSight set up? Thanks.
I got this FPGA implementation of Cortex-R5. An RV-ICE connected and RV-Debugger started, the PC is on an address (0x18 in this case, but I don't think it is relevant). But when I hit go, and then stop, the PC stays there. Same case with step-in and over. It seems that this should be a very simple thing. What do I need to look for first here? Are some Debug registers not set up properly? Does this have anything to do with the CoreSight set up? Thanks.
#2
Posted 18 April 2012 - 02:13 PM
Assuming your vector table is at 0, then 0x18 would be the IRQ vector table entry. Do you have any interrupts asserted?
Iso
Iso
When optimizing software, consider that the quickest code to run is the bit you removed from the call path.
Share this topic:
Page 1 of 1














