All of lore.kernel.org
 help / color / mirror / Atom feed
From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Debugging u-boot with BDI2000
Date: Fri, 18 Jul 2003 14:05:47 +0200	[thread overview]
Message-ID: <20030718120552.42BB5C6D82@atlas.denx.de> (raw)
In-Reply-To: Your message of "Fri, 18 Jul 2003 13:21:29 +0200." <200307181321.29058.jbeisert@eurodsn.de>

Hi,

in message <200307181321.29058.jbeisert@eurodsn.de> you wrote:
> 
> With "reset halt", "info" I see the CPU waiting at address 0xFFFF'FFFC, after 
> one single step ("ti") it waits at address 0xFFFF'C0100. Seems ok.

Indeed, this looks OK.

BTW: plain "reset" is all you need. You don't have to specify  a  new
mode if you don't want to change it.

> If the mtmsr instruction is not "single step able", it should run, if I place 
> a breakpoint behind this instruction (for example later in the C routines) 
> and use "go" to run up the breakpoint. Or not?

Maybe. If you're using hardware breakpoints, for example.

> Perhaps my english is very bad. Question was: Why the cpu is running normal 
> with "reset run", and did not run, when I enter "reset halt", enter a 
> breakpoint and than "go" (it never reaches the breakpoint).

Which address is PC pointing to when you enter "go"?

You may want to ask Abatron support  for  details  about  the  exactl
meaning of these options. My interpretation is that "reset run" means
the  same  as  a  reset  in  startup  mode  run,  while  "reset halt"
equivalents to a reset in startup mode stop.  I  never  used  any  of
these.

Why don't you use plain "reset" ? [Did you try it?]

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
"If anything can go wrong, it will."                   - Edsel Murphy

  reply	other threads:[~2003-07-18 12:05 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-18 11:21 [U-Boot-Users] Debugging u-boot with BDI2000 Juergen Beisert
2003-07-18 12:05 ` Wolfgang Denk [this message]
2003-07-18 12:28   ` Juergen Beisert
2003-07-18 19:08     ` Wolfgang Denk
2003-07-18 12:11 ` Juergen Beisert
     [not found] <200307211005.32005.jbeisert@eurodsn.de>
2003-07-21  8:36 ` Wolfgang Denk
2003-07-21  9:36   ` Juergen Beisert
2003-09-11 10:11 [U-Boot-Users] Debugging U-Boot " Glenson Muthedan
2003-09-11 10:45 ` Wolfgang Denk
2003-09-11 11:55 ` Robert Schwebel

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=20030718120552.42BB5C6D82@atlas.denx.de \
    --to=wd@denx.de \
    --cc=u-boot@lists.denx.de \
    /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.