openocd/src
Paul Fertser ddef36905c cortex_a: do not try to use MMU for translation if it wasn't enabled on target stop
On a target where AHB AP memory access is unavailable, care should be
taken to avoid treating addresses as virtual if the MMU was disabled
at the time the target was stopped.

Without this it's impossible to peek memory with Gdb when debugging
e.g. a bootloader because cortex_a8_read_memory() unconditionally
tried (and failed because of a sanity check in cortex_a8_mmu_modify)
to enable MMU.

Change-Id: Id7c63f4912920fb71a6104226ec6428d18c96a56
Reported-by: mbm@openwrt.org
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Reviewed-on: http://openocd.zylin.com/1787
Tested-by: jenkins
Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
2014-02-06 22:21:57 +00:00
..
flash flash: declare fixed arrays const 2014-02-06 22:17:51 +00:00
helper command: Fix formatting for empty usage string 2014-01-09 13:21:51 +00:00
jtag CMSIS-DAP: auto-detect CMSIS-DAP USB VID:PID 2014-01-23 21:32:46 +00:00
pld update files to correct FSF address 2013-06-05 19:52:42 +00:00
rtos rtos: fix uninitialised variable warning 2014-02-04 21:17:24 +00:00
server gdb_server: Fix confusing warning when entering noack mode 2014-02-06 22:20:29 +00:00
svf svf: off-by-one error; do not access after the allocated memory 2013-09-13 19:34:46 +00:00
target cortex_a: do not try to use MMU for translation if it wasn't enabled on target stop 2014-02-06 22:21:57 +00:00
transport update files to correct FSF address 2013-06-05 19:52:42 +00:00
xsvf update files to correct FSF address 2013-06-05 19:52:42 +00:00
hello.c update files to correct FSF address 2013-06-05 19:52:42 +00:00
hello.h update files to correct FSF address 2013-06-05 19:52:42 +00:00
main.c update files to correct FSF address 2013-06-05 19:52:42 +00:00
Makefile.am cmsis-dap: add initial cmsis-dap support 2014-01-09 15:20:51 +00:00
openocd.c update files to correct FSF address 2013-06-05 19:52:42 +00:00
openocd.h update files to correct FSF address 2013-06-05 19:52:42 +00:00