This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Timeout Error while Programming Tmote Sky with BSL 1.61 (Device ID f16c)


Hello,

I would like to program a Tmote Sky with Contiki-OS.

As an introduction I started with /examples/hello-world.

During programing I got an error like this(debug mode for more information is enabled):

deb64@debian-64:~/contiki/examples/hello-world$ make TARGET=sky hello-world.upload
msp430-objcopy hello-world.sky -O ihex hello-world.ihex
make IHEXFILE=hello-world.ihex sky-reset sky-upload
make[1]: Entering directory '/home/deb64/contiki/examples/hello-world'
make -k -j 20 sky-reset-sequence
make[2]: Entering directory '/home/deb64/contiki/examples/hello-world'
../../tools/sky/msp430-bsl-linux --telosb -c /dev/ttyUSB0 -r
MSP430 Bootstrap Loader Version: 1.39-telos-7
Use -h for help
Reset device ...
Done
make[2]: Leaving directory '/home/deb64/contiki/examples/hello-world'
make -j 20 sky-upload-sequence
make[2]: Entering directory '/home/deb64/contiki/examples/hello-world'
+++++ Erasing /dev/ttyUSB0
MSP430 Bootstrap Loader Version: 1.39-telos-7
Use -h for help
Mass Erase...
Transmit default password ...
+++++ Programming /dev/ttyUSB0
MSP430 Bootstrap Loader Version: 1.39-telos-7
Debug level set to 1
Python version: 2.7.9 (default, Mar  1 2015, 12:57:24) 
[GCC 4.9.2]
using serial port '/dev/ttyUSB0'
Actions ...
Invoking BSL...
Transmit default password ...
Autodetect successful: f16c -> F1x family
Current bootstrap loader version: 1.61 (Device ID: f16c)
Current bootstrap loader version: 0x0161
Changing baudrate to 38400 ...
TODO list:
   actionProgram
Program ...
  Program starting at 0x4000, 224 bytes ...
  Program starting at 0x40e0, 224 bytes ...
  Program starting at 0x41c0, 224 bytes ...
  Program starting at 0x42a0, 224 bytes ...
  Program starting at 0x4380, 224 bytes ...
  Program starting at 0x4460, 224 bytes ...
  Program starting at 0x4540, 224 bytes ...
  Program starting at 0x4620, 224 bytes ...
  Program starting at 0x4700, 224 bytes ...
  Program starting at 0x47e0, 224 bytes ...
  Program starting at 0x48c0, 224 bytes ...
  Program starting at 0x49a0, 224 bytes ...
  Program starting at 0x4a80, 224 bytes ...
  Program starting at 0x4b60, 224 bytes ...
  Program starting at 0x4c40, 224 bytes ...
Traceback (most recent call last):
  File "../../tools/sky/msp430-bsl-linux", line 1618, in <module>
    main()
  File "../../tools/sky/msp430-bsl-linux", line 1582, in main
    for f in todo: f()                          #work through todo list
  File "../../tools/sky/msp430-bsl-linux", line 1107, in actionProgram
    self.programData(self.data, self.ACTION_PROGRAM)
  File "../../tools/sky/msp430-bsl-linux", line 905, in programData
    self.programBlk(currentAddr, seg.data[pstart:pstart+length], action)
  File "../../tools/sky/msp430-bsl-linux", line 886, in programBlk
    self.bslTxRx(self.BSL_TXBLK, addr, len(blkout), blkout)
  File "../../tools/sky/msp430-bsl-linux", line 651, in bslTxRx
    rxFrame = self.comTxRx(cmd, dataOut, len(dataOut))  #Send frame
  File "../../tools/sky/msp430-bsl-linux", line 415, in comTxRx
    rxHeader, rxNum = self.comRxHeader()        #receive header
  File "../../tools/sky/msp430-bsl-linux", line 321, in comRxHeader
    if not hdr: raise BSLException("Timeout")
__main__.BSLException: Timeout
+++++ Resetting /dev/ttyUSB0
MSP430 Bootstrap Loader Version: 1.39-telos-7
Use -h for help
Reset device ...
Done
make[2]: Leaving directory '/home/deb64/contiki/examples/hello-world'
make[1]: Leaving directory '/home/deb64/contiki/examples/hello-world'
rm hello-world.ihex

**Attention** This is a public forum