Re: [Openocd-development] Implementing per-TAP data

2011-02-06 Thread Mathias K.
Hello, On 07.02.2011 03:57, Aaron Carroll wrote: On 04/02/11 17:00, Øyvind Harboe wrote: Maybe DAPs should exist independently of JTAG and targets and targets should refer to the DAP relevant to that target? Agreed, but then how does one discover the DAP relevant to a TAP. Suppose core0 is on

Re: [Openocd-development] [PATCH] cortex_a9: fix dap_ap_select() usage

2011-02-06 Thread Mathias K.
Hello, On 07.02.2011 03:54, Aaron Carroll wrote: On A8/omap35xx and A9/omap44xx, the CPU CoreSight component is on AP 0 (an APB-AP). However, for both these platforms we do memory accesses on AP 1, which is an AHB-AP. One advantage of this is the core does not need to be halted to access memory.

Re: [Openocd-development] Implementing per-TAP data

2011-02-06 Thread Øyvind Harboe
> Agreed, but then how does one discover the DAP relevant to a TAP. > Suppose core0 is online and you're bringing up core1... all you have is > a fresh target and a TAP pointer. Create a list of DAPs and scan it. If there is no DAP there add one, if there is, use it? -- Øyvind Harboe Can Zylin

Re: [Openocd-development] Implementing per-TAP data

2011-02-06 Thread Aaron Carroll
On 4 February 2011 17:00, Øyvind Harboe wrote: > Maybe DAPs should exist independently of JTAG and > targets and targets should refer to the DAP relevant > to that target? Also a good idea to be transport independent (SWD comes to mind). But I don't understand oocd internals enough to see a nice

Re: [Openocd-development] Implementing per-TAP data

2011-02-06 Thread Aaron Carroll
On 04/02/11 17:00, Øyvind Harboe wrote: Maybe DAPs should exist independently of JTAG and targets and targets should refer to the DAP relevant to that target? Agreed, but then how does one discover the DAP relevant to a TAP. Suppose core0 is online and you're bringing up core1... all you have i

Re: [Openocd-development] [PATCH] cortex_a9: fix dap_ap_select() usage

2011-02-06 Thread Aaron Carroll
On 04/02/11 17:31, Mathias K. wrote: Hello, On 04.02.2011 01:38, Aaron Carroll wrote: At a high level, I think it makes sense for functions to be explicit about selecting an AP... I don't see any advantage to a "default". I don't know if the AP always equal in a complete architecture or is th

Re: [Openocd-development] Buspirate fixes

2011-02-06 Thread Øyvind Harboe
any objections to committing? > When exactly did the script parsing change ? For some reason in-line > comments are parsed as part of the command and change argument count. Tcl only allow comments to start at the beginning of the line and '#' is the only allowed char. ';' means new statement in T

Re: [Openocd-development] [PATCH] dsp563xx: add x, y and p memory access

2011-02-06 Thread Øyvind Harboe
You're the expert here. I'll merge this if I hear no protests. -- Øyvind Harboe Can Zylin Consulting help on your project? US toll free 1-866-980-3434 / International +47 51 87 40 27 http://www.zylin.com/zy1000.html ARM7 ARM9 ARM11 XScale Cortex JTAG debugger and flash programmer __