Search Results

Search results 1-6 of 6.

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • Hello Marius, I'm already using FS_FAT_SupportLFN(); but not able to capture date. Please check the bold area. If i'm putting dash it is not creating folder. I need to add any source or header file? Please let me know. FS_Init(); void FS_FAT_SupportLFN(); /* Get volume name of SD card #0 */ if(0 != FS_GetVolumeName(0u, &sdVolName[0], 9u)) { /* Getting volume name succeeded */ UART_UartPutString(" mixBuffer "); UART_UartPutString(sdVolName); } else { /* Operation Failed - indicate this */ UART_Ua…

  • Hello Marius, Thank you for your time. I'm also able to give the file name according to date stamping. I want to put long folder (directory) name. I'm getting a folder from FS_Mkdir(""), I want to put directory name as 01-27-2016, but now i'm just getting(01272016). FS_FAT_SupportLFN(); for long file name. Is there something for long directory(folder) name. Thanks,

  • Thank you Marius, Now i'm getting all the correct values. I just want to ask one thing which is that i want to put long directory name (01-27-2016) according to time stamping but i'm not able to do this. if i will remove dash(-) between them then i'll get correct (01272016) nos but with dash it is not possible. is there something for long directory name. Thanks,

  • Hello Marius, I'm using RTC here but in programming i'm getting correct date & time in length = sprintf() but here whem i'm trying to get the time & date it is not giving me correct date. Here is an API U32 FS_X_GetTimeDate(void) { U32 r; U16 Sec, Min, Hour; U16 Day, Month, Year; Sec = 0; /* 0 based. Valid range: 0..59 */ Min = 0; /* 0 based. Valid range: 0..59 */ Hour = 0; /* 0 based. Valid range: 0..23 */ Day = 1; /* 1 based. Means that 1 is 1. Valid range is 1..31 (depending on month) */ Mont…

  • Hello Marius, Thank you for your suggestion. I want to ask you one more thing which is that i'm getting the date is 31-12-1969. I tried to correct it but not getting correct values. Thanks,

  • Hello, I'm working on PSoC 4BLE. I created a project using emFile(SPI) component for SD card. I'm able to store data in folder & file. I want to store the data according to time. I want to store today's data in folder name as 01/20/2016, tomorrow's data in another folder name as 01/21/2016 like that.It means folder will create by daily basis & data will store in itso whenever i need previous data i can fetch the data using sd card date folder. I tried so many things there but the structure is co…