Hi,

Does anyone know which file format the TMote Connect expects as input?
I tried to execute this line many times and every time I get the same error message:

/opt/tinyos-1.x/tools/make/msp/netbsl 192.168.5.150:10002 build/telosb/main.ihex.out-2 --telosb -r -I -p

after changing the main.hex.out-2 (dos2unix, deleting the last new lines,...)

Now the TCP stream looks like this, the last line has two linefeeds:

msp430 -bsl --telosb -r -I -p<0x0A>
:{followed by 42 hex digits}<0x0A>
....
:{followed by 10 hex digits}<0x0A><0x0A>

But my TMote Connect keeps responding with:

Using mote  on port /dev/ttyUSB1.

and

Error, bad file format

Thanks,

Bart




Bart Jooris wrote:

Hi all,

On Wed May 30 there was already a response of Joe Palastre about this issue. http://mail.millennium.berkeley.edu/pipermail/tinyos-help/2007-May/025361.html

These are my steps in Xubuntos after a tos1 as root
-make telosb
-make telosb reinstall,1 bsl,/dev/ttyUSB0
-make telosb reinstall,1 netbsl,192.168.5.150:10002

Step 1 and 2 are ok but step 3 ends with:

installing telosb binary using netbsl (without mass erase)
/opt/tinyos-1.x/tools/make/msp/netbsl 10.10.19.22:10001 build/telosb/main.ihex.out-1 --telosb -r -I -p
Using mote  on port /dev/ttyUSB0.
Error, bad file format
rm -f build/telosb/main.exe.out-1 build/telosb/main.ihex.out-1



I should expect that bsl and netbsl are using the same files in build/telosb, why are the files ok for bsl but not for netbsl?

I checked the versions of netbsl and netbsl.extra and they are equal compared with the latest versions on the cvs.

Thanks,

Bart
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to