-
Aktualizace DVMega UHF pomocí Arduina Uno.
-
Aktualizace DVMega Dualband pomocí Pi-Star
1. K aktualizaci DVMega použijeme Arduino Uno, které má stejný procesor ATmega328.
- Vytáhneme procesor ATmega328 z DVMega a vložíme ho do Arduina Uno.
- Stáhneme program Xload a aktuální firmware(např. Firmware V 3.18) ze stránky www.dvmega.auria.nl
- Připojíme Arduino k PC
- Vybereme stažený soubor, Uno(ATmega328), COM port, rychlost a spustíme upload
- Po několika sekundách je aktualizace ukončena, odpojíme od PC, procesor vrátíme zpět do DVMega.
2. Akualizace DVMega Dualband pomocí PI-Star
-
-
-
- Přihlaste se do Pi-Star přes SSH (pi-star, raspberry)
-
cd /tmp
-
wget http://www.pistar.uk/downloads/dvmega-flash-tools.zip
-
wget http://www.dvmega.auria.nl/images/DVMEGA_RH_V318_UNO.zip
-
unzip -d dvmega dvmega-flash-tools.zip
-
unzip -d dvmega DVMEGA_RH_V318_UNO.zip
-
cd dvmega/
-
sudo ./flash_gpio.sh
- Meli by jste získat tento výstup
-
Warning: Stopping pistar-watchdog.service, but it can still be activated by: pistar-watchdog.timer Warning: Stopping dstarrepeater.service, but it can still be activated by: dstarrepeater.timer Found DVMEGA_RH_V318_UNO.hex firmware... avrdude-original: Version 6.1, compiled on Jul 7 2015 at 10:29:47 Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/ Copyright (c) 2007-2014 Joerg Wunsch System wide configuration file is "/etc/avrdude.conf" User configuration file is "/root/.avrduderc" User configuration file does not exist or is not a regular file, skipping Using Port : /dev/ttyAMA0 Using Programmer : arduino Overriding Baud Rate : 115200 avrdude-original: Using autoreset DTR on GPIO Pin 7 AVR Part : ATmega328P Chip Erase delay : 9000 us PAGEL : PD7 BS2 : PC2 RESET disposition : dedicated RETRY pulse : SCK serial program mode : yes parallel program mode : yes Timeout : 200 StabDelay : 100 CmdexeDelay : 25 SyncLoops : 32 ByteDelay : 0 PollIndex : 3 PollValue : 0x53 Memory Detail : Block Poll Page Polled Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- --------- eeprom 65 20 4 0 no 1024 4 0 3600 3600 0xff 0xff flash 65 6 128 0 yes 32768 128 256 4500 4500 0xff 0xff lfuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00 hfuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00 efuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00 lock 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00 calibration 0 0 0 0 no 1 0 0 0 0 0x00 0x00 signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00 Programmer Type : Arduino Description : Arduino Hardware Version: 3 Firmware Version: 4.4 Vtarget : 0.3 V Varef : 0.3 V Oscillator : 28.800 kHz SCK period : 3.3 us avrdude-original: AVR device initialized and ready to accept instructions Reading | ################################################## | 100% 0.00s avrdude-original: Device signature = 0x1e950f avrdude-original: safemode: lfuse reads as 0 avrdude-original: safemode: hfuse reads as 0 avrdude-original: safemode: efuse reads as 0 avrdude-original: NOTE: "flash" memory has been specified, an erase cycle will be performed To disable this feature, specify the -D option. avrdude-original: erasing chip avrdude-original: reading input file "DVMEGA_RH_V318_UNO.hex" avrdude-original: input file DVMEGA_RH_V318_UNO.hex auto detected as Intel Hex avrdude-original: writing flash (32074 bytes): Writing | ################################################## | 100% 4.59s avrdude-original: 32074 bytes of flash written avrdude-original: verifying flash memory against DVMEGA_RH_V318_UNO.hex: avrdude-original: load data flash data from input file DVMEGA_RH_V318_UNO.hex: avrdude-original: input file DVMEGA_RH_V318_UNO.hex auto detected as Intel Hex avrdude-original: input file DVMEGA_RH_V318_UNO.hex contains 32074 bytes avrdude-original: reading on-chip flash data: Reading | ################################################## | 100% 3.39s avrdude-original: verifying ... avrdude-original: 32074 bytes of flash verified avrdude-original: safemode: lfuse reads as 0 avrdude-original: safemode: hfuse reads as 0 avrdude-original: safemode: efuse reads as 0 avrdude-original: safemode: Fuses OK (E:00, H:00, L:00) strace: |autoreset: Broken pipe strace: |autoreset: Broken pipe strace: |autoreset: Broken pipe strace: |autoreset: Broken pipe strace: |autoreset: Broken pipe avrdude-original done. Thank you. strace: |autoreset: Broken pipe Once flashing has been completed, you should reboot your Pi-Star
-
-
- DVMega + PI-Star
Zdroj: http://www.mw0mwz.co.uk/pi-star/
Nastavení Raspberry pi3 + DVmega
YSF2DMR – software pro radiostanice Yaesu Fusion (C4FM) na komunikaci v DMR
Muzu dotaz? Proc je ke stazeni dvoji fw 3.19 a 3.26 (pro rpi a 70cm dvmegu na ni). Je to pro dua radio ta 3.26? Nikde o tom neni zminka.
Diky Martin.
Ahoj,firmware je pro obě verze stejný. 3.26 je novější, na stránkách měl vždy na výběr dvě poslední verze firmwaru.
Měj se.
Michal
Ahoj, tak pres RPI 3b (NEplus) je to pekna pakarna.
Zlutej drat musi byt na GPIO4 (reset od avrdude) a ne na +5V, musi se tam nalit verze s nazvem .rpi a ne verze pro uno desky (primy link na fw http://www.dvmega.nl/wp-content/uploads/2018/11/DVMEGA_RH_V328_RPI.zip )
Ted se dostanu do stavu ze programovani skonci na
…
Overriding Baud Rate : 115200
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00
…
Nejde to pry nahrat na pistaru v4.0.0 a asi vyse (mam 4.1.1. )
8b) Updating DVMEGA mounted on an RPi
Alert: This method doesn’t work with Pi-Star 4.0.0-RC3 or RC4.
Upgrade je pod odstavcem 8b,
https://amateurradionotes.com/pi-star-notes.htm#hotspotfwupdate
A co ted sleduju tak se musi vypnout BT a vse co picha do comu pres ktery se to naleva.
https://g0wfv.wordpress.com/how-to-update-dvmega-firmware-without-a-programmer-or-an-arduino/
Tak a snad to uz konecne pujde z 3.19 na 3.26
Nebyt ok1jtl, ktery ma nervy to tam lejt proti srsti a hledat chyby, tak jsem na ten šmejd uz šlápnul.
🙂 Martin ok1tec