From: Bdale Garbee Date: Thu, 20 Feb 2014 20:23:32 +0000 (-0700) Subject: update turnon scripts to store cal values X-Git-Tag: 1.3.2.2~176 X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=commitdiff_plain;h=403b95ee27782309b564855b85285c9f5f5c7068;hp=3ef0cc28758c68e6076afa809e157a84ce3661fb update turnon scripts to store cal values --- diff --git a/ao-bringup/turnon_telebt b/ao-bringup/turnon_telebt index ef20e915..c4902f31 100755 --- a/ao-bringup/turnon_telebt +++ b/ao-bringup/turnon_telebt @@ -45,7 +45,8 @@ read FREQ CAL_VALUE=`nickle -e "floor(434.55 / $FREQ * 1186611 + 0.5)"` echo "Programming flash with cal value " $CAL_VALUE -$AOLOAD -D $DONGLE --cal $CAL_VALUE /usr/share/altos/stable/telebt-v1.0*.ihx $SERIAL +$AOLOAD -D $DONGLE --cal $CAL_VALUE /usr/share/altos/telebt-v1.0*.ihx $SERIAL echo "Serial number "$SERIAL" programmed with RF cal value "$CAL_VALUE +echo $SERIAL","$CAL_VALUE >> cal_values echo "Unplug debug cable, power cycle, cu to the board, confirm freq and record power" diff --git a/ao-bringup/turnon_teledongle b/ao-bringup/turnon_teledongle index a11683db..ddee5ee8 100755 --- a/ao-bringup/turnon_teledongle +++ b/ao-bringup/turnon_teledongle @@ -45,4 +45,5 @@ echo "Programming flash with cal value " $CAL_VALUE $AOLOAD -D 100 --cal $CAL_VALUE /usr/share/altos/teledongle-v0.2*.ihx $SERIAL echo "Serial number "$SERIAL" programmed with RF cal value "$CAL_VALUE +echo $SERIAL","$CAL_VALUE >> cal_values echo "Unplug and replug USB, cu to the board, confirm freq and record power"