Hi,
I tried to resize the A&D Flash by issuing the command “at+wopen=6,1280” from OAT application.
The Resize is directly started at ADL_INIT_POWER_ON before anything else is set up.
I subscribe to the response of the command to issue a restart when finished.
Here the code:
bool AdResizeResponseHdl_(adl_atResponse_t *paras)
{
if( paras->RspID == ADL_STR_OK)
{
/* after resize finished, restart */
adl_atCmdCreate("AT+CFUN=1",FALSE, (adl_atRspHandler_t) NULL,NULL,NULL);
}
return false;
}
void AdFlashResize(void)
{
adl_atCmdCreate("AT+WOPEN=6,1280",TRUE, (adl_atRspHandler_t)AdResizeResponseHdl_,"*",NULL);
}
The Resize never finishes correctly and I already “resized” 2 Q2686 modules to death.
Is it generally possible to resize A&D from OAT application?
Has anybody tried it?
gr33tz
Gregor Bader