How to upload TF's firmware.


Firmware location.

a) Firmware


1) Firmware for Control (FEP, FIT_BRAIN, and OPP) processors.
It requires two POF files for EPC2
"cntrl_v6.pof" (1st program)
"cntrl_v6_1.pof" (2nd program)

If these are not latest ones, you need to go
/cdf/data1d/ukyang/doc/svt/firmware on cdf linux cluster
E:\users\ukyang\tf\v6.0 on SPORT PC
Warning: here, order is very crucial


2) Firmware for 6 Fitters
fit_v6.pof(1st)
fit_v6_1.pof
fit_v6_2.pof
fit_v6_3.pof
fit_v6_4.pof (last)


3) If you don't have POF files, follow this procedure,
go to Step C)

B) How to upload the firmware


1. Click "Max+plusII" program
2. Select "Programmer" in the 1st Max+plus II manual box
A window for Programmer will appear.
3. If you already have POF files, then click following area
"[ Program Files ]", then it will open another window
so that you can put your favorite POF files.
4. First, click "Delete all" and then click "Select Program file"
then put your file one by one. Remember select the last file
first and 1st file last.
Make sure you put right total number of files
( 2 files for control processors,
5 files for Fitter, and 1 file for VME_interface )
5. Once you put right number of files, click
"Detect Jtag info", once it verfies, click "OK"
Otherwise, check your previous steps.
If it keep complaining, talk to Un-ki or Taka
Warning: if it complain, never try to do next step!!!


6. Now you are back to original "Programmer" window
then click "Program"
It does "Examine", "Program", and "Verify" jobs.
In this step, some MAX+plus II program turn off
"Vertify" job as a default. But I do recommend
to turn on this proce ss though it kakes more time.


Estimated timing for uploading:
3 minutes for CNTL chips (FEP, FIT_BRAIN, OPP)


7. Congratulation, you did wonderful job.
In order to use your new program, still you have to do one more thing.
Reset your power, so that your firmware from EPC2 are distributed
to each Altera chips. Check out the power LED light.
If there is no light, it means it fails in distributing firmwares
to each chip or the CHIP don't like to take this firmwares.
Then, try to reset power again. If still it doesn't work,
go to step 1 to 6 again.


Some usefuls TIPS from experience.


a). When "Programmer" fails in uploading firmwares to EPC2,
my 1st recommendation is to try to upload it again.
If still it doesn't work, then reset power, then try it again.
If it fails continuously, then talk with Un-ki.


b). Check out L2 logbook about TF's uploading part,
to see whether you find out a similar case.

C) How to make POF files from SOF files.


(When complier finished the TF project, it doesn't
generate POF files, but does SOF files)


1. Click "Max+plusII" program
2. Select "Programmer" in the 1st Max+plus II menu box
A window for Programmer will appear.


3. Select "Convert SRAM Object files" in File menu box
Another window will appear.


4. In new window, click "Delte All",
then, click "Select Program Files",
Select right SOF files,
For Control (FEP, FIT_BRRAIN, OPP) processors.
fep.sof (1st program)
fit_brain.sof
opp.sof (last ) here gain, a right order is crucial.


For Fitter processor,
It requires six SOF files (Each of them is same)
fit.sof
fit.sof
fit.sof
fit.sof
fit.sof
fit.sof (each chip has same program, what a nice...)


5. Select your Output file, write down your favorite POF name.
For Contr ol process, it will generate two POF files.


6. Congratulation, now go back to Step-B) to upload program.


This is the manual for the Rev-B Track fitter,
The Rev-A Track fitter use EPC1, which requires different method
to upload program. But I will put this manual soon.