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 ago.
How to use MCIFileSystem in this example ?
I'm using lpc4088_displaymodule_emwin to do my work. When I defined the MCIFileSystem mcifs("mci") and debug, it came up the "startup_lpc407x_8x.cpp" and showed the code as follow :
__attribute__ ((section(".after_vectors"))) void HardFault_Handler(void) { while(1) { } }
IDE : LPCXpresso.
Question relating to:

1 Answer
9 years ago.
You should not create the MCIFileSystem object yourself. Instead let the DMSupport library create it for you.
To do this, set the DM_BOARD_USE_MCI_FS define in the dm_board_config.h file, as described on this wiki page:
https://developer.mbed.org/teams/Embedded-Artists/wiki/LPC4088DM-Using-Filesystems#mcifilesystem
There comes other question. I use emwin create a button, if I clicked and released the button, then save .txt file to SDcard. The file did exist after I clicking the button, but it can't write things into the file. For example, I wanted to write "Hello world !" into the file, after I released the button the whole LPC4088DM platform was broken and stuck. How can I solve this problem. Please help me, I must solve this promble urgently.
posted by 02 Mar 2016