EMC (SDRAM) example on LPCXpresso5460 not working

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

EMC (SDRAM) example on LPCXpresso5460 not working

958件の閲覧回数
nthove
Contributor I

We have a OM13092 (LPCXpresso54608 rev B) and I downloaded the SDK (SDK_2.2_LPCXpresso54608).

I opened the emc (SDRAM) example because I wanted to test the EMC interface. We built and loaded the sample in Keil as-is, without modifications. However, the SDRAM tests do not finish succesfully. The SDRAM_AddressBusCheck function fails and prints the debug message.

When stepping into SDRAM_AddressBusCheck, it fails on the following location:

/* Read and check. */
for (offset = 1; offset < size; offset <<= 1)
{
if (address[offset] != pattern)
{
return kStatus_Fail;
}
}

It already fails when offset is 1 (first loop). If I look at the contents of address[1], it tells me 0x55575557 (instead of the expected 0x55555555).

Is there something wrong in the example application? Can someone give me a clue where to find the solution?

ラベル(1)
0 件の賞賛
返信
1 返信

773件の閲覧回数
carstengroen
Senior Contributor II

Norbert,

probably not the cause of the problem you see, but maybe you will see the same problems if you plan on raising the clock of the CPU:

https://community.nxp.com/thread/452548 

0 件の賞賛
返信