Hi UTMonkey, thanks for the reply.
The file is close to 0kb so I'm guessing that shouldn't be a problem.
I still have not tried writing from the uC yet, just trying to read from the SD card as of now.
I'm not using any FAT libraries as such. Written a code to check if the SD card is FAT formatted thats all. I'm doing this by reading the first cluster of the SD card using the 'SD_READ_BLOCK' command and storing it in an array. If FAT formatted, the values 'F','A','T','1','16' will be stored in particular locations of the array. Thats how I know if it is FAT formatted.
I'm sorry I don't have access to my code as of now. Will update the code ASAP.
The main problem as of now is reading a file from the SD. I still haven't tried writing a file, so will try the same and update the result.
Best regards.