flash programmer issue
Hi,
My FPGA: Cyclone 10 LP 10CL120Y484I7G
Flash: M25P64, ID: 202017, sector_size = 65536 , sector_count = 128
I am now able to program sof to FPGA via Quartus-->Tools-->Programmer.
As the flash type/ID is not know by Quartus-->File-->Convert Programming Files, I cannot convert sof to jic/pof.
So I have to program sof and elf via Eclipse --> NIOS II -->Flash Programmer. I am facing the following issue.
In Quartus --> Tools --> Programmer, the tool can burn sof to FPGA. It can detect FPGA but not flash.
There are 2 possible reasons why it cannot detect flash:
reason 1: flash is incorrect connected.
reason 2: flash is not recognized by FPGA.
Could you please tell me how to tell which reason is true?
One more question is:
I connect flash to FPGA's default flash interface, and I didn't operate that interface. I don't know whether I should do anything to make FPGA and flash work.
Thank you for your reply!
In this thread, I was told the flash M25P64 is not compatible: https://community.intel.com/t5/Nios-V-II-Embedded-Design-Suite/Target-is-broken-and-needs-to-be-reset/td-p/1688694
Corrently, I did the following experiments:
experiment 1: program sof file to FPGA successfully, and FPGA works as expected output.
experiment 2: click Auto Detect button on Quartus-->Tools --> Programmer, digital signal could be observed on the data pin of the connection from FPGA to flash, but not clock on the clk pin from FPGA to flash.
experiment 3: convert sof file to jic file, and add jic file to Quartus-->Tools --> Programmer, and click start button. no digital signal on the data pin of FPGA and flash connection, no clk was sent out from the SPI of FPGA and flash as well. Failed was seen on Programmer tools. no more information was seen.
From those above experiments, I guess FPGA was not successfully started or initialized?