Trying to use C to open a shared file in my win7 PC
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("////169.254.5.152//temp//test.txt", "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?