SDSU Controller .lod Files
The .lod files are downloaded into the controller during a 'startobssys' command. A timing.lod file is downloaded to the timing board and a utility.lod file to the utility board. Software development is done in the CVS directory : '/home/dspdev/ccd'. Within this directory are two subdirectories for utility and timing code.
'/home/dspdev/ccd/tim'
contains a directory for timing boot code (the same for all cameras), ccd type-specific .asm files (timtek.asm, timeev.asm, etc.) and further sub-directories , one for each specific camera. Each of these sub-directories contains two files under CVS control, one containing chip specific information such as waveform tables and set-up voltages and another called 'Makefile' which when executed (with the 'make' command) carries out the compilation and linking.Each camera thus requires 4 files to produce a timing download file, in the case of TEK5 these are :
/home/dspdev/ccd/tim/boot/timboot.asm
: boot file which needs to be linked to./home/dspdev/ccd/tim/timtek.asm
: type specific file, containing code common to all TEK cameras/home/dspdev/ccd/tim/tek5/tek5.asm
: camera specific file, set-up voltages and waveforms tuned up for TEK5/home/dspdev/ccd/tim/tek5/Makefile
: the file that compiles and links the above, to create a .lod file'/home/dspdev/ccd/util'
contains a directory for utility boot code (the same for all cameras), and two further sub-directories called 'wfc' and 'standard' for the INT WFC and all other cameras respectively. The different shutter arrangement for the INT WFC requires it to have a separate utility .lod file. The utility .lod file is the same for all other cameras.To produce the utility download file for example TEK5 , three files are required :
/home/dspdev/ccd/util/boot/utilboot.asm
: boot file which needs to be linked to./home/dspdev/ccd/util/standard/utilappl.asm
: the main application code./home/dspdev/ccd/util/standard/Makefile
: the file that compiles and links the above, to create a .lod fileFlow Chart from Guy Woodhouse showing contents of utilappl.asm
Flow Chart from Guy Woodhouse showing contents of utilboot.asm
Flow Chart from Guy Woodhouse showing contents of timboot.asm