Page 2 of 2

Re: Using Pistar to flash DVMEGA hat on a RPi

Posted: Fri Sep 28, 2018 9:45 am
by N8ODV
KE0FHS wrote:
Thu Sep 27, 2018 1:57 pm
Thanks for sharing your work figuring this out, Bruce!
No problems, I'm admittedly not the sharpest tool in the shed, but, I always figure knowledge is more valuable, the more you share it. If I can help someone else, it helps pay back for all the things I've learned from others.

Re: Using Pistar to flash DVMEGA hat on a RPi

Posted: Sat Sep 29, 2018 12:25 am
by KG5ZOK
Here is the Linux shell script that I created to automate the steps listed here for updating. It will prompt for the version, and append that information to the steps needed to download and install that version. For example, if you want to download the V326_RPI version, that is what you would enter.

Standard warning: this script appears to function correctly, but I am not responsible for its use on your machine. Only use this if you know what you are doing.

Feel free to adjust as you see fit to meet your needs.

Code: Select all

#!/bin/bash
clear
read -p "Please enter upgrade version (ex.:V326_RPI): " version
cd /tmp
wget http://www.pistar.uk/downloads/dvmega-flash-tools.zip
wget http://www.dvmega.auria.nl/images/DVMEGA_RH_$version.zip
unzip -d dvmega dvmega-flash-tools.zip
unzip -j -d dvmega DVMEGA_RH_$version.zip
cd dvmega/
file=_JAPAN.hex
sudo rm DVMEGA_RH_$version$file
sudo ./flash_gpio.sh

Re: Using Pistar to flash DVMEGA hat on a RPi

Posted: Thu Oct 04, 2018 12:59 am
by N8ODV
Cool script, thanks for posting.

Re: Using Pistar to flash DVMEGA hat on a RPi

Posted: Thu Nov 01, 2018 6:48 pm
by K0CJC
I've burned a couple extra ATMega chips with different firmware. That way on the Single Channel Hat I can just pop out the chip and put in the new one with the latest firmware without voiding warranties, etc. If anyone would like a spare chip pre-loaded with the DVMega firmware send me a PM and we can work something out.