User Manual
Version 1.1
2011-07-15
deRFnode and deRFgateway
dresden elektronik
ingenieurtechnik gmbh
Enno-Heidebroek-Str. 12
12 7 Dr
n
rm  n
Tel.: +49 351 31 85 00
Fax: +49 351 3 18 50 10
wireless@dresden-elektronik.de
www. r
n- l k r nik.
Page 3 of 56
9.   Programming ................................................................................................................. 38
9.1. Requirements (HW/SW) ....................................................................................... 38
9.1.1. Source code and compiler toolchain ......................................................... 38
9.1.2. JTAG programming and adapter selection ................................................ 38
9.1.3. JTAG programming software .................................................................... 38
9.2. AVR based radio modules over JTAG .................................................................. 39
9.3. ARM based radio modules over JTAG .................................................................. 41
9.4. Software programming model ............................................................................... 42
9.4.1. Enabling the reset supervisor .................................................................... 42
9.4.2. Initialize and use I2C devices .................................................................... 42
9.4.3. Using the USB interface ............................................................................ 44
9.4.4. Measuring the battery voltage ................................................................... 45
9.4.5. Accessing the external flash ...................................................................... 47
9.4.6. Initialize and use the Ethernet transceiver ................................................. 48
9.4.7. Minimize device power consumption ......................................................... 49
10. Ordering information ...................................................................................................... 52
11. Revision notes ............................................................................................................... 53