- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm trying to get a PSOC5LP to read an SD card.
I followed the instructions in the data sheet and am able to read/write from/to the sd card successfully.
The problem is that I'm trying to use the "emf32noslfn" library but I keep getting truncated file names (8 chars) when using the FindFirstFile / FindNextFile functions.
Any help would be appreciated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Without the project to look at hard to judge whats going on.
Possibility your have not cast a variable to the correct size in the code ?
Consider posting your project, makes life easier to troubleshoot.
“File” Creator
“Create Workspace Bundle”
Regards, Dana.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I figured it out.
I had to add "FS_FAT_SupportLFN();" to the init section of the code before calling "FS_Init();"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I spent a day trying to figure this out! I should have just googled it right away... Thanks kokovec!