Code: Select all
ch> tree
FS: 60021 free clusters, 64 sectors per cluster, 196676812and the system becomes unresponsive. If I halt execution in the debugger and try to do a backtrace, I see:
Code: Select all
_unhandled_exception () at ../../os/ports/GCC/ARMCMx/STM32F1xx/vectors.c:194
(gdb) bt
#0 _unhandled_exception () at ../../os/ports/GCC/ARMCMx/STM32F1xx/vectors.c:194
#1 0xfffffffc in ?? ()
#2 0xfffffffc in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)If I put a breakpoint in cmd_tree, then issue the tree command in the shell, and try to step through that function, I am able to determine that this is occurring in the scan_files(). It seems like the call to f_opendir() in the beginning of scan_files() is the cluprit because even single stepping into that function lands me in _uhandled_exception(). Anybody have any idea why this would be happening?
Thanks,
Luke
