FPGA Intellectual Property
PCI Express*, Networking and Connectivity, Memory Interfaces, DSP IP, and Video IP
6352 Discussions

how to use serial flash loader ip with flash controller

SCHAN189
Beginner
482 Views

hey,

i'm facing problem with serial flash loader.I'm trying to use my own flash controller and the thing is i'm unable to access the flash memory.

I'm currently using arria 10 fpga.I'm little confused on how to connect the pins to serial flash loader ip.

Here are the connections i've made

serial_flash:serial_flash_loader

port map(

dclk_in       => clk_in,

ncso_in       => config_select,

data_in       => data_in,  

data_oe       => x"1", 

noe_in       => '0',    

asmi_access_granted => asmi_access_request,

data_out      => data_out,

asmi_access_request => asmi_access_request

);

 

I might be something fundamental that I do not understand since I'm new to both FPGA and quartus.

 

 

 

0 Kudos
5 Replies
NurAiman_M_Intel
Employee
445 Views

Hi,

 

Thank you for contacting Intel community.

 

Have you refer to AN370 below:

https://www.intel.com/content/dam/www/programmable/us/en/pdfs/literature/an/an370.pdf

 

Let me know if you need further information.

 

Regards,

Aiman

0 Kudos
SCHAN189
Beginner
445 Views

yes , i have referred the document.The thing is i'm using my own flash controller and i'm facing no problem in the simulation.But when i use the sfl,i'm unable to read or write to the flash.

0 Kudos
NurAiman_M_Intel
Employee
445 Views

Hi,

 

Can you please kindly check page 14 again,

from the AN370

 

data_in , data_out and data_oe are 4 bits

You are setting it to be 1 bits

i believe it is the RTL connection problem.

 

Try to check page 14 for correction connection with IP.

 

Thank you.

 

Regards,

Aiman

 

 

 

0 Kudos
SCHAN189
Beginner
445 Views

hi,

i'm currently using spi mode only not quad spi.

So i think in that case,i should only be using 1 bit for read and 1 for write.

0 Kudos
NurAiman_M_Intel
Employee
445 Views

Hi,

 

Per my understanding, you are doing a simulation? If yes, simulation cannot be done by using ip, it need to be done with hardware.

 

If not, can you please share your dull v/vhdl file through private message in order for us to understand the situation?

 

Thank you.

 

Regards,

Aiman

0 Kudos
Reply