Login

Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

ARM websites use two types of cookie: (1) those that enable the site to function and perform as required; and (2) analytical cookies which anonymously track visitors only while using the site. If you are not happy with this use of these cookies please review our Privacy Policy to learn how they can be disabled. By disabling cookies some features of the site will not work.

ARM Community: Program Counter stuck - ARM Community

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Program Counter stuck I need help on understanding how the CoreSight Debug module works Rate Topic: -----

#1 User is offline   dody 

  • Member
  • Pip
  • Group: Members
  • Posts: 4
  • Joined: 30-November 11

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.
0

#2 User is offline   isogen74 

  • Super Contributor
  • PipPipPipPip
  • Group: Members
  • Posts: 1097
  • Joined: 20-March 07

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
When optimizing software, consider that the quickest code to run is the bit you removed from the call path.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic