VME-ALPHA-TTC: Difference between revisions
Jump to navigation
Jump to search
m (→References) |
|||
(13 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
== References == | == References == | ||
* [https://ladd00.triumf.ca/viewvc/alpha/trunk/online/ttc/source] SVN repository for firmware and documentation | * https://bitbucket.org/expalpha/ttc_firmware.git | ||
* [https://ladd00.triumf.ca/viewvc/alpha/trunk/online/ttc/source/ALPHA_TTC_20091105.pdf?view=co] | * [[File:ALPHA_TTC_20091105.pdf]] board schematics | ||
* [https://ladd00.triumf.ca/viewvc/alpha/trunk/online/ttc/source/alphaTTC.txt?view=markup] firmware manual | * [[File:ALPHA_TTC.pdf]] firmware schematics | ||
* https://bitbucket.org/expalpha/ttc_firmware/src/master/alphaTTC.txt firmware manual | |||
* https://bitbucket.org/expalpha/ttc_firmware/src/master/ALPHA_TTC/ firmware binaries are alphaTTC.pof and alphaTTC_yyyymmdd.pof | |||
* https://bitbucket.org/expalpha/ttc_firmware/src/master/MAX3000A_Addr_decode/VME_Addr_decode.pof firmware binary for the VME address decoder CPLD | |||
* (dead) [https://ladd00.triumf.ca/viewvc/alpha/trunk/online/ttc/source] SVN repository for firmware and documentation | |||
* (dead) [https://ladd00.triumf.ca/viewvc/alpha/trunk/online/ttc/source/ALPHA_TTC_20091105.pdf?view=co] board schematics | |||
* (dead) [https://ladd00.triumf.ca/viewvc/alpha/trunk/online/ttc/source/ALPHA_TTC/ALPHA_TTC.pdf?view=log] firmware schematics | |||
* (dead) [https://ladd00.triumf.ca/viewvc/alpha/trunk/online/ttc/source/alphaTTC.txt?view=markup] firmware manual | |||
* (dead) [https://ladd00.triumf.ca/viewvc/alpha/trunk/online/ttc/source/ALPHA_TTC/alphaTTC.pof?view=log] firmware POF files (!!!DO NOT USE THE FILES NAMED ALPHA_TTC.POF!!!) | |||
* (dead) [https://ladd00.triumf.ca/viewvc/alpha/trunk/online/ttc/source/MAX3000A_Addr_decode/VME_Addr_decode.pof?view=log] POF file for the VME address decoder CPLD | |||
== | == Photos == | ||
== Hardware == | |||
* Main FPGA: Altera cyclone 1: EP1C6Q240C6N | * Main FPGA: Altera cyclone 1: EP1C6Q240C6N | ||
Line 25: | Line 30: | ||
== Firmware update procedure == | == Firmware update procedure == | ||
* obtain and build the VME programmer (srunner_vme | * obtain and build the TTC test program from the ALPHA SVN repository (testTTC.exe): | ||
** mkdir $HOME/online | |||
** cd $HOME/online | |||
** svn checkout https://ladd00.triumf.ca/svn/alpha/trunk/online/vme | |||
** cd vme | |||
** make testTTC.exe | |||
** (Makefile may need to be adjusted to switch between the GEF_VME and the Universe drivers) | |||
* obtain and build the VME programmer (srunner_vme): | |||
** mkdir $HOME/packages | ** mkdir $HOME/packages | ||
** cd $HOME/packages | ** cd $HOME/packages | ||
** svn checkout https://ladd00.triumf.ca/svn/daqsvn/trunk/vme (username svn, password svn) | ** svn checkout https://ladd00.triumf.ca/svn/daqsvn/trunk/vme (username svn, password svn) | ||
** cd vme | ** cd vme | ||
** make -k srunner_vme.exe srunner_vme_gef | ** make -k srunner_vme.exe srunner_vme_gef.exe | ||
* read the firmware revision from VME register 0: | * read the firmware revision from VME register 0: | ||
** ./ | ** ./testTTC.exe --ttcx --exit | ||
* write Cyclone 1 FPGA firmware into the flash memory using the VME programmer: | * write Cyclone 1 FPGA firmware into the flash memory using the VME programmer: | ||
** ./srunner_vme_gef.exe -program -64 | ** ./srunner_vme_gef.exe -program -64 alphaTTC_0x7f120629.pof 0x410000b4 | ||
* there is no reset-mod for the ALPHA TTC module, you have to cycle the power to reboot it (reboot the Cyclone 1 FPGA into the new firmware) (requires "fpga-reset" mod): | |||
Latest revision as of 20:06, 3 June 2022
VME-ALPHA-TTC - ALPHA (CERN AD-5) Si vertex detector control module
References
- https://bitbucket.org/expalpha/ttc_firmware.git
- File:ALPHA TTC 20091105.pdf board schematics
- File:ALPHA TTC.pdf firmware schematics
- https://bitbucket.org/expalpha/ttc_firmware/src/master/alphaTTC.txt firmware manual
- https://bitbucket.org/expalpha/ttc_firmware/src/master/ALPHA_TTC/ firmware binaries are alphaTTC.pof and alphaTTC_yyyymmdd.pof
- https://bitbucket.org/expalpha/ttc_firmware/src/master/MAX3000A_Addr_decode/VME_Addr_decode.pof firmware binary for the VME address decoder CPLD
- (dead) [1] SVN repository for firmware and documentation
- (dead) [2] board schematics
- (dead) [3] firmware schematics
- (dead) [4] firmware manual
- (dead) [5] firmware POF files (!!!DO NOT USE THE FILES NAMED ALPHA_TTC.POF!!!)
- (dead) [6] POF file for the VME address decoder CPLD
Photos
Hardware
- Main FPGA: Altera cyclone 1: EP1C6Q240C6N
- Trigger FPGA: two of the same (3 FPGA grand total)
- Serial flash for FPGA configuration: Altera EPCS16
- 6+6 NIM outputs
- 2 analog outputs for calibration pulse
- 2 NIM inputs
- 256 LVDS inputs into the 2 trigger FPGAs (128 inputs each)
Firmware update procedure
- obtain and build the TTC test program from the ALPHA SVN repository (testTTC.exe):
- mkdir $HOME/online
- cd $HOME/online
- svn checkout https://ladd00.triumf.ca/svn/alpha/trunk/online/vme
- cd vme
- make testTTC.exe
- (Makefile may need to be adjusted to switch between the GEF_VME and the Universe drivers)
- obtain and build the VME programmer (srunner_vme):
- mkdir $HOME/packages
- cd $HOME/packages
- svn checkout https://ladd00.triumf.ca/svn/daqsvn/trunk/vme (username svn, password svn)
- cd vme
- make -k srunner_vme.exe srunner_vme_gef.exe
- read the firmware revision from VME register 0:
- ./testTTC.exe --ttcx --exit
- write Cyclone 1 FPGA firmware into the flash memory using the VME programmer:
- ./srunner_vme_gef.exe -program -64 alphaTTC_0x7f120629.pof 0x410000b4
- there is no reset-mod for the ALPHA TTC module, you have to cycle the power to reboot it (reboot the Cyclone 1 FPGA into the new firmware) (requires "fpga-reset" mod):