Guest helltone Posted December 15, 2010 Report Share Posted December 15, 2010 Hi, I have a papilio 2.04 250k board and programming the FPGA works fine, but programming the SPI I have the following error: $ papilioloader -v -b top.bit -f bscan_spi_xc3s250e.bit -sp -r Using built-in device list JTAG chainpos: 0 Device IDCODE = 0x11c1a093 Desc: XC3S250E Uploading "top.bit". Done. Programming time 271.3 ms Programming External Flash Memory with "bscan_spi_xc3s250e.bit". Uknown Flash Manufacturer Error: SPI Status Register [0x00] mismatch (Wrong device or device not ready).. Error occured. USB transactions: Write 87 read 4 retries 3 Any ideas? Link to comment Share on other sites More sharing options...
Jack Gassett Posted December 15, 2010 Report Share Posted December 15, 2010 Hello, Try to reverse your -f and -b parameters, there was a typo in the help section of the original source code. I thought we corrected that but maybe not. So try the following: papilioloader -v -b bscan_spi_xc3s250e.bit -f top.bit -sp -r Jack. Link to comment Share on other sites More sharing options...
Guest helltone Posted December 16, 2010 Report Share Posted December 16, 2010 Tried, did not work. We have bought a dozen boards and I cannot program any of them, so I imagine this is not a problem with the boards? Link to comment Share on other sites More sharing options...
Jack Gassett Posted December 16, 2010 Report Share Posted December 16, 2010 Part of my standard testing procedure before I send boards out is to program the SPI Flash chip with the ASCIIText sketch. So if you see the RX led flash when you plug the board into the USB port then you know the SPI flash works correctly. Where did you get the papilioloader you are using from? Are you running it under Linux or Windows? Here are a couple of things to try. First of all, if you download the Arduino IDE there is a board option to "burn" the design. This uses the papilioloader in SPI mode and can provide a working example. Or if you download the Papilio Loader 1.4 it has a shell script for programming the Papilio One that includes an option and an example of programming the SPI flash. Both can be downloaded from the download page. Jack. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.