X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=tcl%2Fboard%2Fmcb1700.cfg;h=a5e19024a9afbc1fb21ea10f0d2bd640e275a1f6;hb=6306bdffc249809810a89e5b0ade1a998e62cf5d;hp=068a19b24d5c3c19c25c82e2958e45d5bc9fd12e;hpb=d1a67c80e42f8397d8355c66673622302867bd2f;p=fw%2Fopenocd diff --git a/tcl/board/mcb1700.cfg b/tcl/board/mcb1700.cfg index 068a19b24..a5e19024a 100644 --- a/tcl/board/mcb1700.cfg +++ b/tcl/board/mcb1700.cfg @@ -1,5 +1,5 @@ # Keil MCB1700 PCB with 1768 -# +# # Reset init script sets it to 100MHz set CCLK 100000 @@ -11,7 +11,7 @@ set MCB1700_CCLK $CCLK $_TARGETNAME configure -event reset-start { # Start *real slow* as we do not know the # state the boot rom left the clock in - adapter_khz 10 + adapter speed 10 } # Set up 100MHz clock to CPU @@ -53,9 +53,9 @@ $_TARGETNAME configure -event reset-init { # Dividing CPU clock by 8 should be pretty conservative # - # + # global MCB1700_CCLK - adapter_khz [expr $MCB1700_CCLK / 8] + adapter speed [expr {$MCB1700_CCLK / 8}] # Do not remap 0x0000-0x0020 to anything but the flash (i.e. select # "User Flash Mode" where interrupt vectors are _not_ remapped,