FPGA, SoC, And CPLD Boards And Kits
FPGA Evaluation and Development Kits
All support for Intel NUC 7 - 13 systems has transitioned to ASUS. Read latest update.
5848 Discussions

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

Honored Contributor II

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