This page contains information about work towards integration of the uHTR firmware
with the AMC13 link done at BU. It will likely become quickly out of date once the integration is complete.
Testing Log
2012-09-13, esh
Trying new firmware v5.11. Jeremy asks for debug output of
ipbusio.exe [ip] r 0x400000 16
Initial firmware integration
Merged, with changes below:
- Rename Wu's MiniCTR.vhd to DAQ_Link_wu.vhd and put in
.../ctr2/ctr2_uhtr1600/DAQ_Path/
in project
- Edit to remove chipscope stuff
- Edit DAQ_Link.vhd to instantiate DAQ_Link_wu.vhd
- Copy and add other sources:
- Add CRC16D16.vhd
- Add Hamming.vhd
- copy
ipcore_dir
tree
- Add dataFIFO.ngc, DataBuf.ngc, TDP16_16.ngc, SDP16_16.ngc
- Add 1 clock delay to BC0 in DAQ_Link.vhdl:
- Edit DAQ_Path_Tester.v as follows:
DAQ_LinkWrapper daq_link(.daq_clk(clk_daq),.daq_data(daq_data),.daq_sbits(daq_s),
.clk_dtc(clk_dtc),
// ESH-add line below to connect BCR to Wu's DAQ link
.bc0_localTrig(DTC_BCR),
.gtx_to(daq_gtx_to),.gtx_from(daq_gtx_from)
);
Finally we have the problem of IP addressing. The uHTR scheme is to use an address stored in the SPI flash, unless
a jumper (J1204) is installed. This may or may not work; on our system apparently IP addresses other than 192.168.1.x
are not routed through the MCH switch. (Even though I explicitly changed the configuration of the switch in the NAT-MCH!)
So, I have compiled two copies of the firmware with the IP addresses hard-wired to 192.168.1.32 and 192.168.1.40
(as Wu used in his ctr2.zip test firmware).
uHTR Jumper Settings
Jumper |
Function |
Notes |
JMP[0] (J1203) |
Simulate CTR2d |
Install on CTR2c to make it behave like CTR2d |
JMP[1] (J1205) |
Alternate IP address |
When installed the IP address is: 192.168.115.253 (but MAC maybe duplicate) |
JMP[2] (J1204) |
Default IP address |
When installed the IP address is: 192.168.115.254 |
JMP[3] (J1206) |
FPGA-FLASH |
Install on CTR2c boards, not required for CTR2d boards. |
--
EricHazen - 11 Jul 2012