Difference between revisions of "Dresden Elektronik Radio Modules"

From ATI public wiki
Jump to: navigation, search
 
Line 19: Line 19:
 
* [[Known problems/bugs and Workarounds]]
 
* [[Known problems/bugs and Workarounds]]
 
|}
 
|}
 
 
 
=Setting up Working Environment=
 
Dresden Elektronik radio modules are designed to work with a special software stack developed by Dresden Elektronik and Atmel. In order to use this stack, the working environment and the toolchain need to be configured properly.
 
 
This section tries to provide some information on how to set up the environment in order to work with the modules.
 
 
==Setting up Toolchain==
 
In order to work with the modules, two toolchains are needed - one for compiling and flashing AVR modules and one for ARM modules.
 
 
===AVR===
 
The AVR toolchain consists of following components:
 
* '''avr-binutils:''' linker, assembler, etc for the AVR platform
 
* '''avr-gcc:''' the GNU C cross-compiler for the AVR platform
 
* '''avr-libc:''' C libraries and header files for the AVR platform
 
* '''avrdude:''' for uploading the code to the chip
 
 
====Microsoft Windows====
 
In Windows installing of the AVR toolchain is quite easy. All that is needed is to download and install [http://winavr.sourceforge.net/download.html WinAVR] (or [http://www.atmel.com/tools/atmelstudio.aspx Atmel Studio]).
 
 
'''Note:''' Atmel stopped developing WinAVR as a separate entity in 2010 and it is now distributed as a component of the Atmel Studio package. Although the last (2010) seperate version is still available for download, it does not support the newer ATmega256RFR2 controller. For users who do not want to download and install the entire Atmel Studio package, a newer, seperate WinAVR, extracted from the Atmel Studio package is available [https://strudel.pld.ttu.ee/owncloud/public.php?service=files&t=ad6e40949ec8e6ffc63d8ab077e99f26 here].
 
 
 
==Setting up IDE==
 
The recommended IDE for usage with the Dresden Elektronik software stack is Eclipse for C/C++ Developers. It can be downloaded for free from [http://www.eclipse.org/downloads/ here].
 
 
After installing Eclipse, a new project containing the Dresden Elektronik communication stack can be created by following the next steps:
 
# File -> New -> Makefile Project with Existing Code
 
# For Existing Code Location, select the path to the toplevel folder of the stack, leave other settings to default and click Finish.
 

Latest revision as of 18:39, 8 July 2015

The purpose of this wiki is to provide documentation about Dresden Elektronik 6LoWPAN radio / MCU modules and all hardware and software solutions related to them, including the MAC / 6LoWPAN stack. By providing explanations, tutorials, and proven solutions to some of the more common problems that one may encounter while working with these modules, hopefully the wiki is able to speed up the development process as the reader do not have to repeat other people's mistakes.