Difference between revisions of "Programming over Fibre"
From MCEWiki
(→Using Remote Firmware Update) |
(→Using Remote Firmware Update) |
||
Line 4: | Line 4: | ||
** Clock Card firmware is available [http://www.phas.ubc.ca/~mce/mcedocs/firmware/ here]. | ** Clock Card firmware is available [http://www.phas.ubc.ca/~mce/mcedocs/firmware/ here]. | ||
* Flip the SW1p1 "BB_EN" Dip Switch on the Clock Card to 'OPEN'. | * Flip the SW1p1 "BB_EN" Dip Switch on the Clock Card to 'OPEN'. | ||
− | * Get the version of JAM Player software from SVN that is compatible with the version of Clock Card firmware you just loaded in the Factory Configuration Device | + | * Get the version of JAM Player software from SVN that is compatible with the version of Clock Card firmware you just loaded in the Factory Configuration Device (i.e. SVN revision 16 is compatible with cc_v0500006). |
− | |||
cd ~/jp_25/mce_jam/trunk | cd ~/jp_25/mce_jam/trunk | ||
svn update -r16 | svn update -r16 |
Revision as of 11:11, 27 April 2010
Using Remote Firmware Update
- Load Clock Card v5.0.6+ Firmware in the Clock Card Factory Configuration Device (.pof file).
- Flip the SW1p1 "BB_EN" Dip Switch on the Clock Card to 'OPEN'.
- Get the version of JAM Player software from SVN that is compatible with the version of Clock Card firmware you just loaded in the Factory Configuration Device (i.e. SVN revision 16 is compatible with cc_v0500006).
cd ~/jp_25/mce_jam/trunk svn update -r16
- Compile the SVN software with the following commands:
make clean make
- Use the following commands on a MAS PC to program the MCE:
sudo ./jam -u -v -f8000000 -aread_idcode read_idcode.jam // For Querying ID Codes sudo ./jam -u -v -f800000 -aprogram -dDO_VERIFY=0 cc_xfpga_rc_pof.jam // For Programming EPC16's sudo ./jam -u -v -f8000000 -aconfigure cc_xfpga_rc_sof.jam // For Configuring FPGA's sudo ./jam -u -v -f8000000 -aconfigure cc_rcd_jic.jam // For Programming EPCS64's (Step 1 of 2) sudo ./jam -u -v -f100000 -aprogram -dDO_VERIFY=0 cc_rcd_jic.jam // For Programming EPCS64's (Step 2 of 2)
- The read_idcode.jam file is included in SVN as a test script to help you determine whether you have set up the system correctly. If you can run it, then you are ready to re-configure FPGA's, EPC16's and EPCS64's. For these devices, you will need to generate .jam files that are specifically suited to your system. You will need Quartus II software to do this. Instructions on generating .jam files are here. If you do not have access to this software, send the output of the read_idcode.jam script to UBC, and configuration .jam files will be generated for you.