openocd/src/target
Tomas Vanek 779e95cc32 arm_adi_v5: fix regression from 4553abf906
Functions mem_ap_read() and mem_ap_write() incremented address even
if addrinc=false. I overlooked this fact and moved mem_ap_setup_tar()
set wrong addresses in no-incr mode.

Fixed by preventing address increment in no-incr mode.

Change-Id: I512e12a6a64e30cf6bc5bf77e3d57d35cc33e058
Signed-off-by: Tomas Vanek <vanekt@fbl.cz>
Suggested-by: Matthias Welwarsky <matthias@welwarsky.de>
Reviewed-on: http://openocd.zylin.com/4326
Tested-by: jenkins
Reviewed-by: Christopher Head <chead@zaber.com>
Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
2018-01-11 08:28:29 +00:00
..
openrisc telnet_server: drop unused options 2017-10-03 11:16:36 +01:00
aarch64.c aarch64: fix crash on single-stepping 2018-01-09 09:37:14 +00:00
aarch64.h aarch64: clean up struct aarch64_common 2017-02-24 09:30:43 +00:00
adi_v5_jtag.c adi_v5_jtag: make sure SSTICKYERR is cleared after a POR 2017-01-15 11:00:32 +00:00
adi_v5_swd.c arm_adi_v5: fix wrong addressing after change of CSW_ADDRINC 2018-01-05 10:06:30 +00:00
algorithm.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
algorithm.h target: Add 64-bit target address support 2017-02-10 13:50:17 +01:00
arm_adi_v5.c arm_adi_v5: fix regression from 4553abf906 2018-01-11 08:28:29 +00:00
arm_adi_v5.h arm_adi_v5: fix wrong addressing after change of CSW_ADDRINC 2018-01-05 10:06:30 +00:00
arm_cti.c target: generic ARM CTI function wrapper 2017-02-24 09:13:52 +00:00
arm_cti.h target: generic ARM CTI function wrapper 2017-02-24 09:13:52 +00:00
arm_disassembler.c Fix GCC7 warnings about switch-case fallthroughs 2017-10-23 10:54:16 +01:00
arm_disassembler.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
arm_dpm.c arm_dpm: fix dpm setup 2017-03-06 09:58:43 +00:00
arm_dpm.h aarch64: register access rewrite 2017-02-10 14:18:34 +01:00
arm_jtag.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
arm_jtag.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
arm_opcodes.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
arm_semihosting.c arm: semihosting: set command line arguments 2017-10-22 23:06:09 +01:00
arm_semihosting.h semihosting: support fileio operation 2016-12-08 12:32:58 +00:00
arm_simulator.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
arm_simulator.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
arm.h arm: semihosting: set command line arguments 2017-10-22 23:06:09 +01:00
arm7_9_common.c target: Add 64-bit target address support 2017-02-10 13:50:17 +01:00
arm7_9_common.h target: Add 64-bit target address support 2017-02-10 13:50:17 +01:00
arm7tdmi.c semihosting: support fileio operation 2016-12-08 12:32:58 +00:00
arm7tdmi.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
arm9tdmi.c semihosting: support fileio operation 2016-12-08 12:32:58 +00:00
arm9tdmi.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
arm11_dbgtap.c Fix usage of timeval_ms() 2016-07-19 10:45:16 +01:00
arm11_dbgtap.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
arm11.c target: Add 64-bit target address support 2017-02-10 13:50:17 +01:00
arm11.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
arm720t.c target: Add 64-bit target address support 2017-02-10 13:50:17 +01:00
arm720t.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
arm920t.c target: Add 64-bit target address support 2017-02-10 13:50:17 +01:00
arm920t.h target: Add 64-bit target address support 2017-02-10 13:50:17 +01:00
arm926ejs.c target: Add 64-bit target address support 2017-02-10 13:50:17 +01:00
arm926ejs.h target: Add 64-bit target address support 2017-02-10 13:50:17 +01:00
arm946e.c target: Add 64-bit target address support 2017-02-10 13:50:17 +01:00
arm946e.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
arm966e.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
arm966e.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
armv4_5_cache.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
armv4_5_cache.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
armv4_5_mmu.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
armv4_5_mmu.h target: Add 64-bit target address support 2017-02-10 13:50:17 +01:00
armv4_5.c arm: semihosting: set command line arguments 2017-10-22 23:06:09 +01:00
armv4_5.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
armv7a_cache_l2x.c target: Add 64-bit target address support 2017-02-10 13:50:17 +01:00
armv7a_cache_l2x.h target: Add 64-bit target address support 2017-02-10 13:50:17 +01:00
armv7a_cache.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
armv7a_cache.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
armv7a.c Add missing break 2017-10-03 11:19:58 +01:00
armv7a.h target: Add 64-bit target address support 2017-02-10 13:50:17 +01:00
armv7m_trace.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
armv7m_trace.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
armv7m.c target: Add 64-bit target address support 2017-02-10 13:50:17 +01:00
armv7m.h target: Constify parameter of is_armv7m() 2017-12-06 21:01:19 +00:00
armv8_cache.c aarch64: fix software breakpoints when in aarch32 state 2017-02-24 09:11:52 +00:00
armv8_cache.h aarch64: add cache handling functions 2017-02-10 14:01:39 +01:00
armv8_dpm.c armv8_dpm: fix exception handling 2017-02-24 09:50:14 +00:00
armv8_dpm.h aarch64: run control rework 2017-02-24 09:31:52 +00:00
armv8_opcodes.c target aarch64: rework memory read/write to use 8/16/32 bit operations 2018-01-04 09:09:46 +00:00
armv8_opcodes.h target aarch64: rework memory read/write to use 8/16/32 bit operations 2018-01-04 09:09:46 +00:00
armv8.c Fix compile failure on MacOSX 2017-05-02 16:43:20 +01:00
armv8.h aarch64: run control rework 2017-02-24 09:31:52 +00:00
avr32_ap7k.c target: Add 64-bit target address support 2017-02-10 13:50:17 +01:00
avr32_ap7k.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
avr32_jtag.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
avr32_jtag.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
avr32_mem.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
avr32_mem.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
avr32_regs.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
avr32_regs.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
avrt.c target: Add 64-bit target address support 2017-02-10 13:50:17 +01:00
avrt.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
breakpoints.c target: Add 64-bit target address support 2017-02-10 13:50:17 +01:00
breakpoints.h target: Add 64-bit target address support 2017-02-10 13:50:17 +01:00
cortex_a.c aarch64: unify armv7-a and armv8 debug entry decoding 2017-02-10 14:01:39 +01:00
cortex_a.h cortex_a: remove partnum magic from arp_examine and dbginit 2016-12-08 12:25:35 +00:00
cortex_m.c Cortex-M: Delete an unnecessary local variable 2017-10-27 11:47:22 +01:00
cortex_m.h cortex_m: allow setting debug ap during create 2016-12-08 12:35:58 +00:00
dsp563xx_once.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
dsp563xx_once.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
dsp563xx.c target: Add 64-bit target address support 2017-02-10 13:50:17 +01:00
dsp563xx.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
dsp5680xx.c target: Add 64-bit target address support 2017-02-10 13:50:17 +01:00
dsp5680xx.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
embeddedice.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
embeddedice.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
etb.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
etb.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
etm_dummy.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
etm_dummy.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
etm.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
etm.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
fa526.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
feroceon.c target: Add 64-bit target address support 2017-02-10 13:50:17 +01:00
hla_target.c target: Add 64-bit target address support 2017-02-10 13:50:17 +01:00
image.c Replace "daemon" with "server" in user-visible strings 2016-11-05 17:44:01 +00:00
image.h target: Add 64-bit target address support 2017-02-10 13:50:17 +01:00
lakemont.c target: Add 64-bit target address support 2017-02-10 13:50:17 +01:00
lakemont.h target: Add 64-bit target address support 2017-02-10 13:50:17 +01:00
ls1_sap.c target: Add 64-bit target address support 2017-02-10 13:50:17 +01:00
Makefile.am stm8 : new target 2017-12-07 07:53:13 +00:00
mips_ejtag.c mips32, use scan32 function for reading impcode/idcode. 2017-05-08 18:05:58 +01:00
mips_ejtag.h mips32, use scan32 function for reading impcode/idcode. 2017-05-08 18:05:58 +01:00
mips_m4k.c mips32, use scan32 function for reading impcode/idcode. 2017-05-08 18:05:58 +01:00
mips_m4k.h mips32: add micromips isa handling 2017-05-08 18:04:56 +01:00
mips32_dmaacc.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
mips32_dmaacc.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
mips32_pracc.c mips32, add support for micromips in debug mode 2017-05-08 18:03:28 +01:00
mips32_pracc.h mips32: inline functions in headers must be static 2017-07-07 09:54:35 +01:00
mips32.c mips32: add micromips isa handling 2017-05-08 18:04:56 +01:00
mips32.h mips32: add micromips isa handling 2017-05-08 18:04:56 +01:00
nds32_aice.c target: Add 64-bit target address support 2017-02-10 13:50:17 +01:00
nds32_aice.h target: Add 64-bit target address support 2017-02-10 13:50:17 +01:00
nds32_cmd.c Fix GCC7 warnings about string truncation 2017-10-23 10:54:24 +01:00
nds32_cmd.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
nds32_disassembler.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
nds32_disassembler.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
nds32_edm.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
nds32_insn.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
nds32_reg.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
nds32_reg.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
nds32_tlb.c target: Add 64-bit target address support 2017-02-10 13:50:17 +01:00
nds32_tlb.h target: Add 64-bit target address support 2017-02-10 13:50:17 +01:00
nds32_v2.c target: Add 64-bit target address support 2017-02-10 13:50:17 +01:00
nds32_v2.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
nds32_v3_common.c target: Add 64-bit target address support 2017-02-10 13:50:17 +01:00
nds32_v3_common.h target: Add 64-bit target address support 2017-02-10 13:50:17 +01:00
nds32_v3.c target: Add 64-bit target address support 2017-02-10 13:50:17 +01:00
nds32_v3.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
nds32_v3m.c target: Add 64-bit target address support 2017-02-10 13:50:17 +01:00
nds32_v3m.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
nds32.c target: Add 64-bit target address support 2017-02-10 13:50:17 +01:00
nds32.h target: Add 64-bit target address support 2017-02-10 13:50:17 +01:00
oocd_trace.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
oocd_trace.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
quark_d20xx.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
quark_x10xx.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
register.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
register.h Document struct reg fields. 2017-10-18 08:35:42 +01:00
smp.c helper: Code cleanup for hexify() 2016-12-08 12:34:53 +00:00
smp.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
startup.tcl Add -defer-examine option to target create command 2016-12-08 12:24:11 +00:00
stm8.c stm8 : new target 2017-12-07 07:53:13 +00:00
stm8.h stm8 : new target 2017-12-07 07:53:13 +00:00
target_request.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
target_request.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
target_type.h Differentiate "target not halted" messages. 2017-10-18 08:38:18 +01:00
target.c target: remove unused event definitions 2017-12-12 21:18:10 +00:00
target.h target: remove unused event definitions 2017-12-12 21:18:10 +00:00
testee.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
trace.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
trace.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
x86_32_common.c target: Add 64-bit target address support 2017-02-10 13:50:17 +01:00
x86_32_common.h target: Add 64-bit target address support 2017-02-10 13:50:17 +01:00
xscale.c target: Add 64-bit target address support 2017-02-10 13:50:17 +01:00
xscale.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00