==============================================================
MVR-64 multiverter Firmware Update Procedure
Document status: 2017-07-03
==============================================================

*** IMPORTANT *************************************************
*
*  It is ABSOLUTELY REQUIRED that you follow *BOTH* steps described below
*  because both parts are matched with each other:
*
*    A) FPGA/Control firmware update via USB 
*    B) Dante firmware update via Ethernet
*
***************************************************************

A) Control+FPGA firmware update
===============================
1. Switch the multiverter OFF.

2. Connect the multiverter via USB to your PC (anything from Windows 7 on should work). 
   Push the encoder and hold it down while switching the multiverter ON again.     
   After 3 seconds, release the encoder knob.
   
3. The multiverter should be detected by Windows as USB-to-RS232 converter (FT2232) without 
   the need to manually install a driver. In case you still need a driver, a version
   is available in the "win\driver" subdirectory or alternatively from FTDI.
   You need the "Virtual COM Port" (VCP driver) from here:
   http://www.ftdichip.com/Drivers/VCP.htm
   The installation procedure is described here:
   http://www.ftdichip.com/Support/Documents/InstallGuides.htm   
   
4. The display should remain dark (except for the 
   power LEDs) to indicate it is set to firmware update mode.
   If any other LEDs on the frontpanel are still lit, switch it off and on again while
   holding down the encoder until the display remains dark.  
   
5. Run "MVR-64-Updater.bat" and confirm with "U". The update process takes about 
   2-3 minutes. Check the screen output for any error messages. If an error occured
   try again or refer to the "Troubleshooting" section below.
   
6. Switch the multiverter off and on again to activate the new firmware.

7. (Optional) Check if the update was successful: Push "Recall", select "Function", 
   select "12". Then the current version info is displayed on the channel/volume
   display. Rotate the encoder to display the version numbers as follows
      
   (*)AD: FPGA firmware Major number, e.g. "01"
   ( )MO: FPGA firmware Minor number, e.g. "03"
   ( )MC: Control firmware Major number, e.g. "01"
   ( )MT: Control firmware Minor number, e.g. "03"
   ( )AE: Hardware version Mainboard, e.g. "01"
   ( )DA: Hardware version Frontpanel, e.g. "00"
   
   The above version info corresponds with FPGA firmware 1.3, Control firmware 1.3,
   Mainboard version 01 and Frontpanel version 00. Usually the FPGA firmware and
   the control firmware have the same version number and are bundled together as
   "Firmware 1.3".
   
8. Continue in section B) for Dante firmware update (only required if you don't have 
   already the latest version which is packed with this firmware).
   
Troubleshooting
---------------
1. Upgrade the Control Firmware manually:
   - In Windows Device Manager, move to the "Ports (COM & LPT)" section and locate 
     the pair of "USB Serial Ports" e.g. COM3 and COM4. Note the number of the
     lower of both ports (e.g. COM3).      
   - Open a command prompt and navigate to the directory where README.TXT is located.
     Run the following command:
     "win\stm32flash -v -w firmware\frontpanel.bin \\.\COMxx"
     (with COMxx beeing the first of the COM ports from the Device Manager)
2. Upgrade the FPGA Firmware manually:
   - Open a command prompt and navigate to the directory where README.TXT is located.
     Run the following command:
    "win\fwloader -f firmware\multiverter.rpd -m 1 -e 16"
3. Continue in section B) for Dante firmware update


   

B) Dante firmware update 
======================== 

1. Check in Dante Controller, Device View, Tab "Status" the current version.
   If it matches the *.dnt filename in the firmware directory of this package,
   you don't need to update. Otherwise, continue below.

2. Install the "Dante Firmware Update Manager" from Audinate:
   https://www.audinate.com/products/firmware-update-manager
   
3. Connect the MVR-64 via Ethernet to your PC or local network.   
   Wait until the multiverter ("MVR-XXXXXX") is found. 
   Select the *.dnt file from the "firmware" subdirectory, e.g. 
   "MVR-64-2.0.0.0.dnt" and proceed with the update.   
   
4. If you run into issues ("Failed to upgrade"), you will need to disable Windows Firewall
   and then try again.
   

   
