Hello Everyone!
MSP430f5438A
tirtos_msp430_2_00_02_36
micro SDcard 64GB (UHS-I card) filesystem: FAT32
I am having issue with fopen() function. The first fopen() function call to create a new file, creates a file with wrong filename. e.g: if I want to create file with name "arslan.txt", then it creates the file with name "rrslan.txt".
So it replaces the first letter of the name with the second letter. And this only happens for the first file.
And for the 2nd and third file, sometimes it adds an extra "0" in the name with a space. e.g: for "arslan.txt" it creates "arslan 0.txt"
Other functions fwrite() fclose() works.
Can anyone please help me out?
Thanks!
Arslan