01-04-2015 10:10 PM
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.)
01-05-2015 12:21 AM
01-05-2015 01:41 AM
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..??
01-05-2015 01:49 AM
01-05-2015 01:58 AM
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
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..??
01-05-2015 02:10 AM
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.
Loading SREC image from flash @ address: 42a00000
ERROR: Error while reading an SREC line from flash