4 years, 7 months ago.
How to enable debug-messages from SDFileSystem?
I'm quite new to mbed. I'm using LPC1768. With SDFileSystem I'm able to write some data to a file on the SD-card. But sometimes it seems to block.
For debugging, I've downloaded the windows-USB-serial-driver and I can see "hello world" messages (send with printf() from anywhere in my program) to my pc. But no messages show up when calling disk_initialize(), fopen(), fprintf(), etc. (Although I've seen some examples of debug-output coming from SDFileSystem.)
How can I enable these debug-messages?
Question relating to:
4 years, 6 months ago.
Hi, sorry about the delay, I'm not receiving emails from mbed for some reason. There are no debug messages built into my version of SDFileSystem. If you want some, you'll have to edit SDFileSystem.cpp and add them yourself.