cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Adventurer
Adventurer
7,698 Views
Registered: ‎10-23-2014

using Linear flash and BPI flash in ML605

 

There are two kinds of flash in ML605.

 

(1) Xilinx Platform Flash

(2) Numonyx P30 (BPI)

 

I have a .bit file and .srec file to be stored in them and program the FPGA on boot.

 

The flash programming .mcs files i generated for both of them looks exactly the same. They will be same or different.??

 

I was able to boot from xil platform flash and able to read srec to my flash interface in design.

But i am not able to do the same with Numynox P30 flash. Do i need to change any hardware connections in my XPS(.mhs file)

 

(Note: I am changing on board S2-configuration switches accordingly. But still did not work.) 

 

 

0 Kudos
Reply
8 Replies
Highlighted
Community Manager
Community Manager
7,687 Views
Registered: ‎07-23-2012

What was the issue that you are facing? Were you able to configure the FPGA or not?

If the FPGA configuration fails, please read the status register and share it here.

If the application was not getting executed from the flash using SREC, try to run the application standalone.

Regards,
Krishna
-----------------------------------------------------------------------------------------------
Please mark the post as "Accept as solution" if the information provided answers your query/resolves your issue.

Give Kudos to a post which you think is helpful.
0 Kudos
Reply
Highlighted
Scholar
Scholar
7,682 Views
Registered: ‎09-05-2011

Are you following the procedure as mentioned below?
https://engineering.purdue.edu/elab/html/wiki-program-ml605-poweron-flash.html
0 Kudos
Reply
Highlighted
Adventurer
Adventurer
7,672 Views
Registered: ‎10-23-2014

 

Yes, FPGA is configured successfully and srec is not getting executed.

 

For my application i am using Xilkernel. Are you suggesting me to get rid of the kernel and write the application in standalone mode..??

0 Kudos
Reply
Highlighted
Scholar
Scholar
7,670 Views
Registered: ‎09-05-2011

Use the AR below to boot from BPI flash.
http://www.xilinx.com/support/answers/43615.html

Just change the mode pins for ML605. You can boot xilkernel application as well.
0 Kudos
Reply
Highlighted
Adventurer
Adventurer
7,667 Views
Registered: ‎10-23-2014

Yes, I am exactly follwing the same steps.

 

My doubt is, i am adding "linear flash" peripheral in xps using Base System Builder. There is no option in BSB to add BPI Linear Flash Peripheral (to use numonyx JSF28256P30).

 

After adding Linear flash peripheral in BSB, if i take a look at my MHS i see that in axi_emc peripheral

 

BEGIN axi_emc
PARAMETER INSTANCE = Linear_Flash
PARAMETER HW_VER = 1.03.b
PARAMETER C_NUM_BANKS_MEM = 1
PARAMETER C_MEM0_WIDTH = 16
PARAMETER C_INCLUDE_DATAWIDTH_MATCHING_0 = 1
PARAMETER C_MEM0_TYPE = 2
PARAMETER C_TCEDV_PS_MEM_0 = 130000
PARAMETER C_TAVDV_PS_MEM_0 = 130000
PARAMETER C_THZCE_PS_MEM_0 = 35000

 

C_MEM0_Type is taken as 2.

 

and if i check the .mpd file for this peripheral (axi_emc_v2_1_0.mpd) , it is given that C_MEM0_Type has to be 5 for using Numonyx Flash.

 

If i manually change it to 5, i even have to include C_S_AXI_EN_REG=1. If i make this change also, there are some other things that needed to be handled.

 

Is it the correct procedure..??

 

 

 

 

0 Kudos
Reply
Highlighted
Adventurer
Adventurer
7,659 Views
Registered: ‎10-23-2014

 

I am following exactly the same procedure.

I am able to do that successfully with Platform flash.

 

If i follow the same procedure with BPI flash (P30) its not working. FPGA is configured properly.

I am getting an error message from the boot loader as shown.

 

SREC Bootloader
Loading SREC image from flash @ address: 42a00000
ERROR: Error while reading an SREC line from flash

0 Kudos
Reply
Highlighted
Scholar
Scholar
7,627 Views
Registered: ‎09-05-2011

Can you attach the MHS and UCF files of your project? 

0 Kudos
Reply
Highlighted
Adventurer
Adventurer
7,622 Views
Registered: ‎10-23-2014

 
0 Kudos
Reply