Updating Firmware in Modules: Difference between revisions

From GammaSphere DAQ
Jump to navigation Jump to search
No edit summary
No edit summary
Line 16: Line 16:
var routware=new String("/home/dgs/tmadden/DGSTrigFirmware/router_top_20160601.bin");<br>
var routware=new String("/home/dgs/tmadden/DGSTrigFirmware/router_top_20160601.bin");<br>


'''NOTE: Need to define add current name of master, slave digitizer bin files and trigger & router bin file names'''
-'''NOTE: Need to define add current name of master, slave digitizer bin files and trigger & router bin file names''' <br>
- '''NOTE: If bin file name is wrong, program will still try to flash and result will be yellow fever.
-'''NOTE: If bin file name is wrong, program will still try to flash and result will be yellow fever.''' <br>
- NOTE: The asynRecords.txt file defines the active crates. If you get a missing PV during setup, edit this file or better yet, make a new one and assign it instead.'''
-'''NOTE: The asynRecords.txt file defines the active crates. If you get a missing PV during setup, edit this file or better yet, make a new one and assign it instead.'''<br>

Revision as of 15:19, September 15, 2021

Some more notes about flashing digitizers or triggers:

  1. Log into dgs account on dgs1
  2. Get digitizer.bin from directory /Digitizer/MAIN_FPGA/Work11_DGS
  3. copy to /home/dgs/tmadden/DGSDigFirmware or /home/dgs/tmadden/DGSTrigFirmware
  4. cd /home/dgs/tmadden/swWork/workspace/epicsClient/src
  5. issue following: java -classpath jca-2.3.5.jar:caj-1.1.9.jar:fpgasender.jar plotControl
  6. copy and paste below

epics.epics_init();
var fn0=new String("/home/dgs/tmadden/swWork/workspace/epicsClient/src/asynRecords.txt");
var fn1=new String("/home/dgs/tmadden/retfile.bin");
epics.connectPVs(fn0);
var digware=new String("/home/dgs/tmadden/DGSDigFirmware/MSTR_digitizer_20200722.bin");
var slvware=new String("/home/dgs/tmadden/DGSDigFirmware/SLAVE_digitizer_20200602.bin");
var mastware=new String("/home/dgs/tmadden/DGSTrigFirmware/trigger_top_20160626.bin");
var routware=new String("/home/dgs/tmadden/DGSTrigFirmware/router_top_20160601.bin");

-NOTE: Need to define add current name of master, slave digitizer bin files and trigger & router bin file names
-NOTE: If bin file name is wrong, program will still try to flash and result will be yellow fever.
-NOTE: The asynRecords.txt file defines the active crates. If you get a missing PV during setup, edit this file or better yet, make a new one and assign it instead.