4 years, 4 months 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)

IDE : LPCXpresso.

Question relating to:

Example program using the emWin GUI library. Display Module, emwin, LPC4088DM

1 Answer

4 years, 4 months 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:


Accepted Answer

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 Wei Chang Shen 02 Mar 2016