Whichversions of TinyOS and msp430-gcc are you running?

Regards,
Saeid.
www.eetutorials.com

On 18-2-2013 4:13 PM, quentin strydom wrote:
I tried both and still the same, 3 different TelosB motes and 4 different usb ports. Added Debug output follows:

MSP430 Bootstrap Loader Version: 1.39-telos-8
Debug level set to 1
Python version: 2.7 (r27:82500, Sep 16 2010, 18:03:06)
[GCC 4.5.1 20100907 (Red Hat 4.5.1-3)]
using serial port '/dev/ttyUSB0'
Preparing device ...
Mass Erase...
Transmit default password ...
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, 184 bytes ...
  Program starting at 0xffe0, 32 bytes ...
Traceback (most recent call last):
  File "/usr/bin/tos-bsl", line 1619, in <module>
    main()
  File "/usr/bin/tos-bsl", line 1583, in main
    for f in todo: f()                          #work through todo list
  File "/usr/bin/tos-bsl", line 1108, in actionProgram
    self.programData(self.data, self.ACTION_PROGRAM)
  File "/usr/bin/tos-bsl", line 906, in programData
    self.programBlk(currentAddr, seg.data[pstart:pstart+length], action)
  File "/usr/bin/tos-bsl", line 887, in programBlk
    self.bslTxRx(self.BSL_TXBLK, addr, len(blkout), blkout)
  File "/usr/bin/tos-bsl", line 652, in bslTxRx
    rxFrame = self.comTxRx(cmd, dataOut, len(dataOut))  #Send frame
  File "/usr/bin/tos-bsl", line 438, in comTxRx
    raise BSLException("Unknown header 0x%02x\nAre you downloading to RAM into an old device that requires the patch? Try option -U" % rxHeader)
__main__.BSLException: Unknown header 0xf0
Are you downloading to RAM into an old device that requires the patch? Try option -U




From: Saeid Yazdani <[email protected]>
To: [email protected]
Sent: Monday, 18 February 2013, 14:54
Subject: Re: [Tinyos-help] Problems programming TelosB

Hmmm, looks like a hardware problem, have you tried with another telosb mote and/or another USB portor system?

Regards,
Saeid.
www.eetutorials.com

On 18-2-2013 3:19 PM, quentin strydom wrote:
Hi,

I'm having problems programming the TelosB. Can anyone help?

Thanks

Output as Follow:


$ make telosb install,bsl

mkdir -p build/telosb
    compiling BlinkAppC to a telosb binary
ncc -o build/telosb/main.exe  -Os -O -mdisable-hwmul -fnesc-separator=__ -Wall -Wshadow -Wnesc-all -target=telosb -fnesc-cfile=build/telosb/app.c -board= -DDEFINED_TOS_AM_GROUP=0x22 -DIDENT_APPNAME=\"BlinkAppC\" -DIDENT_USERNAME=\"qstrydom\" -DIDENT_HOSTNAME=\"Quentin-PC\" -DIDENT_USERHASH=0x4acc32a1L -DIDENT_TIMESTAMP=0x5122382fL -DIDENT_UIDHASH=0x864dcb78L  BlinkAppC.nc -lm
    compiled BlinkAppC to build/telosb/main.exe
            2648 bytes in ROM
              54 bytes in RAM
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-bsl TOS_NODE_ID=bsl ActiveMessageAddressC__addr=bsl
Could not find symbol ActiveMessageAddressC__addr in build/telosb/main.exe, ignoring symbol.
Could not find symbol TOS_NODE_ID in build/telosb/main.exe, ignoring symbol.
    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-bsl
MSP430 Bootstrap Loader Version: 1.39-telos-8
Mass Erase...

An error occoured:
Timeout
make: *** [program] Error 1



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


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



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

Reply via email to