使用 TinyOS 编程 mote 时出错(Ubuntu 18.04)

使用 TinyOS 编程 mote 时出错(Ubuntu 18.04)

我正在使用命令 telosb 对 MSP-430 微尘进行编程。我遇到了以下错误:

root@andrea-VirtualBox:/etc/apt/sources.list.d/tinyos-main/apps/Blink# make telosb reinstall bsl,/dev/ttyUSB0
cp build/telosb/main.ihex build/telosb/main.ihex.out
    installing telosb binary using bsl
tos-bsl --telosb -c /dev/ttyUSB0 -r -e -I -p
build/telosb/main.ihex.out
MSP430 Bootstrap Loader Version: 1.39-goodfet-8
Mass Erase...
MSP430 Bootstrap Loader Version: 1.39-goodfet-8<br>
Mass Erase...<br>
Traceback (most recent call last):
  File "/home/andrea/local/bin/tos-bsl", line 1918, in <module>
    main(0);
  File "/home/andrea/local/bin/tos-bsl", line 1833, in main
    for f in toinit: f()
  File "/home/andrea/local/bin/tos-bsl", line 1098, in actionMassErase
    0xa506)             #Required setting for mass erase!
  File "/home/andrea/local/bin/tos-bsl", line 758, in bslTxRx
    rxFrame = self.comTxRx(cmd, dataOut, len(dataOut))  #Send frame
  File "/home/andrea/local/bin/tos-bsl", line 440, in comTxRx
    rxHeader, rxNum = self.comRxHeader()       #receive header
  File "/home/andrea/local/bin/tos-bsl", line 346, in comRxHeader
    if not hdr: raise BSLException("Timeout")
__main__.BSLException: Timeout
/etc/apt/sources.list.d/tinyos-main/support/make/msp /bsl.extra:45: recipe for target 'program' failed
make: *** [program] Error 1 

我该如何解决这个问题?
我花了好几天的时间 :(

相关内容