Atmel AVR2070 - Manual

Atmel AVR2070

Atmel AVR2070 – Manual, read for free online in PDF format. We hope this helps you resolve any issues you may have. If you have further questions, please contact us through the contact form.

1 Page 1
2 Page 2
3 Page 3
4 Page 4
5 Page 5
6 Page 6
7 Page 7
8 Page 8
9 Page 9
10 Page 10
11 Page 11
12 Page 12
13 Page 13
14 Page 14
15 Page 15
16 Page 16
17 Page 17
18 Page 18
19 Page 19
20 Page 20
21 Page 21
22 Page 22
23 Page 23
24 Page 24
25 Page 25
26 Page 26
27 Page 27
28 Page 28
29 Page 29
30 Page 30
31 Page 31
32 Page 32
33 Page 33
34 Page 34
35 Page 35
36 Page 36
37 Page 37
38 Page 38
39 Page 39
40 Page 40
41 Page 41
42 Page 42
43 Page 43
44 Page 44
45 Page 45
46 Page 46
47 Page 47
48 Page 48
49 Page 49
50 Page 50
51 Page 51
52 Page 52
53 Page 53
54 Page 54
55 Page 55
56 Page 56
57 Page 57
58 Page 58
59 Page 59
60 Page 60
61 Page 61
62 Page 62
63 Page 63
64 Page 64
65 Page 65
66 Page 66
67 Page 67
68 Page 68
69 Page 69
70 Page 70
71 Page 71
72 Page 72
73 Page 73
74 Page 74
75 Page 75
76 Page 76
77 Page 77
78 Page 78
79 Page 79
80 Page 80
81 Page 81
82 Page 82
83 Page 83
84 Page 84
85 Page 85
86 Page 86
87 Page 87
88 Page 88
89 Page 89
90 Page 90
91 Page 91
92 Page 92
93 Page 93
Page: / 93

Table of Contents:

  • Page 2 – Stack Architecture; over; Figure 2-1 RUM Architecture
  • Page 3 – constructed; Figure 2-2 RUM Tree Topology Example; Appendix A contains a detailed description of the RUM protocol.; Overview of IPv6 and 6LoWPAN; or IPv6 addressable device
  • Page 4 – Supported Hardware Platforms
  • Page 6 – AVR RUM Quickstart; , or that a custom platform has been
  • Page 8 – Here is a list of available compile-time flags:; Table 3-1 Compile Time Flags
  • Page 10 – Table 3-2 Various Build Sizes for AVR and ARM; Raven
  • Page 11 – AT91SAM7X-EK RUM Quickstart; RUM
  • Page 13 – Figure 4-2-1 Microcontroller to Transceiver Connections; TRX Pin
  • Page 14 – Serial Interfaces; uTaskerAtmelVirtualCOM.inf
  • Page 15 – Network Interfaces; The ARM
  • Page 16 – JTAG adapter does not work for Linux based systems; Loading the Program; . Various methods to program the AT91SAM7X-
  • Page 17 – Simple Web Interface; folder
  • Page 19 – Figure 4-7-2 Simple Webserver Network Table; SD File Handling; please refer to the originators for comprehensive details.
  • Page 20 – Running the RUM Demo
  • Page 21 – Table 5-1 ARM Telnet Menu Commands; ASCII Command
  • Page 22 – Table 5-2 AVR Serial Menu Commands
  • Page 23 – Running the IPv6 Demo; . This is set by defining the IPV6LOWPAN macro to ‘1’ at build time; Network Table; Note
  • Page 24 – Then try to ping the node:
  • Page 25 – Windows users can find copies of netcat6.exe available online at
  • Page 26 – UDP Ports; Port; Tip; Command Description
  • Page 28 – Sensor App Example
  • Page 29 – TFTP Bootloading; for both Linux and
  • Page 30 – of a second. For example the following would set
  • Page 32 – A.4 Implementation Details; Figure A-4-1 Channel Scan Message Sequence
  • Page 33 – Figure A-4-2 Direct Association Message Sequence
  • Page 35 – When the coordinator starts, it performs the following actions:
  • Page 36 – The destination node must be more than two hops away from the; A.5 Examples of network operation
  • Page 38 – A.5.2 Example 2 – Router R1 connects to Coordinator C
  • Page 40 – A.5.5 Example 5 – End node E2 connects to network
  • Page 43 – Appendix B - Firmware API Overview; B.1 Program Organization; foreground
  • Page 45 – Figure B-2 appInit overview
  • Page 46 – Figure B-3 macTask overview
  • Page 47 – Figure B-4 macDataIndication overview
  • Page 48 – Figure B-5 Frame routing overview
  • Page 49 – Figure B-6 Radio ISR overview
  • Page 52 – sixlowpan_DataIndication
  • Page 53 – Figure B-7 AVR 6LoWPAN DataIndication
  • Page 54 – Figure B-8 ARM 6LoWPAN DataIndication; B.4 Writing a Custom Application Using RUM; Make sure the hardware is compatible with RUM.
  • Page 58 – B.4.4 Step 4: Verify that the RUM network is working on the hardware; enabled by setting the DEBUG flag to one,
  • Page 59 – C.3 6LoWPAN to the Rescue; across; Lo; power; C.4 A Crash Course in IPv6
  • Page 61 – Node sends a neighbor advertisement, advertising it has address
  • Page 62 – baad
  • Page 63 – UDP Header compression is supported by this implementation.; C.6 6LoWPAN Compressed Header
  • Page 65 – Appendix D - AT91SAM7X-EK Development Tools; uTasker can be compiled in a number of different environments: IAR; Crossworks and Eclipse; (with gcc). The discussion that follows here is based on the; D.1 Folder Structure; . The RUM specific source is located in the; Figure D-1-1 RUM Source and uTasker Support Download
  • Page 66 – Figure D-1-3 uTasker and RUM Integrated Folder Structure; D.2 Rowley Crossworks IDE
  • Page 67 – \Rowley RUM Project File
  • Page 68 – Not needed for SAM7X
  • Page 70 – Erase
  • Page 71 – Figure D-3-1 Eclipse Workspace Selection; In this example they are stored in the
  • Page 72 – figure D-3-4 Eclipse Import Selection Screen
  • Page 73 – Figure D-3-5 Eclipse Import Project Screen; Project Explorer
  • Page 74 – Figure D-3-6 uTasker Project Properties Compiler Setting
  • Page 75 – and; Figure D-3-7 uTasker Project Properties Binary Parser
  • Page 77 – . Ensure the “None” and
  • Page 79 – Clear the line that says “GDB command file”:
  • Page 80 – Note the following lines are commented out:
  • Page 81 – Figure D-3-15 Eclipse Debug Perspective
  • Page 84 – Table E-1 Signal Connections
  • Page 86 – 00 development board.
  • Page 87 – E.6 Compile Time Settings; Table E-2 Compile Time Options; RCB and REB based platforms:
  • Page 88 – Glossary
  • Page 90 – Table of Contents
  • Page 93 – Disclaimer; Headquarters
Loading the manual


AVR2070: Route Under MAC (RUM) with IPv6

and 6LoWPAN

Features

A FREE 802.15.4 networking solution

-

Multi-hop Route Under MAC (RUM)

-

All Atmel IEEE 802.15.4

TM

transceivers supported

-

Many AVR

®

microcontrollers supported

Completely Customizable Firmware

-

Ready to use as the basis for a wireless product

-

Standalone MAC data layer for small memory footprint

-

Optional IPv6/6LoWPAN Interface layer provides worldwide wireless
connectivity over the IPv6 internet

1 Introduction

Wireless Sensor Networks (WSN) have become a low power, low cost means for
communicating data between sensor devices dispersed over an area. Many of
these applications call for small embedded wireless networking solutions to
substantially reduce the cost of all required components. Atmel

®

’s Route Under

MAC (RUM) with support for IPv6 and 6LoWPAN is a highly flexible stack solution
for these low cost applications. Providing Internet Protocol (IP) over low power, low
data rate wireless transceivers enables immediate interoperability with existing
wired networks. With an IPv6 foundation, each wireless node on the network can
be given a worldwide unique IPv6 address and directly communicate with any other
IPv6 device in the world without the need for any translation or a complex gateway.

Free to Atmel customers, the Atmel RUM/6LoWPAN networking stack proves to be
a ready and cost-effective solution for Wireless Sensor Networks.

MCU Wireless
Solutions

Application Note


Rev. 8240B-AVR-06/09

"Loading the manual" means you need to wait until the file loads and becomes available for online reading. Some manuals are very large, and the time they take to appear depends on your internet speed.

Summary

Page 2 - Stack Architecture; over; Figure 2-1 RUM Architecture

2 AVR2070 8240B-AVR-06/09 2 Stack Architecture Route Under Mac (RUM) is a small 802.15.4 protocol developed by Atmel. This protocol routes packets at the MAC layer, as opposed to the application or IPv6 layer, which would be a route over scheme. The under comes from the fact that routing is done at ...

Page 3 - constructed; Figure 2-2 RUM Tree Topology Example; Appendix A contains a detailed description of the RUM protocol.; Overview of IPv6 and 6LoWPAN; or IPv6 addressable device

AVR2070 3 8240B-AVR-06/09 2.1 Overview of RUM A RUM network is constructed around a coordinator. The coordinator is the only node that keeps any state information about the network, so that the other nodes do not have to store any network information. This allows for low cost hardware for both route...

Page 4 - Supported Hardware Platforms

4 AVR2070 8240B-AVR-06/09 2.3 Supported Hardware Platforms The RUM software distributed with this application note can run on a variety of platforms. The PLATFORM keyword defines several parameters about a board. An example of these parameters is: • Which microcontroller is present on the platform b...

Other Atmel Models

All Atmel Other