Hi all,
Please help me...
when I use SDIORWDirect() function to send a CMD52 to the SDIO card...... the function
repetedly returns sysParamErr..that means the parameters are wrong....
But in the parameters I am giving the correct parameters...God knows where am i going
wrong.....any one has the answer please reply....
Here is the code for reference
/*Prototype : SDIORWDirect( UInt16 SlotLibRefNum, SDIORWDirectType * directP ); */
Err error;
SDIORWDirectType Params;
SDIODebugOptionType trace;
UInt16 i;
//Write
Params.requestingFunc = 1;
Params.mode = sdioRWModeWrite;
Params.funcNum = 1;
Params.byteAddress = 0x06;
Params.byteData = 0x08;
error = SDIORWDirect( gSlotLibRefNum, &Params );
Somebody please Help me.....
Thanks in advance
bye
wax
Get Your Private, Free E-mail from Indiatimes at http://email.indiatimes.com
Buy The Best In BOOKS at http://www.bestsellers.indiatimes.com
Bid for for Air Tickets @ Re.1 on Air Sahara Flights. Just log on to
http://airsahara.indiatimes.com and Bid Now !
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/