[Openocd-development] jim_mcrmrc: no command context @iMX35

2010-01-25 Thread Alexei Babich
Hello all. When I run OpenOCD as follows: [imp...@kb33 openocd]$ src/openocd -f /home/impatt/openocd.cfg I get the following output on the console, including the error message: Open On-Chip Debugger 0.4.0-rc1-dev-00118-gdab9297-dirty (2010-01-26-09:08) For bug reports, read http://ope

Re: [Openocd-development] str710 reset is a bit flaky

2010-01-25 Thread David Brownell
On Tuesday 19 January 2010, Øyvind Harboe wrote: > Run the following and it will fail to halt occasionally. This is not a > regression, > but I thought I'd post this tip on how to reproduce flaky reset problems... Got any more info on this? Just curious. Another STR7 issue is with the flash prot

Re: [Openocd-development] OpenOCD on MX51

2010-01-25 Thread David Brownell
On Monday 25 January 2010, Alan Carvalho de Assis wrote: > Hi Dave, > > On 1/23/10, David Brownell wrote: > > On Monday 18 January 2010, Alan Carvalho de Assis wrote: > >> > >> What could I investigate now to fix this error? > > > > Unfortunately I think you're starting to hit some of the ways >

Re: [Openocd-development] svf patch[2/2]: omit space between '(' and ')'

2010-01-25 Thread David Brownell
On Monday 25 January 2010, simon qian wrote: > > What about the attached patch? Looked OK to me. I merged it with some minor cleanup (no "break" after goto or return, etc) and adding some comments (like pointing out that the SVF spec is far from complete with respect to whitespace). - Dave

Re: [Openocd-development] imx31 breakpoints

2010-01-25 Thread Ethan Eade
David Brownell wrote: > I fired up GDB against an ARM1136 with current git code and > observed the "breakpoints work in Tcl, fail in GDB" problem. > > So I committed a fix that makes GDB work too, at least on > an omap2420 core. > > It'd be worth verifying this works on other ARM1136 targets. >

Re: [Openocd-development] imx31 breakpoints

2010-01-25 Thread David Brownell
On Monday 25 January 2010, Ethan Eade wrote: > > David Brownell wrote: > > I fired up GDB against an ARM1136 with current git code and > > observed the "breakpoints work in Tcl, fail in GDB" problem. > > > > So I committed a fix that makes GDB work too, at least on > > an omap2420 core. > > > > It

Re: [Openocd-development] imx31 breakpoints

2010-01-25 Thread David Brownell
On Monday 25 January 2010, Edgar Grimberg wrote: > > Now I'm getting some other type of problem on my iMX.31. I try to load: This is unrelated to breakpoints ... but it resembles what I saw a few times trying to load code into SRAM. I had thought it was related to some other patches (non-mainlin

[Openocd-development] core arm11: Silence the logs level 3 if there is no activity

2010-01-25 Thread Edgar Grimberg
If the target and openocd are idling, the log, even at level 3, should be silent. Signed-off-by: Edgar Grimberg --- src/jtag/core.c| 10 ++ src/target/arm11.c |2 +- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/src/jtag/core.c b/src/jtag/core.c index e311bfb.

Re: [Openocd-development] imx31 breakpoints

2010-01-25 Thread Edgar Grimberg
On Sat, Jan 23, 2010 at 8:01 AM, David Brownell wrote: > I fired up GDB against an ARM1136 with current git code and > observed the "breakpoints work in Tcl, fail in GDB" problem. > > So I committed a fix that makes GDB work too, at least on > an omap2420 core. > > It'd be worth verifying this wor

Re: [Openocd-development] OpenOCD on MX51

2010-01-25 Thread Alan Carvalho de Assis
Hi Dave, On 1/23/10, David Brownell wrote: > On Monday 18 January 2010, Alan Carvalho de Assis wrote: > >> When I type halt the prompt get blocked and about 1 minute after I >> receive this error: >> >> > halt >> AHBAP Cached values: dp_select 0x10, ap_csw 0xa202, ap_tar 0x54011080 >> JTAG-DP

Re: [Openocd-development] svf patch[2/2]: omit space between '(' and ')'

2010-01-25 Thread simon qian
What about the attached patch? Pass all characters in a command, and call isspace to make the judgement. 2010/1/25 David Brownell > > while (str_len > 0 && ((str[str_len - 1] == '0') || (str[str_len > - 1] == ' '))) > > Shouldn't that be "isspace(str[str_len - 1])" to allow > leading tabs