Chris_C

programming spi flash with bit pattern doesn't write fpga on power on

Recommended Posts

as the title...

 

using the gui tool with write to set to SPI flash, I send a working bit pattern file, however when the board powers on it doesn't seem to use the bit pattern the LED it should

 

any ideas what dimmness I'm upto !

Share this post


Link to post
Share on other sites

in case it helps

Using devlist.txtJTAG chainpos: 0 Device IDCODE = 0x24001093	Desc: XC6SLX9Using devlist.txtJTAG chainpos: 0 Device IDCODE = 0x24001093	Desc: XC6SLX9Uploading "/opt/GadgetFactory/papilio-loader/programmer/bscan_spi_xc6slx9.bit". DNA is 0x79245c2382ffd5feDone.Programming time 541.3 msProgramming External Flash Memory with "/home/chris/development/papilio/test1/main.bit".Found Macronix Flash (Pages=32768, Page Size=256 bytes, 67108864 bits).Programming :......OkDone.SPI execution time 6748.1 msUSB transactions: Write 4174 read 4005 retries 3579Using devlist.txtJTAG chainpos: 0 Device IDCODE = 0x24001093	Desc: XC6SLX9ISC_Done       = 1ISC_Enabled    = 0House Cleaning = 1DONE           = 1

Share this post


Link to post
Share on other sites

that was exactly the issue! thanks so much!

I do wonder why "normal" mode doesn't do an erase as a matter of course, a write without erase isn't really much use! unless you are programming different sections of the flash but then by definition that's advanced and anyhow it could be a partial erase no?

Share this post


Link to post
Share on other sites

Arghhh! I still need to dig into that, I was supposed to work on something fun today, a wishbone waveform generator, but I guess I better look at Papilio Loader instead...

 

Jack.

Share this post


Link to post
Share on other sites

owch did I spoil your fun, mind you I bet you, getting the pap programmer working for the first time was a buzz! I like the way it programs the fpga to take over the jtag pins for some functions and that you can do a number of different things not just send a bit pattern, its always worth improving a nice tool...

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now