|
From: Monali M. <mon...@gm...> - 2017-03-28 04:53:19
|
Hi
I am unable to upload hello-world program on sky mote coonected to ttyUSB0
Following are the outputs of some commands I tried.
Can anyone help?
Ubuntu is 14.04 -64 bit.
*make hello-world.upload TARGET=sky*
output:
fatal: Not a git repository: '../../.git'
msp430-objcopy hello-world.sky -O ihex hello-world.ihex
make IHEXFILE=hello-world.ihex sky-reset sky-upload
fatal: Not a git repository: '../../.git'
make[1]: Entering directory
`/home/monali/contiki-3.0-1/examples/hello-world'
make -k -j 20 sky-reset-sequence
fatal: Not a git repository: '../../.git'
make[2]: Entering directory
`/home/monali/contiki-3.0-1/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/monali/contiki-3.0-1/examples/hello-world'
make -j 20 sky-upload-sequence
fatal: Not a git repository: '../../.git'
make[2]: Entering directory
`/home/monali/contiki-3.0-1/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
Invoking BSL...
Transmit default password ...
Current bootstrap loader version: 1.61 (Device ID: f16c)
Changing baudrate to 38400 ...
Program ...
46404 bytes programmed.
+++++ Resetting /dev/ttyUSB0
MSP430 Bootstrap Loader Version: 1.39-telos-7
Use -h for help
Reset device ...
Done
make[2]: Leaving directory `/home/monali/contiki-3.0-1/examples/hello-world'
make[1]: Leaving directory `/home/monali/contiki-3.0-1/examples/hello-world'
rm hello-world.ihex
*sudo make login TARGET=sky*
*output:*
fatal: Not a git repository: '../../.git'
../../tools/sky/serialdump-linux -b115200 /dev/ttyUSB0
connecting to /dev/ttyUSB0 (115200)
open: Invalid argument
make: *** [login] Error 255
*./serialdump-linux -b115200 /dev/ttyUSB0output*connecting to /dev/ttyUSB0
(115200)
open: Invalid argument
*ldd serialdump-linux*
*output*
linux-vdso.so.1 => (0x00007ffea6de2000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f395f498000)
/lib64/ld-linux-x86-64.so.2 (0x00007f395f860000)
*file serialdump-linuxoutput*
serialdump-linux: ELF 64-bit LSB executable, x86-64, version 1 (SYSV),
dynamically linked (uses shared libs), for GNU/Linux 2.6.24,
BuildID[sha1]=3f33bdc56687e4593ff222dfd96f86d8ed5eb2fb, not stripped
Monali
|