jbb 0 Report post Posted December 20, 2012 I've not managed to sucessfully program anything into my papilio pro.I'm using the loader program I downloaded from this site.The target board drop down only has "BUtterFly One" and various "PapilioOne ..." opions for 200k and 500k and does not mention Papilio pro.If I select auto detect then then I get "JTAG chainpos: 0 Device IDCODE = 0x24001093 Desc: XC6SLX9" and it appears to work however the boards doesn't seem to do anything. SHould the loader have an option for papilio pro or do I have the wrong version?I tried the SPI option as well and that took about 1 full minute to work but gave no error - but does not appear to have programmed my code to the device properly as it doesn't work.I believe my code to be correct as I have no problems with other fpga boards but of course it could be wrong.Is the original programming file that flashes the LED available anywhere to try putting back as this appeared to work when I first powered up the board, so I can eliminate my code as the cause of this not working? Or do you have any suggestions for what I might be doing wrong?Thanks... Share this post Link to post Share on other sites
jbb 0 Report post Posted December 20, 2012 Ok never mind, I changed USB ports on my computer and now it appears to be working as expected.I'm not sure why one USB port would work and another would "appear" to work but not actually work, but I can confirum that the device appears to be working properly and sorry for the long unnecesary question. Share this post Link to post Share on other sites
Jack Gassett 0 Report post Posted December 20, 2012 hmmm, ok, well more information. papilio-prog is rock solid with the spartan 3e but not 100% with the Spartan 6... Maybe the JTAG programming speed needs to be slowed down.Jack. Share this post Link to post Share on other sites
jbb 0 Report post Posted December 20, 2012 I agree, I think the USB change thing was incorrect and just a coincidence. It seems to work but unreliably as you say. It seems to work reliably for several attempts and then fail several times in a row then work again. It's usable anyway now I know this I just try until it works. Share this post Link to post Share on other sites
OmniTechnoMancer 0 Report post Posted December 20, 2012 From my experience I am much happier with xc3sprog with Jack's changes to make it support the Papilio Pro flash.The only problems I have seen with it was a few verify failures on the flash last night, but those did clear up, otherwise it has worked rock solid for me. Share this post Link to post Share on other sites
Jack Gassett 0 Report post Posted December 20, 2012 Yes, xc3sprog seems more stable. Now I need to either figure out what the difference is, I suspect its the jtag programming speed, or change the Papilio Loader to use xc3sprog... First I have to figure out how to cross-compile xc3sprog for Windows...Jack. Share this post Link to post Share on other sites
OmniTechnoMancer 0 Report post Posted December 20, 2012 You can compile xc3sprog on windows, I have done so.You need aside from the obvious toolchain stuff, cmake for configuring it, and libftdi and libusb.libftd2xx can be used from the papilio loader sources. Share this post Link to post Share on other sites