PROGRAMMING THE UP1

Now that you have entered, chosen which device, compiled, and assigned pins you are now ready to actually program the UP1: EPF10K20RC240-4.

This can be done by going MAX+plus II -> Programmer and you should see the following:

figure 5.1

You now have to go JTAG -> Multi-Device J-TAG Chain Setup and you should see the following screen:

figure 5.2

What the JTAG allows you to do is to connect several devices together and program all of them at the same time. We however only need to program one device. To program one device change the Device Name to EPF10K20 and click on Select Programming File. You now see the following screen:

figure 5.3

When you compile your VHDL code, two programming files are created, a .POF and a .SOF file. You will need the .SOF file when you are programming a FLEX device. So find and select your .SOF file, and click okay when done.

You should now be back to the screen that looks like figure 5.4. The box under the Programming File Name will contain the filename of the .SOF file. You must add this file to the device list. This is done by clicking add. Your screen should now look like the following:

figure 5.4

It is at this point that you would add other devices if you were using JTAG. You could save the contents of this screen if you wanted to by clicking on Save JCF and at a latter date open this configuration by clicking on Restore JCF. However if you only have one device that you are programming this is unnecessary.

Click on OK if you see the message box in figure 5.5 click yes. You should now see figure 5.1 with some changes and the Configure button enabled (see figure 5.6).

figure 5.5

figure 5.6

Make sure that the UP1 board is plugged in and that the programming cord is connected. Click on Configure. The program bar at the bottom will go across and at 100% a a box stating that you successfully configured the device will be displayed, and the FPGA will start executing your configuration. If you were unsuccessful in programming the UP1 then you should go to the help files for more information and if all else fails ask the TA.

If you downloaded the BLINK example program you should see the 7 segment display either completely lit or all off. If you press the PB1 button you should see the top element of the 1st digit blink on or off while you are depressing the button. If this happens then you have successfully configured and programmed the FPGA on the UP1 Board.


[BACK][MAIN][NEXT]

Mark Fedorak, Vera Casteel, Kris Pucci, Ron Smith - 1998