Tool/software:
Sometimes AM2634 gets 0xCC from external Flash. How to fix this problem? In fact the data is not 0xCC. The error only happens sometimes. We are using GD25F64FBAR as external Flash. The following is the source code.
#define Cur_SigInfo_IFBADDR 0x300000
uint8 SigInfo_IFB_FD01[256] ;
memcpy(SigInfo_IFB_FD01, (void*)(Cur_SigInfo_IFBADDR|0x60000000), 256u);/* read data in 20ms task of OS */
if((0xCC == SigInfo_IFB_FD01[0]) && (0xCC == SigInfo_IFB_FD01[1]) && (0xCC == SigInfo_IFB_FD01[2]) && (0xCC == SigInfo_IFB_FD01[3]) && (0xCC == SigInfo_IFB_FD01[4]))
{
/* error */
}
else
{
}