• 0
ireon

Nexys 2 SDK Program Flash doesn't work

Question

Hello I have got a Nexys 2 FPGA and I don't manage to program the flash from the SDK. I always get the same error:

 

Flash Programming Failed

Reason:

In system programmer reported an error: Unable to successfully query target part layout using CFI!

 

What is the problem?

Share this post


Link to post
Share on other sites

6 answers to this question

Recommended Posts

  • 0

I manage to program the flash with a bit file using Adept or Impact, but I need to program an application elf converted into a SREC file in order to perform a bootloader using the example in SDK. 

Edited by ireon

Share this post


Link to post
Share on other sites
  • 0

Hi ireon,

We have a tutorial on how to do this with vivado/sdk here. I haven't been able to find a tutorial or demo that explains the process with ise/edk and sdk for the nexys 2. This or this might be helpfull. Hopefull someone else in the community has more insight.

thank you,

Jon

Share this post


Link to post
Share on other sites
  • 0

Thanks for the reply I read these tutorials but the problem is that "Program Flash" command doesn't work and so it's impossible to execute a bootloader with the desired application. Nobody seems to have a solution and there aren't tutorial for the nexys 2.

Share this post


Link to post
Share on other sites
  • 0

@ireon,

Did you manage to get your problem solved?  If not, I can point you towards some other solutions to programming a QSPI flash on a Xilinx board--solutions you may find more open to trouble shooting than Xilinx or Digilent's proprietary code.  I have one example written for an CMod S6, another written for the Arty, but in general they use the same interface--although the two flash controllers are subtly different.  (I say the same interface, although the CMod controller uses a DEPP digilent parallel interface, and the Arty uses a UART interface for transporting instructions to the board--still, the flash functions are nearly the same.)  Indeed, I think the CMod controller probably comes the closest to what you are looking for.  Both examples also include programs (here, or here) that read ELF files and program the flash appropriately.  (You may need to adjust the address translation appropriately ..)

Let me know if you are interested in this solution, and I can guide you through any steps you might need to adjust them for your board,

Dan

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