X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=apps%2Ftests%2Fdeluge%2FBlink%2Fburn;h=ce357e7a2efbafb70f2fd8c13518da2c05fb02bf;hb=6da45867baded41c2cbae7e39b10504156e1034c;hp=ce7b1b26aa5c4da3202a5bb36bf86b41762c9c94;hpb=737af24e0a669cefb82d266b5f75d95ab0a41c0e;p=tinyos-2.x.git diff --git a/apps/tests/deluge/Blink/burn b/apps/tests/deluge/Blink/burn index ce7b1b26..ce357e7a 100755 --- a/apps/tests/deluge/Blink/burn +++ b/apps/tests/deluge/Blink/burn @@ -20,8 +20,8 @@ fi if [ $# -ne 2 ]; then echo "Usage: $0 " - echo " For example, /dev/ttyUSB0" - echo " \"micaz\", \"telosb\"" + echo " /dev/ttyUSB0" + echo " micaz or telosb" exit 2 fi @@ -63,7 +63,7 @@ echo ============================= Compile a new Blink ======================== CFLAGS=-DBLINK_REVERSE\ -DDELUGE_BASESTATION make ${PLATFORM} echo =============================== Upload the image =============================== -${TOS_DELUGE} ${PORT} ${PLATFORM} -i 0 build/${PLATFORM}/tos_image.xml +${TOS_DELUGE} ${PORT} ${PLATFORM} -i 1 build/${PLATFORM}/tos_image.xml echo ' +----------------------------------------------------------------+' echo ' | |' @@ -80,4 +80,4 @@ echo ' +----------------------------------------------------------------+' read echo =========================== Reboot the base station ============================ -${TOS_DELUGE} ${PORT} ${PLATFORM} -b 0 +${TOS_DELUGE} ${PORT} ${PLATFORM} -dr 1