Archive ·
old wiki · last edited February 2010
RUM Example
Building Instructions
USB Stick
From avr/GCC/rum directory: make TYPE=COORD PLATFORM=RAVENUSB IPV6LOWPAN=1 DEBUG=1 APP=0 SICSLOWPAN_CONF_FRAG=1
Raven Mega1284
From avr/GCC/rum directory: make TYPE=ROUTER PLATFORM=RAVEN IPV6LOWPAN=1 DEBUG=1 APP=HTTPC SERIAL=1 IPV6_STACK=STACK_UIP DYNAMIC_SERIAL=1 UIP_CONF_TCP=1 SICSLOWPAN_CONF_FRAG=1
Result: rum_raven_m1284.hex
Also the 3290 can be programmed: rum_raven_m3290.hex
Java Applet
Instructions
- Plug in RavenUSB
- Wait for Windows to detect it, if prompted use this INF file: CompositeAtmelRNDIS.inf
- Run AtUsbHidGui.jar file from Java applet .ZIP
- Press “Connect” Button
- Wait a 5-10 seconds - you should see fields start to populate in the Java applet. Such as operating channel, mode, etc.
- Press “Enable Comm” to connect to debug port
- Type ‘i’ into the lower window of the debug port, see some dumped information
- Wait for IPv6 address assignment. This is done when both 6LoWPAN Addr & Ethernet Addr show some useful value (ie: NOT fe80)
- Power up Raven end node, should see “Associated node 1 Hops = 1”
- Press ’t’ into the lower window of the debug port. You should see a table, including the IPv6 address of end nodes. Highlight the global address of the end node, and press Ctrl-C to copy address to the clip board
- Go to a command line, then ping6 the address. You can just type ‘ping6’ then a space, then right-click and hit ‘Paste’. This ensures you don’t introduce typos into the address!
- Try telneting to the node too, with for example “telnet 2001:470:f13c:100:f99f:ff:fe00:1”. Press ‘i’ and hit enter for info etc. Press Ctrl-C to quit telnet, you might have to hit enter after the Ctrl-C.
Notes:
- The global address it the one not starting with fe80
- The first ping will always fail.
- You can also ping6 the two addresses of the USB stick.