Hello everyone, I'm new here.
I want to create a TXT or CSV file in a SD Card with FatFs library and the ATMEGA328P; i've tried with some examples but i haven't gotten anything . I've tried some tutorials and used older versions (http://web.archive.org/web/20150715053300/http://elm-chan.org/fsw/ff/ffsample.zip) because i read in this post that newer versions have some problems ( https://www.avrfreaks.net/forum/implementing-fatfs-library-avr-micro). Also I tried to configurate it by myself but honestly i dont understand how to do it for this microcontroller, whenever i tried i got the following error: id returned 1 exit status collect2.exe.
The closest I was to achieving it was using another library, with this one I could create the file but I coudn´t write into it (https://www.dharmanitech.com/2009/01/sd-card-interfacing-with-atmega8-fat32.html).
Please if anyone could help me to configurate the library or with an example it would be fantastic (i don't want to use Arduino Software).
Sorry, I think this is not the correct forum but I don’t know how to move my publication.