UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Contributor
Contributor
3,208 Views
Registered: ‎10-01-2009

can we use mfs_file_open in CREATE mode to create files on FLASH

Hi

 

I have webserver implemented on Spartan 3E kit

I want to create a file using MFS library utilities like mfs_file_open in MODE_CREATE in flash memory.

 

Can this be done? How?

 

Thank you

Harshal

 

 

0 Kudos
3 Replies
Xilinx Employee
Xilinx Employee
3,198 Views
Registered: ‎01-18-2008

Re: can we use mfs_file_open in CREATE mode to create files on FLASH

MFS only works in RAM, not Flash. You have to use xilflash or some such library that knows how to write to your Flash device.
0 Kudos
Contributor
Contributor
3,190 Views
Registered: ‎10-01-2009

Re: can we use mfs_file_open in CREATE mode to create files on FLASH

Hi

 

According to XAPP 1026, we use MFS for webserver and store our files in FLASH using image.mfs file which is created using mfsgen tool.

 

I want to modify or create new file on webserver. So I was using MFS functions like mfs_file_open in CREATE mode.

Is this a right approach?

Can we append the data for existing file on webserver using MFS functions?

 

If not in FLASH, then how do we use SDRAM for memory file system for storing files on webserver and for creating the files dynamically?

 

 

Thank you

Harshal

 

0 Kudos
Explorer
Explorer
1,171 Views
Registered: ‎09-08-2014

Re: can we use mfs_file_open in CREATE mode to create files on FLASH

@harshalrode did you manage to fix this?

0 Kudos