aboutsummaryrefslogtreecommitdiff
path: root/tcl/target/bcm4718.cfg
diff options
context:
space:
mode:
authorPaul Fertser <fercerpav@gmail.com>2013-12-30 22:26:36 +0400
committerSpencer Oliver <spen@spen-soft.co.uk>2014-01-08 22:18:18 +0000
commitfaedb1477292dda20267adbdcf6536da3ec77502 (patch)
tree0f58093c7504b58091a6860a344564bf3a64cffb /tcl/target/bcm4718.cfg
parent436f66b46327296ce818c3265f09381b2b0af7a7 (diff)
downloadriscv-openocd-faedb1477292dda20267adbdcf6536da3ec77502.zip
riscv-openocd-faedb1477292dda20267adbdcf6536da3ec77502.tar.gz
riscv-openocd-faedb1477292dda20267adbdcf6536da3ec77502.tar.bz2
tcl: add bcm47xx config and Asus RT-N16 board using it
This adds the bcm47xx config with the special undocumented trick to put it into standard EJTAG mode from the mystic "LV mode". The RAM setup is not done as it would require considerable efforts without much practical gain. The only issue I noticed so far is that "reset" doesn't actually reset the chip. Unfortunately, it's unclear how to make it work properly with SRST as OpenOCD asserts it in MIPS-specific code so the device will enter LV mode again but the LV tap is already disabled by that time, so it's not possible to send the magic command again. Anyway, this config is more than enough to "recover" any RT-N16 provided the hardware is not damaged. Change-Id: I0894e339763e6d20d1c93341c597382b479d039b Signed-off-by: Paul Fertser <fercerpav@gmail.com> Reviewed-on: http://openocd.zylin.com/1849 Tested-by: jenkins Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
Diffstat (limited to 'tcl/target/bcm4718.cfg')
-rw-r--r--tcl/target/bcm4718.cfg5
1 files changed, 5 insertions, 0 deletions
diff --git a/tcl/target/bcm4718.cfg b/tcl/target/bcm4718.cfg
new file mode 100644
index 0000000..8193914
--- /dev/null
+++ b/tcl/target/bcm4718.cfg
@@ -0,0 +1,5 @@
+set _CHIPNAME bcm4718
+set _LVTAPID 0x1471617f
+set _CPUID 0x0008c17f
+
+source [find target/bcm47xx.cfg]