AnsweredAssumed Answered

New To MQX, Looking for SD Card Help.

Question asked by Derek Brykowski on Apr 1, 2015
Latest reply on Apr 9, 2015 by soledad

HI Everyone,

I'm brand new to the MQX World and just started working with the Tower System.  I have TWR-K53N512 board in my tower with the serial module and the Audio-SGTL board.  I put everything together, set the jumpers as instructed in the quick start guide, ran through the demo that came loaded including using the shell over USB, reading an SD Card, and so on. 

Now I'm ready to build my first demo.  I downloaded a fresh copy of MQX 4.1 from the web, I'm using IAR 6.70, downloaded all the needed drivers and such from P&E, and am able to emulate on my tower.  I started with the IAR Build for the K53, added the I2S sample application to work with the Audio Board, set up the user_config.h file, and loaded it onto my tower.

 

I keep getting "Error opening filesystem: UNKNOWN ERROR !!!" from the shell when the SD Card is installed, or right away at power up if it's installed before I start the emulator.

The prompt at startup shows everything else initialized properly, but I can't get the SD Card to work.  The SD Card worked with the example application that came loaded on the board and works on my PC...I'm guessing I'm missing something obvious but I'm not sure where to look.  Any help would be appreciated. 

 

Below is how I current have my config set up.

 

 

#define BSPCFG_ENABLE_LEGACY_II2C_SLAVE 0

 

/* MGCT: <generated_code> */

#define BSPCFG_ENABLE_TTYA   1
#define BSPCFG_ENABLE_ITTYA  0
#define BSPCFG_ENABLE_TTYB   1
#define BSPCFG_ENABLE_ITTYB  0
#define BSPCFG_ENABLE_TTYC   0
#define BSPCFG_ENABLE_ITTYC  0
#define BSPCFG_ENABLE_TTYD   1
#define BSPCFG_ENABLE_ITTYD  0
#define BSPCFG_ENABLE_TTYE   0
#define BSPCFG_ENABLE_ITTYE  0
#define BSPCFG_ENABLE_TTYF   0
#define BSPCFG_ENABLE_ITTYF  0
#define BSPCFG_ENABLE_I2C0   0
#define BSPCFG_ENABLE_II2C0  0
#define BSPCFG_ENABLE_I2C1   1
#define BSPCFG_ENABLE_II2C1  1
#define BSPCFG_ENABLE_SPI0   1
#define BSPCFG_ENABLE_SPI1   1
#define BSPCFG_ENABLE_SPI2   0
#define BSPCFG_ENABLE_RTCDEV 1
#define BSPCFG_ENABLE_PCFLASH0
#define BSPCFG_ENABLE_ADC0   0
#define BSPCFG_ENABLE_ADC1   0
#define BSPCFG_ENABLE_FLASHX 0
#define BSPCFG_ENABLE_ESDHC  1
#define BSPCFG_ENABLE_LCD    0
#define BSPCFG_ENABLE_II2S0  1
#define BSPCFG_ENABLE_USBDCD 0
#define BSPCFG_ENABLE_IUSBDCD0
#define BSPCFG_ENABLE_IODEBUG0

 

#define MQX_USE_IDLE_TASK    1
#define MQX_ENABLE_LOW_POWER 0

 

#define RTCSCFG_ENABLE_ICMP  0
#define RTCSCFG_ENABLE_UDP   0
#define RTCSCFG_ENABLE_TCP   0
#define RTCSCFG_ENABLE_STATS 0

#define RTCSCFG_ENABLE_GATEWAYS  0

#define FTPDCFG_USES_MFS     0
#define RTCSCFG_ENABLE_SNMP  0

 

#define TELNETDCFG_NOWAIT    FALSE

 

#define MQX_TASK_DESTRUCTION 1

Outcomes