|
|
| | <p>compile the project</p> | | <p>compile the project</p> |
| | <pre>user@instant-contiki:~/contiki-2.7/examples/mySky-shell$ make TARGET=sky mySky-shell.upload savetarget</pre> | | <pre>user@instant-contiki:~/contiki-2.7/examples/mySky-shell$ make TARGET=sky mySky-shell.upload savetarget</pre> |
| | + | <p>After successful compilation, you will see the following messages on the command prompt</p> |
| | + | <pre>user@instant-contiki:~/contiki-2.7/examples/mySky-shell$ make TARGET=sky mySky-shell.upload savetarget |
| | + | msp430-objcopy mySky-shell.sky -O ihex mySky-shell.ihex |
| | + | make IHEXFILE=mySky-shell.ihex sky-reset sky-upload |
| | + | make[1]: Entering directory `/home/user/contiki-2.7/examples/mySky-shell' |
| | + | make -k -j 20 sky-reset-sequence |
| | + | make[2]: Entering directory `/home/user/contiki-2.7/examples/mySky-shell' |
| | + | ../../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/user/contiki-2.7/examples/mySky-shell' |
| | + | make -j 20 sky-upload-sequence |
| | + | make[2]: Entering directory `/home/user/contiki-2.7/examples/mySky-shell' |
| | + | +++++ 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 ... |
| | + | 46214 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/user/contiki-2.7/examples/mySky-shell' |
| | + | make[1]: Leaving directory `/home/user/contiki-2.7/examples/mySky-shell' |
| | + | saving Makefile.target |
| | + | rm mySky-shell.ihex |
| | + | user@instant-contiki:~/contiki-2.7/examples/mySky-shell$</pre> |
| | + | <p>Login in to the mote using the following command</p> |
| | <pre>make login</pre> | | <pre>make login</pre> |
Exception encountered, of type "Error"