cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
wapry
Visitor
Visitor
4,778 Views
Registered: ‎05-12-2016

how much data can be read in a SD Card?

Jump to solution

Hi,

i have a software in Vivado SDK that read and write data float to/from SD Card using FatFs library.

Now i want to read/write 1,6 MBytes from an existing binary file(1.6 Mbytes is also the file size) but if i use this value in fread, i have disk error return value and debugging the code i can see the last value of "br"(number of bytes read) before the error is 196608.   Infact, if i use this this value in the number of bytes to read field of fread, i haven't problem but no all the data are read.

 

So, how much data can be read in one shot?

 

Thanks

Marco

0 Kudos
1 Solution

Accepted Solutions
wapry
Visitor
Visitor
8,821 Views
Registered: ‎05-12-2016

Hi,

i resolved increasing the heap size in SDK

 

Thanks

View solution in original post

0 Kudos
1 Reply
wapry
Visitor
Visitor
8,822 Views
Registered: ‎05-12-2016

Hi,

i resolved increasing the heap size in SDK

 

Thanks

View solution in original post

0 Kudos