On Sat, May 03, 2014 at 06:56:29AM -0700, Duane Ellis wrote:
> On May 2, 2014, at 11:30 PM, Paul Fertser <[email protected]> wrote:
> > On Wed, Apr 30, 2014 at 01:59:36PM -0700, Duane Ellis wrote:
> >> * The Cortex A code sometimes cannot discover the correct AP ports
> > 
> > Do you have an example of when it happens and how? 
> 
> Multi level ROM tables (not currently supported), and ROM tables
> with bugs (no HW guys have have bugs, its only us SW guys right?)
> they may never get fixed.

Displaying of nested ROM tables is already available in 0.8.0, dbgbase
autodetection is being worked on here: http://openocd.zylin.com/1920
. But what exactly are you talking about when you say about
autodetecting AP ports specifically, what's still missing?

> >> Proposal
> >> 
> >> For both cortex_m and cortex_a add this:
> >> 
> >>    $_TARGET cortex_m  debug_ap   <NUMBER>
> >>    $_TARGET cortex_m  memory_ap <NUMBER>
> > ...
> > 
> > Looks proper to me, let's hear what the others will say. Do
> > proprietary debuggers also require manual settings for AP numbers?
> 
> Look here:   http://www2.lauterbach.com/pdf/debugger_arm.pdf
> 
> PDF page # 54 - you’ll see the DAP configuration commands, they exist for the 
> reasons above
> for example:   debugaccessport  …  and bus types, and they talk about the 
> JTAG-AP ports too.

Yep, I see, indeed. Too bad ARM folks didn't think about proper
topology auto-discovery when designing CoreSight :/

-- 
Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software!
mailto:[email protected]

------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.  Get 
unparalleled scalability from the best Selenium testing platform available.
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to