On Fri, Jan 02, 2015 at 02:00:50PM -0500, Mark Odell wrote:
> I think I found the patch to fix my issue. I had two issues in fact. The first
> issue was the wrong -dbgbase <address>. For SAMA5D36 it should be -dbgbase
> 0x80010000.

Isn't it getting properly autodetected from the DAP ROM table? Have
you tried omitting it and looking at -d3 output?

> The second issue turned out to be off-by-one on register reads. E.g.
> reading 0xFFFF_FC24 returned the value in 0xFFFF_FC20, the real
> value for 0xFFFF_FC24 shows up when reading 0xFFFF_FC28, and so
> on. This patch,
> [1]http://openocd.zylin.com/#/c/2299/2/src/target/cortex_a.c,cm,
> fixed that problem.

Great, noticed. I hope it's getting merged soon.

> Thanks for the help. Much appreciated.

Welcome. Please keep us informed about your progress, and once you
have a useful config file, please do not hesitate to contribute
upstream.

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

------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to