Hello Gusarambula,
Thanks for your rapid reply. So you advise the option with the uSDHCx_PROT_CTRL manipulation is the better of two, am I right?
You said I need to init the card before it can work properly. So lets assume each time the cpu boots the card is already inserted and at each boot I perform card initialization and do not remove/insert any other card as long as the processor is not reset. Do you see any problems with this?
I think why you mention this might be a problem is I never get the interrupt from CD_B so I never realize card removal or insertion which is obvious. But the way I described it, I never need to sense any removals or insertions. And I can just init whatever card is present as a regular task of the boot process and as long as the card inserted doesnt chage during run time, etc not hot swapped, I avoid problems. Can you confirm this?
Thanks in advance,
Mete