X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=ao-tools%2Fao-flash%2Fao-flash-lpc;h=62e223db82f2cf67f3f26d6b1e45299395538d54;hb=c1708f3fa4ff412da8817ba0fa58d05fe7ef44f5;hp=7ac5b523077ec1f8a0c4da7e3b5e5c88f4f98a1a;hpb=2424c0e6fe53789dc83d1e96439dcdc13e847b07;p=fw%2Faltos diff --git a/ao-tools/ao-flash/ao-flash-lpc b/ao-tools/ao-flash/ao-flash-lpc index 7ac5b523..62e223db 100755 --- a/ao-tools/ao-flash/ao-flash-lpc +++ b/ao-tools/ao-flash/ao-flash-lpc @@ -8,9 +8,10 @@ esac cmds=/tmp/flash$$ trap "rm $cmds" 0 1 15 file="$1" -echo "program $file verify reset" > $cmds +echo "program $file reset" > $cmds openocd \ -f interface/stlink-v2.cfg \ - -f target/lpc11u14.cfg \ + -f target/lpc11xx.cfg \ + -c 'adapter speed 1000' \ -f $cmds \ -c shutdown