Software and Firmware Setup

From UCLA Miniscope
Revision as of 00:14, 9 January 2016 by DAharoni (talk | contribs)$7

Jump to: navigation, search

This guide will show you how to upload the miniscope firmware to the DAQ system and install the DAQ software on a PC.

Uploading Firmware

The current firmware image, 'msDAQ_Firmware_MT9V032.img', can be found in the root directory of the Miniscope DAQ Firmware Github Repository.

The USB Host Control on the DAQ PCB requires firmware to run. The firmware is written and compiled using the Cypress EZ-USB FX3 SDK. This SDK also comes with Cypress Control Center which can be used to upload the firmware image to the RAM of the USB Host Controller or, more likely, to the EEPROM on the DAQ PCB.

To program the DAQ PCB with firmware:

  1. Makes sure all SMD and through-hole components have been properly soldered to the PCB.
  2. Set the PCB on a non-conducting surface on in its 3D printed housing.
  3. Plug the 8pin DIP EEPROM (Part Number: ) into the EEPROM socket near the reset button on the DAQ PCB.
  4. Set the switches (SW1, SW2, and SW3) to the configuration shown below.
  5. Set the jumpers (K1, K2, and K3) to one of the two configuration shown below. If the EEPROM has not been programmed previously then either configuration will work.
  6. Connect a USB3.0 cable between the DAQ PCB and computer being careful not to apply too much force or torque on the USB connector.
    1. Make sure the bottom 2 LEDs turn on.
    2. If this is the first time a DAQ PCB has been connected to your computer make sure the drivers install successfully (this should happen automatically).
  7. Run the Cypress Control Center (which is included in the Cypress EZ-USB FX3 SDK). You should see the following:
    1. Make sure 'Cypress USB Boot Loader' shows up in the left column. This is your unprogrammed DAQ PCB.
  8. Select Program then FX3 then I2C EEPROM. Selecting RAM will allow you to flash the firmware directly into the ram of the USB Host Controll but will be lose if the board is powered down or reset.

Installing DAQ Software

Current and past DAQ software packages can be found here. To run the software, extract all files into the same folder and run MiniScopeControl.exe.