Hello... I'm trying to use this with the mbed-rtos, and it is just not happening.
It can see the card - sd.card_type() and sd.disk_sectors() return the correct values.
sd.opendir always returns NULL. As does fopen.
I tried moving all the sd operations to a separate thread with a large (8K - 4x default) stack. Still no joy.
Where should I start looking? <edit>
OK, I think I found something:
The example provided works with mbed versions 137 and lower
The example provided does NOT work with versions 138, 139 and 140. I see comments about 'interrupt in' being deprecated (on the cs line), this may or may not be part of the problem.
Near as I can tell mbed-rtos is not part of the problem.
Bottom line: It (SDFileSystem) does NOT work with the latest mbed release.
Hi everyone,
Ik did some more testing en after a export to the LPCXpresso IDE logging is not locked after 1368 appends. So the possible problem is the Mbed compiler. I only have make a import and I changed nothing to the LPCXpresso IDE compiler settings.
26 june 2016 ;
For sure its the online Mbed compiler, after export to LPCXpresso I did every try to lock up my logging. 2/3 time a second a write en remove random the SD card run the program for a few days and everything works rock stable.....