cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
harshalrode
Contributor
Contributor
3,300 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
vsiva
Xilinx Employee
Xilinx Employee
3,290 Views
Registered: ‎01-18-2008

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
harshalrode
Contributor
Contributor
3,282 Views
Registered: ‎10-01-2009

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
pcaddick
Explorer
Explorer
1,263 Views
Registered: ‎09-08-2014

@harshalrode did you manage to fix this?

0 Kudos