AnsweredAssumed Answered

MQX hangs in _esdhc_status_wait

Question asked by Fabi on Sep 16, 2014
Latest reply on Nov 18, 2014 by Matthew Kendall


From time to time I noticed, that MQX blocks in the following loop:

static uint_32 _esdhc_status_wait


        /* [IN] Module registry pointer */

        SDHC_MemMapPtr esdhc_ptr,


        /* [IN] Mask of IRQSTAT bits to wait for */

        uint_32         mask



    uint_32             result;



        result = esdhc_ptr->IRQSTAT & mask;


    while (0 == result);

Because IQRSTAT == 0 and mask == 2. The problem is, tha all tasks are stopped and no external diagnostic is possible if this comes up.

Is it a SD card or a MQX issue? Any ideas?