I'm trying to get a bare metal application read and writing to an SD Card file system on a MicroZed board.
My initialization sequence is:
f_mount( &fatfs, "/", 1);
and these return good status results. I know these are working properly because I was able to create and write to a file using f_open, f_write, and f_close.
However, trying to do "f_readdir" has caused an exception. I've traced it down to this call stack:
and then inside that function the call stack becomes corrupt and I land in Xil_ExceptionNullHandler.
Any idea what is causing this and how to fix?