    __  ____                 _   __                
   /  |/  (_)_____________  / | / /___ _   ______ _
  / /|_/ / / ___/ ___/ __ \/  |/ / __ \ | / / __ `/
 / /  / / / /__/ /  / /_/ / /|  / /_/ / |/ / /_/ / 
/_/  /_/_/\___/_/   \____/_/ |_/\____/|___/\__,_/                

Copyright (c) 2015 MicroNova, LLC
www.micro-nova.com

MERCURY PROGRAMMER

************************************************************************

This folder contains 4 files:

Mercury_Programmer.exe		Mercury Programmer application (combined Windows / Linux executable, using Mono runtime)
99-libftdi.rules			Rules file to allow user access to FTDI hardware.
rm_vcp						Script to remove FTDI VCP-mode driver (if applicable.)
Readme.txt					This readme file!

You also need the FTDI D2XX-mode Linux driver (libftd2xx.so)

This is available at:
http://www.ftdichip.com/Drivers/D2XX.htm

************************************************************************						

Instructions:

1. The Mercury Programmer relies on FTDI's D2XX drivers to communicate with the USB chip onboard Mercury. As stated in FTDI's application note (AN_220), FTDI has two types of drives - the virtual com port driver (VCP) and the D2XX API driver. The FTDI VCP driver is often bundled with Linux. When a Mercury board is plugged in, the VCP driver may be loaded by default - this driver is incompatible with the D2XX driver and must be unloaded. Run the rm_vcp script to unload the VCP driver. NOTE: The rm_vcp script MUST be run with root privilege.

2. To install the D2XX Shared Object Library, copy the libftd2xx.so file to /usr/local/lib. 

3. In order to access the FTDI device though the D2XX drivers as a normal user, the UDEV rules may need to be modified. This can be accomplished by copying the file 99-libftd.rules to /etc/udev/rules.d. You may need to run the following command to reload the udev rules: udevadm control --reload-rules. If the UDEV rules are not modified the Mercury Programmer will have to be run as root.

4. After the VCP drivers have been unloaded, the D2XX drivers have been installed, and the UDEV rules have been modifed, run the Mercury Programmer application. Please note that the Mercury Programmer application requires the Mono runtime.

Questions? Comments? Help?
Contact us at: www.micro-nova.com/contact