I am logging data to the SL6087 file system.

My problem is when I try to view the log files in the GUI Development Environment it throws out the error: F_ERR_DRVALREADYMNT Error 29

I have tried un-mounting the drive in the code after logging a file but this doesn’t seem to work:


I have also tried to use it in combination with fsRelease:


I have also tried seting UnmountDrive to a Ret value, and putting this in a while loop with adl_ctxSleep() but this just goes on forever not unmounting.

My current work around is to delete the application and then power cycle or sometimes stop if possible, but this is not ideal.

EDIT: the Return Value from adl_fsUnmountDrive(0) is 37: ADL_FS_ERR_TASKNOTFOUND