From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Denk Date: Fri, 18 Jul 2003 14:05:47 +0200 Subject: [U-Boot-Users] Debugging u-boot with BDI2000 In-Reply-To: Your message of "Fri, 18 Jul 2003 13:21:29 +0200." <200307181321.29058.jbeisert@eurodsn.de> Message-ID: <20030718120552.42BB5C6D82@atlas.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.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