1
\$\begingroup\$

Please need help in:

  1. Do somebody have a a working code that writes to sd card via sdio using FatFs and DMA?( data logger)

  2. In a poling mode (without DMA) I am writing to .bin file and getting error when the file is 4096 bytes. Do you know how and where can I remove this limit?

\$\endgroup\$
  • \$\begingroup\$ you should write blocks of 512 bytes at once. \$\endgroup\$ – Marko Buršič May 10 '16 at 8:19
  • \$\begingroup\$ I am ...but I think my sdio-dma configurations have some trouble.... The code stacks in while loop that waiting for response that the writing completed ....but it never complete... \$\endgroup\$ – Anna May 10 '16 at 13:43
  • \$\begingroup\$ At point 2. you are saying in polling mode (no DMA) you have problems, too. The DMA is even more complicated. Altrough I don't have a crystall ball to know what you are doing wrong, neither the sample code for data logger. \$\endgroup\$ – Marko Buršič May 10 '16 at 13:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.