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),
// ESH-add line below to connect BCR to Wu's DAQ link

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 and (as Wu used in his test firmware).

uHTR Jumper Settings

Jumper Function Notes
JMP[3] (J1206) FPGA-FLASH Install on CTR2c boards, not required for CTR2d boards.
JMP[2] (J1204) Default IP address When installed the IP address is:
JMP[1] (J1205) Alternate IP address When installed the IP address is: (but MAC maybe duplicate)
JMP[0] (J1203) Simulate CTR2d Install on CTR2c to make it behave like CTR2d

-- EricHazen - 11 Jul 2012

Topic revision: r3 - 13 Sep 2012 - 18:44:43 - EricHazen
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback