Community
cancel
Showing results for 
Search instead for 
Did you mean: 
SCHAN189
Beginner
103 Views

how to use serial flash loader ip with flash controller

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
66 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

SCHAN189
Beginner
66 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.

NurAiman_M_Intel
Employee
66 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

 

 

 

SCHAN189
Beginner
66 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.

NurAiman_M_Intel
Employee
66 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