read flash of Q2686 in debug mode but in target mode,help me

void adl_main ( adl_InitType_e InitType )
{
ascii readData[10];
s8 s8Rtn;

TRACE (( 1, "Embedded Application : Main" ));

// TO DO : Add your initialization code here
//FLASH Subscribe
/*s8Rtn = PsswrdFlshHndlrRtn = adl_flhSubscribe("Psswrd",1);
TRACE ((1,"PsswrdFlshHndlrRtn :%d",s8Rtn));*/
/*s8Rtn = adl_flhWrite ("Psswrd",0,(u16)wm_strlen("1234"),"1234" );
TRACE ((1,"adl_flhWrite for returns :%d",s8Rtn));*/

wm_memset (readData, 0, 10);
s8Rtn = adl_flhRead ("Psswrd",0,(u16)wm_strlen("1234"),readData);	
TRACE ((1,readData));
adl_atSendResponse (ADL_AT_RSP,readData);

}

You’ve posted some code with large chunks commented-out, but you haven’t given any description of your problem!

The more detail you provide, the more likely you are to get a useful response!

What return result do you get from adl_flhRead :question:

What does the TRACE give :question:

What AT response do you see :question: