I occasionally have the same problem.
I don't have a fix, but I have found that it is an intermittent issue - just keep trying to install and eventually it will work. Sometimes it can take 10-20 attempts, sometimes it works the first time. Also try unplugging other USB devices - I have no idea if this actually helps but I found that unplugging my laptop's ethernet USB dongle seemed to help a bit, but that may just be my imagination! I think it is a strange timing issue with the serial connection but never got to the bottom of it. I've noticed the problem occurs more often the larger the program is. Hope that helps James ________________________________ From: [email protected] <[email protected]> on behalf of Kriti Bhargava <[email protected]> Sent: 22 February 2017 11:25:43 To: [email protected] Subject: [Tinyos-help] Bootstrap loader synchronization error Hi, I am working on a code for Telosb motes. My code was able to install on the devices with no issues earlier. However, lately, I have been getting the following error after compilation and I am unable to install the code on the device. Kindly advise what I can do to fix it. Thanks and regards, ERROR TRACE: msp430-objcopy --output-target=ihex build/telosb/main.exe build/telosb/main.ihex writing TOS image tos-set-symbols --objcopy msp430-objcopy --objdump msp430-objdump --target ihex build/telosb/main.ihex build/telosb/main.ihex.out-2 TOS_NODE_ID=2 ActiveMessageAddressC__addr=2 found mote on /dev/ttyUSB0 (using bsl,auto) installing telosb binary using bsl tos-bsl --telosb -c /dev/ttyUSB0 -r -e -I -p build/telosb/main.ihex.out-2 MSP430 Bootstrap Loader Version: 1.39-goodfet-8 Mass Erase... Transmit default password ... Invoking BSL... Transmit default password ... Current bootstrap loader version: 1.61 (Device ID: f16c) Changing baudrate to 38400 ... Program ... MSP430 Bootstrap Loader Version: 1.39-goodfet-8 Mass Erase... Traceback (most recent call last): File "/usr/bin/tos-bsl", line 1918, in <module> main(0); File "/usr/bin/tos-bsl", line 1833, in main for f in toinit: f() File "/usr/bin/tos-bsl", line 1098, in actionMassErase 0xa506) #Required setting for mass erase! File "/usr/bin/tos-bsl", line 757, in bslTxRx self.bslSync(wait) #synchronize BSL File "/usr/bin/tos-bsl", line 716, in bslSync raise BSLException(self.ERR_BSL_SYNC) #Sync. failed __main__.BSLException: Bootstrap loader synchronization error make: *** [program] Error 1 -- Kriti Bhargava PhD Student DM&SC, TSSG Telecommunications Software & Systems Group (TSSG), ArcLabs Research and Innovation Building, Waterford Institute of Technology, Carriganore Campus, Carriganore, Co. Waterford, Ireland E-mail: [email protected]<mailto:[email protected]> www.tssg.org<http://www.tssg.org> [TSSG Signature]<http://www.tssg.org>
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
