DVMega aktualizace firmwaru

  1. Aktualizace DVMega UHF pomocí Arduina Uno.

  2. Aktualizace DVMega Dualband pomocí Pi-Star

 

     1. K aktualizaci DVMega použijeme Arduino Uno, které má stejný procesor ATmega328.

 

DVMega + Arduino Uno

DVMega + Arduino Uno

 

  • Vytáhneme procesor ATmega328 z DVMega a vložíme ho do Arduina Uno.

 

DVMega

DVMega

 

Arduino UNO

Arduino 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.
X-Loader

X-Loader

 

    2. Akualizace DVMega Dualband pomocí PI-Star

 

Raspberry Pi 3 + DVMega

Raspberry Pi 3 + DVMega

        • 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

 

 

Nextion 2.8" TFT 320 x 240 HMI UART

Nextion displej 2.8″ TFT 320 x 240 HMI UART

 

Pi-Star dashboard OK1PMP

Pi-Star dashboard OK1PMP

 

Zdroj: http://www.mw0mwz.co.uk/pi-star/

Nastavení Raspberry pi3 + DVmega

Napsat komentář

Vaše emailová adresa nebude zveřejněna. Vyžadované informace jsou označeny *

Translate »