diff options
author | Konstantin Porotchkin <kostap@marvell.com> | 2017-03-23 17:22:55 +0200 |
---|---|---|
committer | Konstantin Porotchkin <kostap@marvell.com> | 2017-04-02 17:38:13 +0300 |
commit | 80316c829d0c56b67eb60c39fe3fd6266b314860 (patch) | |
tree | 31d825c679a52aaef0abd4bab3e7d4367a1af66d /scripts/debugger/xdb_scripts/axi-dap-a8k.xdb | |
parent | 3cbd96a876a00eb4c30af69ce827307a1dbf455c (diff) |
scripts: Add XDB debugger scripts for A7K/A8K platformsHEADatf-v1.3-17.04
Add XDB scripts for A7K/A8K platforms
Change-Id: I43577d83fe252a0a72f98df8bbd224a5091b189f
Signed-off-by: Haim Boot <hayim@marvell.com>
Signed-off-by: Konstantin Porotchkin <kostap@marvell.com>
Reviewed-on: http://vgitil04.il.marvell.com:8080/37919
Diffstat (limited to 'scripts/debugger/xdb_scripts/axi-dap-a8k.xdb')
-rw-r--r-- | scripts/debugger/xdb_scripts/axi-dap-a8k.xdb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/debugger/xdb_scripts/axi-dap-a8k.xdb b/scripts/debugger/xdb_scripts/axi-dap-a8k.xdb new file mode 100644 index 00000000..a95aae34 --- /dev/null +++ b/scripts/debugger/xdb_scripts/axi-dap-a8k.xdb @@ -0,0 +1,5 @@ +define macro /button /overwrite axi_dap_enable "custom \"lowlevel=on\";TCI APSCAN /SELECT=0 4\n" +define macro /button /overwrite axi_dap_disable "tci apscan /select=1 4; custom \"lowlevel=off\"\n" +define macro /button /overwrite axi_dap_read "TCI AP /silent 0x4=@1;TCI AP 0xC\n" +define macro /button /overwrite axi_dap_write "TCI AP /silent 0x4=@1;TCI AP 0xC=@2\n" +define macro /button /overwrite axi_dap_read_loop "for @idx =0 to @2 step 4 then TCI AP /silent 0x4=@1+@idx;TCI AP 0xC end" |