openocd/tcl
Seth LaForge 3427cf2b7e cortex_a: fix endiannes issues on TI TMS570
The TI TMS470 and TMS570 series of processors are BE-32 processors,
despite BE-32 not being supported by ARM in the Cortex-R4 core. TI
hacked in BE-32 support, which requires odd swizzling in OpenOCD to
make memory reads and writes function correctly. In particular,
without this change, OpenOCD word reads and writes had the bytes
reversed, and halfword and byte packed reads were reading garbage.
In my testing, this change fixes these problems.

Change-Id: I21dd30f4b9003f20fcc85f674ab833407bb61f74
Signed-off-by: Seth LaForge <sethml@google.com>
Reviewed-on: http://openocd.zylin.com/2064
Tested-by: jenkins
Reviewed-by: Paul Fertser <fercerpav@gmail.com>
Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
2014-04-14 18:20:36 +00:00
..
board tcl: bcm6348 target config, BT HomeHub v1 board config 2014-04-14 18:15:24 +00:00
chip Fix a typo. 2013-07-07 13:00:59 +00:00
cpld Add config file for Lattice LC4032ZE CPLD (ispMACH 4000ZE family) 2012-07-17 08:29:32 +00:00
cpu/arm Move TCL script files -- Step 2 of 2: 2009-05-27 06:49:24 +00:00
interface tcl/interface/ftdi: add Digilent JTAG-SMT2 config 2014-03-17 12:51:19 +00:00
target cortex_a: fix endiannes issues on TI TMS570 2014-04-14 18:20:36 +00:00
test TCL scripts: replace "puts" with "echo" 2010-11-09 08:12:51 +01:00
tools tcl: bcm6348 target config, BT HomeHub v1 board config 2014-04-14 18:15:24 +00:00
bitsbytes.tcl TCL scripts: replace "puts" with "echo" 2010-11-09 08:12:51 +01:00
mem_helper.tcl TCL scripts: fix ocd_mem2array/mem2array 2010-09-28 10:44:50 +02:00
memory.tcl tcl: remove silly ocd_ prefix to array2mem and mem2array 2010-08-11 17:24:55 +02:00
mmr_helpers.tcl TCL scripts: replace "puts" with "echo" 2010-11-09 08:12:51 +01:00