Flashing FEB's through PGP

Begin by logging into clondaq3 and updating the SVT firmware repo (/home/rherbst/svt_firmware/).  Once that's done, log in as root into dpm7 and kill the rceServer (use ps to find the process ID).  The firmware can then be loaded onto a FEB as follows:

cd /mnt/host/daq
./bin/xPromLoadRceNew <FebFpga> /path_to_images/Feb_<version>.mcs 1
 
  • Make sure you use the xPromLoadRceNew executable. There is an old one with similar name that should NOT be used.
  • When writing and verifying, the prom progress always finishes at 35%.
  • The program always ends with a segmentation fault. This doesn't mean that the image wasn't loaded properly.

Flashing FEB's through JTag

Connect the JTAG dongle to the JTAG connector on the flange that corresponds a to the specific FEB you want to flash. 

  • The laptop needs to be unplugged from any outlet

 

Open vivado.

Flash PROM Instructions

In hardware manager, there's a green bar at the top under the toolbar, it should say "No hardware target is open."

Next to that "Open  (new hardware) Target"

Connect to "local server". (=> says "connecting to the server")

New window showed up, "Open New Hardware target" looks like we don't change anything there? It shows hardware target and hardware devices (one each)

Top one should be xilinx_tcf, underneath "xc7a..." and  underneath that "XAD"

Right click on "xc7a", select "Add Configuration Memory Device"

Then in the search box, type "28f00ap30t", it should filter down to a single item

Go to "Program Configuration..."

Choose the configuration file or "image" that you want to flash with. Should be a .mcs file.

Flash FPGA Instructions

In hardware manager, there's a green bar at the top under the toolbar, it should say "No hardware target is open."

Next to that "Open  (new hardware) Target"

Connect to "local server". (=> says "connecting to the server")

New window showed up, "Open New Hardware target" looks like we don't change anything there? It shows hardware target and hardware devices (one each)

In the device tree, top one should be xilinx_tcf, underneath "xc7a..." and  underneath that "XADC"

Right click on "xc7a", then "Program Device", leave "Debug probes file:" blank

Hit prgro

Flashing the Data DPM's

Begin by logging into clondaq3 and updating the SVT firmware repo (/home/rherbst/svt_firmware/).  The Data DPM firmware can be loaded as follows:

cd /usr/clas12/release/0.2/slac_svt/svtdaq/daq
./rceScripts/set_image_data.sh /mnt/home/rherbst/svt_firmware/projects/DataDpm/images/DataDpm_<version>

Flashing the Control DPM

Begin by logging into clondaq3 and updating the SVT firmware repo (/home/rherbst/svt_firmware/).  The Control DPM firmware can be loaded as follows:

cd /usr/clas12/release/0.2/slac_svt/svtdaq/daq
./rceScripts/set_image_control.sh /mnt/home/rherbst/svt_firmware/projects/ControlDpm/images/ControlDpm_<version>
  • No labels