
Wireless Sensor Networks
Stargate Developer’s Guide
Page 24
Doc. # 7430-0317-13 Rev. B
(Stop xlisten-arm if running, i.e. need access to serial port for programming)
$ ps –A | grep xlisten-arm
$ kill <process id for xlisten-arm>
$ cd /usr
(Program Mote plugged into Stargate connector)
$ uisp -dprog=sggpio -dpart=ATmega128 --wr_fuse_h=d9 --wr_fuse_e=ff --erase --
upload if=main.srec.out
3.5 Setting the System Clock
The Stargate does not have a battery backed clock so the date and time are reset back to 1970 when
the unit is powered down. If you have the Stargate configured with Internet access the
/mnt/cf1/cfcard.rc script that runs on boot-up will set the correct date and time using the
ntpdate
service.
To set the Stargate clock manually issue a command similar to the following using the correct date
and time:
$ date --set="Tues May 17 10:00:00 PDT 2005"
Summary of Contents for Stargate
Page 1: ...Stargate Developer s Guide Rev B January 2006 Document 7430 0317 13 ...
Page 50: ......
Page 51: ......