Programming RFLink on Linux machines

About receivers, transmitters, transceivers, connections, antennas etc.

Moderators: rtenklooster, Voyager, BertB, Stuntteam

Post Reply
Message
Author
User avatar
Stuntteam
Site Beheer
Posts: 790
Joined: 27 Jan 2016, 16:46

Programming RFLink on Linux machines

#1 Post by Stuntteam » 09 Feb 2016, 17:20

Download AVRDude compatible with your OS.

Like from here: http://download.savannah.gnu.org/releases/avrdude/

Get the latest rflink.cpp.hex fro mthe RFLink firmware archive.

use the following command:
But before you do, make sure you select the correct serial port. by replacing the "serialport" part into something like "/dev/tty.xxx"

avrdude -p atmega2560 -c stk500v2 -P serialport -b 115200 -U flash:w:C:\rflink\RFLink.cpp.hex:i
-=# RFLink Gateway Development Team #=-
Introduction: http://www.nemcon.nl/blog2/
Generic Support forum: http://www.esp8266.nu/forum/viewforum.php?f=8

User avatar
costo
Normal user
Posts: 500
Joined: 21 Nov 2015, 15:03
Location: NL, zw-NB

Re: Programming RFLink on Linux machines

#2 Post by costo » 10 Feb 2016, 17:07

Thanks, great info.

Can the same recipe be used to program an ESPEasy bin file into the ESP8266 when OTA is not possible ?

Just a pity it has to be done on the commandline, much change to mistype a character.
I'm still looking for a tool that has a simple GUI.

Martinus

Re: Programming RFLink on Linux machines

#3 Post by Martinus » 10 Feb 2016, 17:43

costo wrote:Thanks, great info.
Can the same recipe be used to program an ESPEasy bin file into the ESP8266 when OTA is not possible ?
The avrdude is for AVR family chips, so this will not work for ESP. I think Arduino uses python stuff for this on Linux.

User avatar
costo
Normal user
Posts: 500
Joined: 21 Nov 2015, 15:03
Location: NL, zw-NB

Re: Programming RFLink on Linux machines

#4 Post by costo » 10 Feb 2016, 19:11

Martinus wrote:
costo wrote:Thanks, great info.
Can the same recipe be used to program an ESPEasy bin file into the ESP8266 when OTA is not possible ?
The avrdude is for AVR family chips, so this will not work for ESP. I think Arduino uses python stuff for this on Linux.
I have been struggling with python but could not make it work on Linux mint-17 (maybe I should try harder ;) . )
So until I have my linux fixed for python I have to use Windows and use the flash tool delivered together with the ESPEasy bin files.
That works fantastic, just the rebooting stuff Linux > Windows > Linux is not ideal.

Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests