Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
9 years, 8 months ago.
How to enable debug-messages from SDFileSystem?
Hi all,
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?
Regards, Patrick
Question relating to:
1 Answer
9 years, 7 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.