ireon Posted November 3, 2016 Share Posted November 3, 2016 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? Link to comment Share on other sites More sharing options...
jpeyron Posted November 3, 2016 Share Posted November 3, 2016 Hi ireon, Looking at the reference manual here. It states that you should be using Adept which you can find here to program a bit file into the flash. thank you, Jon Link to comment Share on other sites More sharing options...
ireon Posted November 3, 2016 Author Share Posted November 3, 2016 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. Link to comment Share on other sites More sharing options...
jpeyron Posted November 4, 2016 Share Posted November 4, 2016 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 Link to comment Share on other sites More sharing options...
ireon Posted November 4, 2016 Author Share Posted November 4, 2016 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. Link to comment Share on other sites More sharing options...
jpeyron Posted November 4, 2016 Share Posted November 4, 2016 Hi ireon, I also found this for spartan 3 fpga's. Hopefully this could help you! cheers, Jon Link to comment Share on other sites More sharing options...
D@n Posted November 5, 2016 Share Posted November 5, 2016 @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 Link to comment Share on other sites More sharing options...
Question
ireon
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?
Link to comment
Share on other sites
6 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.