FPGA, SoC, And CPLD Boards And Kits
FPGA Evaluation and Development Kits
5892 Discussions

Arria10SoC Development kit: Failing to burn the on board QSPI flash

aamlb
Beginner
1,360 Views

Hello,

I prepared a binary stream for burning to the QSPI flash: 128MB (MT25QU01GBBA8E12-0SIT), which installed on J11.

I followed the instructions on https://community.intel.com/t5/FPGA-Wiki/Generic-Serial-Flash-Interface-GSFI-and-Nios-II-Booting-Quick/ta-p/1201053 :

- Created the JIC file

- Open programmer (Quartus Prime standard 19.1), adding the JIC file and program it.

The Quartus message of the programming:

Info (209060): Started Programmer operation at Mon Oct 19 11:25:21 2020
Info (209016): Configuring device index 1
Info (209017): Device 1 contains JTAG ID code 0x02E050DD
Info (209007): Configuration succeeded -- 1 device(s) configured
Info (20555): Initializing flash 1 at device index 1
Info (20531): Read ID returned 0xFF 0xFF 0xFF
Info (20531): Read NVCR returned 0xFF 0xFF
Info (19094): Erasing flash 1 at device index 1
Info (19096): Programming flash 1 at device index 1
Info (209011): Successfully performed operation(s)
Info (209061): Ended Programmer operation at Mon Oct 19 11:26:35 2020

All the programing steps were successful (all green), but the above bold line return flash ID as 0xFF..., while the expected value per the 'Generic_Serial_Flash_Interface_design_example_quick_start_guide_final_updated.pdf' in page 18 should be none default value.

What is the procedure to resolve this issue?

Thanks you.

0 Kudos
15 Replies
YuanLi_S_Intel
Employee
1,352 Views

First of all, is the design working as intended after the programming?


Also, have you set the ID value during bitstream generation?

(Page 15 of the PDF)


Also, have you set the NVCR value by following page 17?


0 Kudos
aamlb
Beginner
1,341 Views

Hi,

Following the Q&A.

Q: First of all, is the design working as intended after the programming?

A: The JIC produced with the 'Factory default SFL image' for Arria10 and the HEX file. No SOF added since the FPGA should be loaded from other QSPI flash.

Q: Also, have you set the ID value during bitstream generation?

(Page 15 of the PDF)

A: Yes, set to the correct ID of the flash.

Q: Also, have you set the NVCR value by following page 17?

A: Although it not clear where this step, it added prior to the 'Read NVCR'.

-----

If I understand it right, the NVCR is optional, but the issues start while we can't read the ID.

Attached the configuration device xml for your review.

Thank you.

0 Kudos
aamlb
Beginner
1,337 Views

Hi,

I have a small correction, the attached xml is from my testing, the right one has 'Read ID' length is 3.

Attached.

 

0 Kudos
YuanLi_S_Intel
Employee
1,293 Views

You were asking about the resolution for this 2 information right?

Info (20531): Read ID returned 0xFF 0xFF 0xFF

Info (20531): Read NVCR returned 0xFF 0xFF


Thus, you will need to provide NVCR in advance in order to get a value for NVCR.


0 Kudos
aamlb
Beginner
1,282 Views

Hi,

  1. Regarding the NVCR, please advice how and where to add the initial value in the flow chart.
  2. As far as I understand, the ID should be read without any additional initialization. Why it read with 0xFF.

Thank you.

0 Kudos
YuanLi_S_Intel
Employee
1,258 Views

HI,


Sorry for being late as i have been checking with internal team. The possible issue for causing this is due to IP setting problem and Config Device Selection problem.


Just would like to understand on this, what are the device you selected?

https://fpgacloud.intel.com/devstore/platform/18.1std.1/Standard/generic-serial-flash-interface-and-nios-ii-booting/ (Page 15 in PDF)


As you are using 1GB micron flash devices, the device density should be 1024 Mb instead of 128 Mb. Can you please try?


Thank You


0 Kudos
YuanLi_S_Intel
Employee
1,239 Views

Any update on this? Does it work?


0 Kudos
aamlb
Beginner
1,220 Views

Hi,

You can see that all the information is already supplied, as written in '‎10-19-2020 12:12 PM', you can see exactly the flash p/n. The configuration in the xml from my reply at ‎'10-22-2020 08:53 PM'.
You can see the exactly which flash and the configuration I use, and it doesn't work.

Thank you.

0 Kudos
YuanLi_S_Intel
Employee
1,213 Views

Have you tried on this?


As you are using 1GB micron flash devices, the device density should be 1024 Mb instead of 128 Mb.


0 Kudos
aamlb
Beginner
1,208 Views

Hi,

Please check the xml which attached to the reply at '‎10-22-2020 08:53 PM', the flash size configured to 1024Mb.

0 Kudos
YuanLi_S_Intel
Employee
1,179 Views

Hi,


From the XML i dont see any problem, it seems like the setting during JIC file generation is appropriate. Another thing that i would like to check with you is on the IP side, during SFL IP initialization, have you selected 1024mb and also select as Active Serial configuration in Quartus?


Thank You


0 Kudos
aamlb
Beginner
1,167 Views

Hi,

Please note that we are trying to boot the nios from the QSPI flash that installed on the EVB piggy card (J11).

  1. Does the controller should be configured to 'Active serial' also?
  2. There is also the following configuration:
    1. 1cs, 4B addressing
    2. Nios reset vector - (0x00f0_0000)
    3. added "PGM_ALLOW_MT25Q=ON" in quartus.ini local new file

Please advise if all the above as expected.

Thank you.

0 Kudos
YuanLi_S_Intel
Employee
1,158 Views

Hi,


The ini file is meant to have micron flash memory to be selectable. Also, you chip select is pointing to 0x1? that means 2nd device? Can you confirm?


The configuration scheme i meant, you may take a look at user guide below:

https://www.intel.com/content/dam/www/programmable/us/en/pdfs/literature/ug/ug-qps-gen-flash-programmer.pdf (Page 7)


You need to set to AS x4.


Also, would like to check, when you program the JIC normally without the setup, is the programming successful? Also, is the ID shown correct?


Thank You.


Regards,

Bruce


0 Kudos
YuanLi_S_Intel
Employee
1,134 Views

Any update on this?


0 Kudos
APPU_appu
New Contributor I
1,075 Views

Hi @YuanLi_S_Intel  @aamlb @Sethuraman_K_Intel  @Altera_Forum @John_K_Intel  Arria 10 gx remote upgrade generic flash access using flash epcql1024 for board part no 10AX115S2F45 Altera_Forum

 

I am trying generate project for remote upgradation using generic serial flash. I am facing issue while generating jic file because .hex file address problem.

Can some help me to how to give the addresing for .sof and .hex file for converting into .jic file

here is my project

  

0 Kudos
Reply