X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=src%2Ftarget%2Ftarget%2Faduc702x.cfg;h=ef1beb78d801fd3c4ee99a48ea17f7b4278bca56;hp=35f5ff3232a45da4be14fb2eb9a62ef28dc16a6f;hb=8f513f039aab589d8e4583743a7560eca41cfad9;hpb=07749dbdec7dede36e5cac9d467cb5f06e88ef41 diff --git a/src/target/target/aduc702x.cfg b/src/target/target/aduc702x.cfg index 35f5ff3232..ef1beb78d8 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