summaryrefslogtreecommitdiff
path: root/src/target/target/aduc702x.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'src/target/target/aduc702x.cfg')
-rw-r--r--src/target/target/aduc702x.cfg6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/target/target/aduc702x.cfg b/src/target/target/aduc702x.cfg
index 35f5ff32..ef1beb78 100644
--- a/src/target/target/aduc702x.cfg
+++ b/src/target/target/aduc702x.cfg
@@ -39,8 +39,12 @@ jtag newtap $_CHIPNAME cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_CP
set _TARGETNAME [format "%s.cpu" $_CHIPNAME]
target create $_TARGETNAME arm7tdmi -endian $_ENDIAN -chain-position $_TARGETNAME
+# allocate the entire SRAM as working area
+$_TARGETNAME configure -work-area-phys 0x10000 -work-area-size 0x2000
+
## flash configuration
-flash bank aduc702x 0x80000 0x10000 2 2 0
+# only target number is needed
+flash bank aduc702x 0 0 0 0 0
## If you use the watchdog, the following code makes sure that the board
## doesn't reboot when halted via JTAG. Yes, on the older generation