This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
lab10 [2016/01/12 14:20] dan.tudose [Running] |
lab10 [2018/01/25 19:03] (current) narcisa_ana.vasile [Building] |
||
|---|---|---|---|
| Line 5: | Line 5: | ||
| SLIP is the " | SLIP is the " | ||
| - | Contiki uses SLIP to bridge the wireless IPv6 network onto a PC via a USB connection. So with your Zigduino | + | Contiki uses SLIP to bridge the wireless IPv6 network onto a PC via a USB connection. So with your Sparrow |
| - | On Zigduino, there is only one UART exposed. This means we have to choose between reading debug messages and connecting to our PC via SLIP. This change is exposed by adding " | + | On Sparrow, there is only one UART exposed. This means we have to choose between reading debug messages and connecting to our PC via SLIP. This change is exposed by adding " |
| - | Speaking of the PC side... In order for SLIP to work, something on the host PC has to be listening. Using Instant Contiki, the ' | + | Speaking of the PC side... In order for SLIP to work, something on the host PC has to be listening. Using Instant Contiki, the ' |
| ===== Building ===== | ===== Building ===== | ||
| Line 22: | Line 22: | ||
| < | < | ||
| $ cd examples/ | $ cd examples/ | ||
| - | $ make TARGET=avr-zigduino | + | $ make TARGET=sparrow |
| $ make WITH_SLIP=1 WITH_WEBSERVER=0 -j10 | $ make WITH_SLIP=1 WITH_WEBSERVER=0 -j10 | ||
| $ make upload AVRDUDE_PORT=/ | $ make upload AVRDUDE_PORT=/ | ||
| Line 55: | Line 55: | ||
| fdfd:: | fdfd:: | ||
| - | It's helpful that tunslip6 is putting through the debug messages from the Zigduino. So we can see the boot-up process complete successfully. | + | It's helpful that tunslip6 is putting through the debug messages from the Sparrow. So we can see the boot-up process complete successfully. |
| ===== Ping ===== | ===== Ping ===== | ||
| Line 81: | Line 81: | ||
| < | < | ||
| - | $ make TARGET=avr-zigduino | + | $ make TARGET=sparrow |
| - | $ make udp-sender.avr-zigduino.u AVRDUDE_PORT=/ | + | $ make udp-sender.sparrow.u AVRDUDE_PORT=/ |
| Now see that we can ping it ok: | Now see that we can ping it ok: | ||
| Line 99: | Line 99: | ||
| < | < | ||
| - | $ make TARGET=avr-zigduino | + | $ make TARGET=sparrow |
| $ make upload WITH_WEBSERVER=0 WITH_SLIP=1 AVRDUDE_PORT=/ | $ make upload WITH_WEBSERVER=0 WITH_SLIP=1 AVRDUDE_PORT=/ | ||
| $ cd examples/ | $ cd examples/ | ||
| - | $ make TARGET=avr-zigduino | + | $ make TARGET=sparrow |
| $ make WITH_WEBSERVER=webserver-nano -j10 | $ make WITH_WEBSERVER=webserver-nano -j10 | ||
| $ make upload login WITH_WEBSERVER=webserver-nano AVRDUDE_PORT=/ | $ make upload login WITH_WEBSERVER=webserver-nano AVRDUDE_PORT=/ | ||