FPGA, SoC, And CPLD Boards And Kits
FPGA Evaluation and Development Kits
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
5015 Discussions

Trying to use C to open a shared file in my win7 PC

Honored Contributor I

I just purchased the Deo Nano SoC and I am trying to understand its speed for different tasks. I wrote some loops in C with some output to screen and I was impressed. Now I want to read data from a shared file from my win7 PC. In my C code, I have the tried variations of the following line of code with no success. 


fp = fopen("////", "w+"); 


I use make and scp to transfer to the Soc 


When I run 


root@socfpga:~# ./my_second_hps 



I get the following: 

Segmentation fault 


My "temp" folder in "c:\" with State: Shared 

The IP address is that of my PC 


What am I doing wrong?
0 Kudos
0 Replies