All of lore.kernel.org
 help / color / mirror / Atom feed
From: TriKri <kristoferkrus@hotmail.com>
To: linux-mips@linux-mips.org
Subject: Debugging MIPS cpu with a probe, how?
Date: Tue, 5 Aug 2008 06:10:08 -0700 (PDT)	[thread overview]
Message-ID: <18830812.post@talk.nabble.com> (raw)


Hello!

I have an embedded system, a box, with a MIPS processor on it, which I need
to debug (stop and start the processor, tell what instructions it has
previously executed, etc.). I also have an EJTAG probe, which I have
connected between the computer's usb and the box, and written software for
it. The software can communicate with the probe, which in its own turn can
communicate with the box through the tap (test access port), by giving the
tap certain instructions. It can also, through the tap, feed the MIPS
processor with instructions, and read/write data from processor registers.

The question is now, how can debug the processor? How do I stop it, do I
have to send any certain instructions to it? How can I set a breakpoint
(which I understand is a quite crucial point)? Can I use GDB with my
software to help debug the processor and how do I do that?

Thank you in advance!
/Kristofer Krus
-- 
View this message in context: http://www.nabble.com/Debugging-MIPS-cpu-with-a-probe%2C-how--tp18830812p18830812.html
Sent from the linux-mips main mailing list archive at Nabble.com.

             reply	other threads:[~2008-08-05 13:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-05 13:10 TriKri [this message]
2008-08-07 12:47 ` Debugging MIPS cpu with a probe, how? Markus Gothe
2008-08-07 13:34 ` Johannes Stezenbach

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=18830812.post@talk.nabble.com \
    --to=kristoferkrus@hotmail.com \
    --cc=linux-mips@linux-mips.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.