From: Keith Packard Date: Wed, 2 Mar 2016 22:01:00 +0000 (-0800) Subject: ao-bringup: Switch to v1.0 for chaoskey X-Git-Tag: 1.6.3~2^2~93 X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=commitdiff_plain;h=88ee4ac0c91e12a02cc1954ffad0fd8603e24e55;hp=3a355d5c84e9d975897fa69a103952a1f1558947 ao-bringup: Switch to v1.0 for chaoskey Not going to build any more v0.1 boards. Also, chaoskey now uses the unique ID for a serial, so we don't need to provide a serial number. Signed-off-by: Keith Packard --- diff --git a/ao-bringup/turnon_chaoskey b/ao-bringup/turnon_chaoskey index 8c8a6758..3617e777 100755 --- a/ao-bringup/turnon_chaoskey +++ b/ao-bringup/turnon_chaoskey @@ -14,7 +14,7 @@ else exit 1 fi -VERSION=0.1 +VERSION=1.0 PRODUCT=ChaosKey echo "ChaosKey v$VERSION Turn-On and Calibration Program" @@ -25,26 +25,10 @@ echo "\tChaosKey v$VERSION powered from USB" echo "\t\twith ST-Link-V2 cabled to debug header" echo - -case $# in - 1) - SERIAL="$1" - echo "$PRODUCT-$VERSION serial number: $SERIAL" - ;; - 0) - echo -n "$PRODUCT-$VERSION serial number: " - read SERIAL - ;; - *) - echo "Usage: $0 " 1>&2 - exit 1; - ;; -esac - $FLASH_STM ../src/chaoskey-v$VERSION/flash-loader/chaoskey-v$VERSION-*.elf || exit 1 sleep 2 -$USBLOAD --serial=$SERIAL ../src/chaoskey-v$VERSION/chaoskey-v$VERSION*.ihx || exit 1 +$USBLOAD --serial=1 ../src/chaoskey-v$VERSION/chaoskey-v$VERSION*.ihx || exit 1 exit $?