Cactus Posted March 22, 2014 Report Share Posted March 22, 2014 Hi, I can use papilio-prog -f foo.bit to upload my bitstream to RAM, or I can use the Java GUI to flash it. Is there a way to use papilio-prog to flash to SPI from the command line? The obvious flag would seem to be -b, but that just results in: Please specify main bit file (-f <bitfile>) Link to comment Share on other sites More sharing options...
alex Posted March 22, 2014 Report Share Posted March 22, 2014 You need both -f and -b flags. The first one points to the bit file you want to program to flash and the second one to the bscan file appropriate for your FPGA. Link to comment Share on other sites More sharing options...
offroad Posted March 22, 2014 Report Share Posted March 22, 2014 yes, I can confirm this works on Linux at least (and from the GUI).The "-b" file implements a temporary interface on the FPGA that passes the bitstream to the flash memory, comes with the tools, filename matches the board you're using. Link to comment Share on other sites More sharing options...
Cactus Posted March 23, 2014 Author Report Share Posted March 23, 2014 So, on a Papilio One 500k, I would use bscan_spi_xc3s500e.bit as the -b file? And the Java GUI just auto-detects it and picks the right one? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.