Using Pistar to flash DVMEGA hat on a RPi

DV-Mega Single / Dual band Hat for the Raspberry Pi
User avatar
N8ODV
Posts: 13
Joined: Thu Apr 12, 2018 6:26 am
Location: Grand Rapids, MI USA
Contact:

Re: Using Pistar to flash DVMEGA hat on a RPi

Post by N8ODV » Fri Sep 28, 2018 9:45 am

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.
Image Bruce Sommer, Grand Rapids, MI, USA

KG5ZOK
Posts: 3
Joined: Fri May 04, 2018 1:55 pm

Re: Using Pistar to flash DVMEGA hat on a RPi

Post by KG5ZOK » Sat Sep 29, 2018 12:25 am

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
Last edited by KG5ZOK on Tue Oct 02, 2018 2:03 am, edited 2 times in total.

User avatar
N8ODV
Posts: 13
Joined: Thu Apr 12, 2018 6:26 am
Location: Grand Rapids, MI USA
Contact:

Re: Using Pistar to flash DVMEGA hat on a RPi

Post by N8ODV » Thu Oct 04, 2018 12:59 am

Cool script, thanks for posting.
Image Bruce Sommer, Grand Rapids, MI, USA

K0CJC
Posts: 4
Joined: Mon Oct 15, 2018 8:52 pm

Re: Using Pistar to flash DVMEGA hat on a RPi

Post by K0CJC » Thu Nov 01, 2018 6:48 pm

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.

Post Reply