Hello All,
My customer use C6544. The customer has met a strange behaviour of processor after initial stage. See booting code below. The problem: sometimes at chips with Industrial temp range register CE2CFG = 0x0FFFFFFC instead of 0x80000007. Repeated initialization helps and the customer see 0x80000007 at register CE2CFG. In case of program continuation without re-initialization the customer sees lags. The customer worry that the same unstable behaviour might be at another registers....
Everything works well at chips with commercial temp range.
What is this: a bug of particular lot?
int Tmp=0;
////////////// periphery initialization
do
{
PER_LOCK=0x0F0A0B00;
PER_CFG0=0xC0001550;
Tmp=PER_STAT0&0x00249240;
}
while(Tmp!=0x00049240);
PER_LOCK=0x0F0A0B00;
PER_CFG1=3;
////////////// periphery is ON
////////////// EMIF-A setup
CE2CFG=0x80000007;
CE3CFG=0x6FFDFFED;
CE4CFG=0x80000005;
CE5CFG=0x80000009;
//////////////
. Best regards,
Dmitry Tcholovsky