From 2fc82eae3c1c48485c1fb789dce4c7261fa81af7 Mon Sep 17 00:00:00 2001 From: Leonard Crestez Date: Fri, 10 Aug 2018 16:05:16 +0300 Subject: [PATCH 1/1] target/imx7: Add ahb mem_ap This allows bus access even when CPU is off. Change-Id: I2d5c5581cd0169aecb92ac7b610810988a8dcef4 Signed-off-by: Leonard Crestez Reviewed-on: http://openocd.zylin.com/5032 Tested-by: jenkins Reviewed-by: Matthias Welwarsky --- tcl/target/imx7.cfg | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tcl/target/imx7.cfg b/tcl/target/imx7.cfg index f47dd7d0f9..ea23deb0f1 100644 --- a/tcl/target/imx7.cfg +++ b/tcl/target/imx7.cfg @@ -37,4 +37,9 @@ set _TARGETNAME_2 $_CHIPNAME.cpu_m4 target create $_TARGETNAME_2 cortex_m -dap $_CHIPNAME.dap -ap-num 4 \ -defer-examine +# +# AHB mem-ap target +# +target create $_CHIPNAME.ahb mem_ap -dap $_CHIPNAME.dap -ap-num 0 + targets $_TARGETNAME.0 -- 2.30.2