Hi! On Wed, 24 Dec 2008, Pratik Gupte wrote:
> Hi, > > I was following the steps according to the Deluge T2 - Programming > Manual. > After executing the script for Xbow telosb mote: > > ./burn /dev/ttyUSB0 telosb > > The *first step works fine* i.e. "At this point the first led (red) should > be blinking." > then *at the second step* - > > msp430-objcopy --output-target=ihex build/telosb/main.exe > build/telosb/main.ihex > writing TOS image > =============================== Upload the image > =============================== > Flushing the serial port... > Pinging node ... > > *The script gets stuck at this point (Pinging node ...) indefinitely* (I > aborted after 10 minutes) and the serial data transfer led (small yellow > led) blinks continuously along with the first (red) led. > > Same thing happens if I use another mote or another USB port. > > *The trace when I aborted the call *(of the burn script) is: > > Pinging node ... > Traceback (most recent call last): > File "/usr/local/bin/tos-deluge", line 422, in <module> > inject(imgNum, sys.argv[5]) > File "/usr/local/bin/tos-deluge", line 291, in inject > i = getIdent(imgNum) > File "/usr/local/bin/tos-deluge", line 251, in getIdent > r = read(imgNum, DELUGE_IDENT_OFFSET, DELUGE_IDENT_SIZE) > File "/usr/local/bin/tos-deluge", line 167, in read > if am.write(sreqpkt, FM_AMID): > File "/usr/local/bin/tos.py", line 353, in write > return self._s.write(ActiveMessage(packet, amid=amid)) > File "/usr/local/bin/tos.py", line 209, in write > self._out_ack.wait(0.2) > File "/usr/lib/python2.5/threading.py", line 235, in wait > _sleep(delay) > KeyboardInterrupt Can you please try the latest CVS and see if you get the same behavior? I tested the burn script when I pushed the last update to the tos.py and it was working fine. -- Razvan ME _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
