From time to time I noticed, that MQX blocks in the following loop:
static uint_32 _esdhc_status_wait
/* [IN] Module registry pointer */
/* [IN] Mask of IRQSTAT bits to wait for */
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?