shashi Posted February 28, 2017 Share Posted February 28, 2017 Hello there, Can i use file systems in SDK? when i tried running simple example(shown below) on ARM(in ZED board), it is not giving me any results. Can someone please tell me why it is so? file.c Link to comment Share on other sites More sharing options...
jamey.hicks Posted March 3, 2017 Share Posted March 3, 2017 I don't use the Xilinx SDK because I prefer to run Ubuntu or Android on zedboard, zybo, etc. Ubuntu works really well because so many prebuilt packages are available and it's so familiar to developers. With either of these, filesystem access is available as usual. Link to comment Share on other sites More sharing options...
shashi Posted March 3, 2017 Author Share Posted March 3, 2017 Thank you Link to comment Share on other sites More sharing options...
jpeyron Posted February 28, 2017 Share Posted February 28, 2017 Hi @shashi, Looking into this issue i found a pdf here on pages 25 and 26 that discuss using open(), close() and instead say that file support is limited to stdin and stdout. You would be able to use read,write where the fd is either 0(standard input) or 1(standard output). I believe you would need to use the axi quad spi and the sd card to read a file. Could embedded linux be a better solution to this issue? This looks like an example that uses fopen() with embedded linux from xilinx's github. cheers, Jon Link to comment Share on other sites More sharing options...
shashi Posted March 1, 2017 Author Share Posted March 1, 2017 Thank you Link to comment Share on other sites More sharing options...
Question
shashi
Hello there,
Can i use file systems in SDK? when i tried running simple example(shown below) on ARM(in ZED board), it is not giving me any results. Can someone please tell me why it is so?
file.c
Link to comment
Share on other sites
4 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.