Page 1 of 1
Update with Raspberry PI. (linux)
Posted: Friday 15 April 2016 11:49
by jossie67
Update with Raspberry PI.
Is it posssible to update RFlink with Raspberry PI?
Now I have to disconnect the RFlink, connect it to a windows PC and update.
It would be much easy when I can just update the RFlink in Linux
Re: Update with Raspberry PI. (linux)
Posted: Friday 15 April 2016 13:04
by MarcE85
Hey,
it is possible with Linux.
Commands:
- sudo service domoticz stop
- sudo apt-get install avrdude
- avrdude -v -p atmega2560 -c stk500 -P /dev/ttyUSB0 -b 115200 -D -U flash:w:/home/pi/RFLink.cpp.hex:i
- sudo service domoticz start
Just replace the
ttyUSB0 with your connection and
home/pi/RFLink.cpp.hex with your path to the file.
Regards Marc
Re: Update with Raspberry PI. (linux)
Posted: Friday 15 April 2016 13:19
by jossie67
Thanks!
Re: Update with Raspberry PI. (linux)
Posted: Monday 13 March 2017 11:18
by htca
I get this error:
Code: Select all
avrdude: stk500v2_ReceiveMessage(): timeout
tried different things, but it did not help (I managed to use this method on earlier versions btw)
This is the command I give:
Code: Select all
avrdude -v -p atmega2560 -c stk500 -P /dev/ttyUSB0 -b 115200 -D -U flash:w:/home/pi/rflink46/RFLink.ino.hex:i
I tried different tty's (ACM0) as well.
any clue?
Re: Update with Raspberry PI. (linux)
Posted: Monday 13 March 2017 13:25
by devros
on my Orangi pi adress is /dev/ttyACM0
sometimes its not working on first try, check if domoticz is stoped