boards/avr-rss2/doc.md
@defgroup boards_avr-rss2 Atmega256RFR2 rss2 @ingroup boards @brief Support for the Radio Sensors Atmega256RFR2 rss2 board
Document version V1.4 2019-11-10
Board is based AtMega256RFR2 with additional HW, EUI64 chip, HW comparator, RTC XTAL, BME280
$(RIOTBASE)/boards/avr-rss2The board has one USART via the 6-pin TTL-USB adapter, The default baudrate is 115200 bps. It's possible to use higher speeds as is 250k and 500k baud which gives 0% Error with 16MHz clock. (An additional USART is on the chip but as default used by interrupt pins. Needs HW mod to be used)
The Atmel toolchain is available in most operating systems. For a full toolchain and easy installation on Ubuntu:
apt-get install gcc-avr avr-libc avrdude
Otherwise if OS toolchain packages do not support the AtMega256RfR2 MCU, another option is to download the C compiler toolchain from Microchip.
/usr/local.bashrc:export PATH=$PATH:/usr/local/avr8-gnu-toolchain-linux_x86_64/bin (64-bit)
export PATH=$PATH:/usr/local/avr8-gnu-toolchain-linux_x86/bin (32-bit)
avrdude. On Ubuntu Linux, it can be installed with the commandapt-get install avrdude
For MacOS, there is a HomeBrewpackage that can be installed with the command:
brew install avrdude
make BOARD=avr-rss2
Programming using avrdude using serial bootloader using a TTL-USB cable. Press the RESET button. The bootloader with wait for boot commands for 3 seconds. Program with:
avrdude -p m256rfr2 -c stk500v2 -P /dev/ttyUSB0 -b 115200 -e -U flash:w:bin/rss2-mega256rfr2/hello-world.elf
Summary: CE approved Radio Equipment Directive (RED) 2014/53/EU Rev 2.4
Through vendor and though resellers. Note board is will only available were CE approval is covered. This may be further restricted by WEEE. Contact vendor. For research legislation is more relaxed in most countries.