AnsweredAssumed Answered

_io_read() function issues

Question asked by OLIVIA CHRISTY VARGHESE on Sep 20, 2016

Hi all,

I am trying to read an Audio file from a USB. But my file is 686K. I want to read it directly using a pointer by incrementing the pointer with the buffer size. But it is not working. Does anybody have a solution for this issue. I cannot use SPI . I have to read it directly and give it to a DMA buffer. 

 

When I developed the code first time it works fine but in the second loopingit stck inn the _io_read and nothing is happening. Is it because everytime I need to open the file or can I read it multiple times with just one open function.

Outcomes