X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=tcl%2Ftools%2Ffirmware-recovery.tcl;h=9d7e0fce848dca903340ddff1e3c96ca3e3f9f9a;hb=a5035849d671fc7821b7b864f0e103d6a0521915;hp=8e017ce5b3cf55d04af4b7c3f2595b5728e918ac;hpb=9d98f8b7a7d0a4c1d50c1d5d9df62dc2d0ede26c;p=fw%2Fopenocd diff --git a/tcl/tools/firmware-recovery.tcl b/tcl/tools/firmware-recovery.tcl index 8e017ce5b..9d7e0fce8 100644 --- a/tcl/tools/firmware-recovery.tcl +++ b/tcl/tools/firmware-recovery.tcl @@ -29,7 +29,7 @@ dump_part save partition's contents to a file erase_part erase the given partition flash_part erase, flash and verify the given partition ram_boot load binary file to RAM and run it -adapter_khz set JTAG clock frequency in kHz +adapter speed set JTAG clock frequency in kHz For example, to clear nvram and reflash CFE on an RT-N16 using TUMPA, run: openocd -f interface/ftdi/tumpa.cfg -f tools/firmware-recovery.tcl \\ @@ -38,8 +38,8 @@ openocd -f interface/ftdi/tumpa.cfg -f tools/firmware-recovery.tcl \\ shutdown } -# set default, can be overriden later -adapter_khz 1000 +# set default, can be overridden later +adapter speed 1000 proc get_partition { name } { global partition_list