Updating OSSC via JTAG

From Classic Console Upscaler wiki
Jump to: navigation, search

As well as using an SD card, the OSSCs firmware can be updated using a suitable USB JTAG programmer. The terasIC USB Blaster available from Digikey here works well.

To use the device you need do download Altera Quartus Prime Lite Edition (Free)->Quartus Prime (includes Nios II EDS) [2.0GB] and Cyclone IV device support (467MB) from here. This software is available for both Windows and Linux.

Once you have downloaded the software (it's a big download so have patience!) install it in the usual way for your OS.

Windows only - You will also need to manually install the USB drivers for the programmer. To do this, make sure you have admin rights and open up Device Manager. Now find the USB Blaster under USB devices and manually update the drivers. When Windows asks you where to find the drivers, choose a manual installation and point it to the Altera installation folder (and subdirectories). Windows should then find and install a fully signed driver for you.

When you have installed both Altera Quartus and the driver if necessary, you can connect connect USB Blaster to your computer and the JTAG cable to the OSSC. Now, turn the OSSC on. From Quartus, select the "Tools" menu and then "Programmer" from the main menu. The following window should appear.


Altera programmer step 1.png


You must use a .jic version of the firmware in order to program with the JTAG programmer. These files should be available with the regular (SD compatible) firmware files. You can select a .jic version of the firmware on your computer by clicking on the "Add File" button and browsing to the file location. When this is done, tick/check both "Program/Configure" and "Verify" checkboxes. The window should look like the screenshot shown below.


Altera program step2.png


Now simply just click "Start" and the image is downloaded to the OSSC and verified. The whole process should take less than 10 seconds if it all goes correctly. Once programming is complete you can turn off the OSSC and detach the JTAG cable. Next time you turn the OSSC on, the new firmware is activated.

Personal tools