Instructions for programming the godil using the xilinx tools

CIS-WS edited this page Jan 26, 2014 · 7 revisions

Overview

This page gives instructions for programming the GODIL.

It assumes that you have the GOPLCP JTAG Adapter, which is a Xilinx JTAG programmer compatible with the Parallel Cable III. It has the correct pitch connector to fit the GODIL, which is non-standard:

The software to drive this programmer is Xilinx iMPACT. The latest version that officially support the Parallel Cable III is included in the ISE Design Tools 10.1:

The GODIL should be fitted to the Atom, and then programmed in-circuit with the Atom powered up.

Once programmed, it seems to be necessary to power cycle the Atom.

As a precaution, do not connect or disconnect the programming cable with the Atom powered up.

Download the latest BIT file from GitHub

The latest code with the VGA80x40 mode is in the vga80 branch:

Create the PROM File

Create a new directory called AtomGodil and copy the Top.bit file to this directory

Start iMPACT 10.0

Choose "create a new project" and click OK

Choose "Prepare a PROM file" and click Next

Select 3rd Party SPI PROM PROM File Name GodilPROM In Location, browse to the AtomGodil folder All other values leave as default and click Next

Select Auto Select PROM Density and click Next

Click Finish

In the Add Device popup that appears, click OK.

In the File Browser, browse to the Top.bit and select Open

In the Add Device popup that appers, click No, then Click OK

From the top menu, select Operations/Generate File...

Exit iMPACT, and don't bother saving the project

Program the PROM File into the GODIL

Note: reprogramming the GODIL will erase all contents from the video memory. Save any data that you want to preserve to an external storage.

Start iMPACT 10.0

Choose "create a new project" and click OK

Select "Configure Device using Boundary-Scan (JTAG)"

Click Finish

Select Enable Programming of SPI Flash Device Attached to this FPGA

Choose Top.bit and click Open

Select the GODILProm.mcs file and click Open

Select the following SPI Flash Device: M25P16 and click OK

Hilight the Attached Flash device on the left and make sure the Verify and Erase Before Programming check boxes are ticked, then click OK

From the top menu, select Operations/Program...

Programming should take about 40 seconds. Look carefully for any errors.

Exit iMPACT, and don't bother saving the project


Note for Linux users: If Impact keeps complaining about windrv6 not being loaded, take a look at this page: http://rmdir.de/~michael/xilinx/ It provides the necessary drivers to recognize the parallel adapter. After you compiled the driver don't forget to execute this: export LD_PRELOAD=/path/to/libusb-driver.so or include this in your profile.

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.