Support for Freescale LS102x SAP

The SAP in LS102x SoC's from Freescale is able to read and write to all
physical memory locations, independently of CPU cores and DAP.

This implementation is 100% based on reverse-engineering of JTAG
communication with an LS1021A SAP using a JTAG debugger with SAP support.

And as such, this code is for now "works-for-me", pending verification
by other OpenOCD users, or even better, actual information from Freescale
on the SAP interface.

Change-Id: Ibb30945e017894da5c402f9f633fc513bed4e68c
Signed-off-by: Esben Haabendal <esben@haabendal.dk>
Reviewed-on: http://openocd.zylin.com/3096
Tested-by: jenkins
Reviewed-by: Paul Fertser <fercerpav@gmail.com>
This commit is contained in:
Esben Haabendal
2015-11-10 11:44:29 +01:00
committed by Paul Fertser
parent 406f4d1c68
commit f906c65fed
5 changed files with 250 additions and 2 deletions

View File

@@ -82,7 +82,8 @@ ARMV7_SRC = \
armv7m_trace.c \
cortex_m.c \
armv7a.c \
cortex_a.c
cortex_a.c \
ls1_sap.c
ARM_DEBUG_SRC = \
arm_dpm.c \