Page 1 of 4
How to update RFLink firmware
Posted: Saturday 12 September 2015 9:24
by Stuntteam
This topic describes an easy method to update the firmware of the RFLink.
Using the RFLink Loader tool:
- Download the latest firmware package from
http://sourceforge.net/projects/rflink/ ... urce=files
- Connect the Arduino Mega to a USB port.
- Unpack the zip file to a directory
- Launch the RFLInkLoader.exe program
- Select the file you want to program (which will be the included "rflink.cpp.hex" file)
- Select the serial (USB) port to which the Arduino is connected.
- Hit the "Program" button and wait for the process to finish.
Thats all..
We will try to add firmware updating functionality to Domoticz..
Re: How to update RFLink firmware
Posted: Sunday 13 September 2015 11:10
by oopee
Remember that you have to install Arduino usb drivers to get Windows to recognize Arduino board and assign COM port. After that you can use the RFLinkLoader. Drivers are part of the Arduino software package
https://www.arduino.cc/en/Main/Software.
Re: How to update RFLink firmware
Posted: Monday 14 September 2015 14:12
by oopee
And remember to replace /dev/ttyUSB0 with whatever port RFLink is using in your system

Re: How to update RFLink firmware
Posted: Wednesday 16 September 2015 12:32
by remb0
so it's possible to make an sh script.
and make script executable
then a virtual switch which fire that script.
nice

Re: How to update RFLink firmware
Posted: Wednesday 16 September 2015 13:44
by Stuntteam
Yes, my rflink loader tool is also using avrdude..
Re: How to update RFLink firmware
Posted: Sunday 20 September 2015 14:00
by h143
can you explane how you do that?
Re: How to update RFLink firmware
Posted: Monday 28 September 2015 19:59
by Dlanor
Stuntteam wrote:This topic describes an easy method to update the firmware of the RFLink.
Thats all..
It works perfectly. Thanks!

Re: How to update RFLink firmware
Posted: Saturday 24 October 2015 10:15
by Derik
Great hardware the RFlink
Perhaps a option to upgrade the RFlink like the RFXcom..
Re: How to update RFLink firmware
Posted: Friday 01 January 2016 16:10
by L2v2P
On OS X you can do it as follows:
- Download the Arduino App from https://www.arduino.cc and install it.
- Open a terminal session.
- From the directory where the Arduino App is located run the commands below whereby replacing /dev/cu.usbmodem411 and RFLink_v1-2/RFLink.cpp.hex with your own values.
Code: Select all
Arduino.app/Contents/Java/hardware/tools/avr/bin/avrdude -v -p atmega2560 -c stk500 -P /dev/cu.usbmodem411 -b 115200 -D -U flash:w:RFLink_v1-2/RFLink.cpp.hex:i -C Arduino.app/Contents/Java/hardware/tools/avr/etc/avrdude.conf
Re: How to update RFLink firmware
Posted: Saturday 02 January 2016 10:58
by remb0
i got now:
avrdude -v -p atmega2560 -c stk500 -P /dev/ACM0 -b 115200 -D -U flash:w:/home/pi/RFLink.cpp.hex:i
Code: Select all
Programmer Type : STK500V2
Description : Atmel STK500
Programmer Model: Unknown
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer
Re: How to update RFLink firmware
Posted: Saturday 02 January 2016 12:54
by Stuntteam
Why the -D ?
Re: How to update RFLink firmware
Posted: Saturday 02 January 2016 14:02
by NietGiftig
Do you have to stop Domoticz that is using Rflink?
Re: How to update RFLink firmware
Posted: Wednesday 06 January 2016 12:06
by Maarten112
Hi Guys,
I'm a new Domoticz and RFLink user since a week now....Thanks for all the great work on both the RFLink hardware and Software. So far it's working great, despite the fact that i'm living in a heavily 433MHz crowded location.
Firmware updating is plain simple for everyone that has ever worked with arduino:)
Re: How to update RFLink firmware
Posted: Wednesday 13 January 2016 20:54
by peerkersezuuker
Hi,
Same message as remb0.
So updated with my windows machine, would be nice indeed to have an working updater for linux/Pi
Re: How to update RFLink firmware
Posted: Tuesday 16 February 2016 18:14
by rokib
hi,
can someone give me the link to latest beta firmware.
Re: How to update RFLink firmware
Posted: Tuesday 16 February 2016 22:20
by Derik
Re: How to update RFLink firmware
Posted: Wednesday 17 February 2016 8:55
by Stuntteam
He probably means Domoticz beta.. For Pi you can enable the betas under settings.
Re: How to update RFLink firmware
Posted: Thursday 25 February 2016 20:45
by jumbotroll
How to update RFLink on Synology NAS:
1. Download and install avrdude.spk for your synology from my server:
http://www.jadahl.com/synology/
2. Copy the newest RFLink.cpp.hex file to a folder on your NAS, for example /volume1/web
3. Go to Hardware settings in Domoticz and temporary disable (not delete) RFLink.
4. Telnet or ssh your NAS and type:
avrdude -v -p atmega2560 -c stk500 -P /dev/ttyUSB1 -b 115200 -D -U flash:w:/volume1/web/RFLink.cpp.hex:i
Remember to edit correct directory and USB port you using!
5. Go to Hardware settings in Domoticz and enable RFLink.
The end

Re: How to update RFLink firmware
Posted: Tuesday 15 March 2016 20:52
by Larsja
remb0 wrote:i got now:
avrdude -v -p atmega2560 -c stk500 -P /dev/ACM0 -b 115200 -D -U flash:w:/home/pi/RFLink.cpp.hex:i
Code: Select all
Programmer Type : STK500V2
Description : Atmel STK500
Programmer Model: Unknown
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer
Hi, did you find out about this remb0? Im getting the same problem.
My RFLink is just 2 meters away, but in near future, im gonna put it in a cabinet, and thus it would be sweet to update it via RPi and skip the usb to windows machine

Re: How to update RFLink firmware
Posted: Tuesday 15 March 2016 21:29
by remb0
no solution found and tested. I used USB that time. so stil trying (only it's not here but @ my brothers house.