EmbDev.net

Forum: FPGA, VHDL & Verilog File system in vivado SDK


Author: Sai Shashi (Company: sssihl) (shashidhar)
Posted on:
Attached files:

Rate this post
0 useful
not useful
Hi all,
Can i use file systems in SDK? when i tried running simple example(shown 
below) on zynq, it is not giving me any results. Can someone please tell 
me why it is so?

Author: Lothar Miller (lkmiller) (Moderator)
Posted on:

Rate this post
0 useful
not useful
Sai S. wrote:
> it is not giving me any results.
What does it do instead? Does it run? Does it report any kind of 
error? Do you at least get a valid filepointer?

> Can i use file systems in SDK?
Does your hardware support any kind of memory on which a file system 
can be implemented?

> fp = fopen ("C:\\Users\\Sairam\\Desktop\\OUTPUT\\file.txt", "w+");
Ouch, ouch. Does your zynq hardware have a drive "c:\"?
As far as I see: you have a big problem about understandig where your 
software is running actually.
It is NOT running on your PC with your drive "C:\Users\...". Instead you 
develop software thats running on a zynq-board on your table without any 
drive "C:\Users\...".

> Can someone please tell me why it is so?
Become clear about the design flow and the target. At the moment you are 
on the very wrong track!

: Edited by Moderator
Author: Sai Shashi (Company: sssihl) (shashidhar)
Posted on:

Rate this post
0 useful
not useful
HI
thanks for the reply. I am new to this area. I got a fair idea of what 
is happening. Basically i need to process a file of size 25MB. If i 
store that in a header file in vivado SDK, the compiler hangs. So i was 
exploring these options.

Do you have any idea regarding this.(I am using zed board (zynq 7000) 
for processing)

Author: Lothar Miller (lkmiller) (Moderator)
Posted on:

Rate this post
0 useful
not useful
Sai S. wrote:
> Basically i need to process a file of size 25MB.
What kind of data is in the file? What kind of process must the FPGA 
perform?

Usually it goes like this: you read the file in the PC and send a 
datastream via Ethernet to the FPGA. The FPGA does some calculations and 
sends the result back to the PC. There you store it an the hard disk.

> If i store that in a header file in vivado SDK, the compiler hangs
If you have the MicroZed at least, then you have a microSD port. And 
there should be some samples how to access it.

> I got a fair idea of what is happening.
To be honest: I'm not that sure at all...

: Edited by Moderator
Author: Julian Bauer (Guest)
Posted on:

Rate this post
0 useful
not useful
if you set up a file system in bare metal, please let me know

Reply

Entering an e-mail address is optional. If you want to receive reply notifications by e-mail, please log in.

Rules — please read before posting

  • Post long source code as attachment, not in the text
  • Posting advertisements is forbidden.

Formatting options

  • [c]C code[/c]
  • [avrasm]AVR assembler code[/avrasm]
  • [vhdl]VHDL code[/vhdl]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]




Bild automatisch verkleinern, falls nötig