[Tinyos-help] Writing to tinynode via usbserial converter

Maxime Muller - s h o c k f i s h / maxime at shockfish.com
Wed Jun 6 12:12:29 PDT 2007


try the following:
cd $TOSROOT/apps/Blink/
tos-bsl --invert-reset -c /dev/ttyUSB0 -r -e -I -p build/tinynode/main.ihex
supposing /dev/ttyUSB0 is the right device

cheers,
maxime
> I am trying to program a tinynode using tinyos-1.x and it is not working
> through my usb-serial converter. I get the error below:
>
> compiled Blink to build/tinynode/main.exe
>             3126 bytes in ROM
>               42 bytes in RAM
> msp430-objcopy --output-target=ihex build/tinynode/main.exe
> build/tinynode/main.ihex
>     writing TOS image
> cp build/tinynode/main.ihex build/tinynode/main.ihex.out
>     found mote on /dev/ttyUSB0 (using bsl,auto)
>     installing tinynode binary using bsl
> tos-bsl --telos -c /dev/ttyUSB0 -r -e -I -p build/tinynode/main.ihex.out
> MSP430 Bootstrap Loader Version: 1.39-telos-8
> Mass Erase...
>
> An error occoured:
> Timeout
> make: *** [program] Error 1
>
> I know that the node is being detected because it throws a "no mote
> found" error if I physically unplug it. Does anyone have experience with
> programming a tinynode in this manner and know what I'm doing wrong?
>
> Thanks,
>
> -Shane
>
> _______________________________________________
> Tinyos-help mailing list
> Tinyos-help at Millennium.Berkeley.EDU
> https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>   



More information about the Tinyos-help mailing list