Skip to content


Subversion checkout URL

You can clone with
Download ZIP
C++ Java C VHDL Verilog CMake Other
Latest commit ac98483 @jackgassett jackgassett Merge pull request #10 from bmolnar/master
Using int instead of char for getopt return.


Papilio Loader - Current Version 2.7

The Papilio Loader is a branch of xc3sprog ( that is used to load bit files to the Open Source Papilio FPGA boards ( made by Gadget Factory (

Papilio Loader Homepage:

	Fpga - Contains bit files that allow SPI Flash to be programmed.
	Helper-App - A collection of scripts to ease loading bit files.
	Installer - InstallJammer project.
	Java-GUI - A Java GUI that wraps the C++ application. (Recommended)
	Program - The C++ application that can be compiled under Linux. View the Readme for instructions on cross compiling for Windows.

4/1/2015 Version 2.8
	Papilio GUO
		-Fix for SPI Flash not programming correctly in simple mode.
		-Change the Operations buttons to check boxes.

2/24/2015 Version 2.7
	Papilio GUI
		-Add Board Name field so you can manually specify the board name.
		-Added Papilio Pro, Papilio One, and Papilio DUO to Target Board dropdown.
		-Removed .bmm and .hex fields from simple mode.
		-Updated Icon
		-Drivers are signed for easy install in Windows 8
		-Support for the Papilio DUO VID/PID

1/2/2014 Version 2.6
	Papilio GUI
		-Changed the default behavior to write to SPI flash.
		-Fixed problem with not doing an erase, verify, program, verify cycle.
		-Removed old board types.

9/13/2013 Version 2.5
	Fixed error with Java-GUI not detecting line endings in JTextBox. Everything compiles and works on Windows and Linux now.
	Added Linux installer script.

1/4/2012  Version 2.4
	Fixes from MagnusK
		* New cmd-line option (-d) that allows you to specify the FTDI device.  This was asked for in this forum.
		* Spartan-6 LX4 - LX45 parts are added to the built-in device list
		* The fpga wait-code is put back
		* The code now supports many more flash parts
		* The number of pages in the Macronix part is corrected (32768, not 250000)
		* Misc corrections here and there in the code
		* The erase-before-programming is now handled by a new routine (Spi_PartialErase) that tries to be smarter about the erase. 	

12/3/2012 Version 2.3
	Added support for larger bit files with Macronix chips.

8/31/2012 Version 2.2
	Added support for Macronix 64Mb SPI Flash chips.
	Added ability to Erase Flash chip from Explorer context menu.

6/29/2012 Version 2.1
	Java Gui added.
Something went wrong with that request. Please try again.