handle repeated invocations without failing as often
authorBdale Garbee <bdale@gag.com>
Tue, 5 Dec 2017 20:17:18 +0000 (13:17 -0700)
committerBdale Garbee <bdale@gag.com>
Tue, 5 Dec 2017 20:17:18 +0000 (13:17 -0700)
ao-bringup/turnon_telemega

index e2b539e..d7ccc57 100755 (executable)
@@ -44,11 +44,11 @@ esac
 
 echo $FLASH_STM
 
-$FLASH_STM $REPO/loaders/telemega-v$VERSION*.elf || exit 1
+$FLASH_STM $REPO/loaders/telemega-v$VERSION*.elf 
 
 sleep 5
 
-$USBLOAD --serial=$SERIAL $REPO/telemega-v$VERSION*.elf || exit 1
+$USBLOAD --serial=$SERIAL --force $REPO/telemega-v$VERSION*.elf || exit 1
 
 sleep 5