DDR: Failed to read SPD from address 81 [t1042]

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

DDR: Failed to read SPD from address 81 [t1042]

4,837件の閲覧回数
yusufalti333
Contributor IV

Hello nxp;

My custom design has a serious DDR problem, I have 16 GB total amount of Physical ram on design. Corresponding U-boot log (taken with Code Warrior -> Connect -> Debug session).

I changed recommended U-boot parameteres for my design in it's source code ( Ram size = 4*4096, CPU_FREQ=100MHZ and DDR_FREQ = 100MHZ)

I attached RCW configurations taken from QCVS.

Is there any way to close SPD check to skip this step ?

Or is there any way to fix this issue ? 

Thanks.

Note:

1-) I also made a DDR test using Hardware Diagnostic Tool of Code Warrior PA. Settings are attached. I just tested first 2 Mbyte of DDR and test passed. 

2-) When I remove physical ram of T1042D4 Reference Demo board from it's slot, U-boot is exactly giving the same error.

Logs:

L1: D-cache 32 KiB enabled
I-cache 32 KiB enabled
Reset Configuration Word(RCW):
00000000: 080a000a 0a000000 00000000 00000000
00000010: 06000002 00408102 fc027000 21002000
00000020: 00800000 00000000 60000000 0003a001
00000030: 00000100 c0165005 00000000 00000000
Board: T1042D4RDB
Board rev: 0x01 CPLD ver: 0x05, vBank: 0x7

I2C: ready
SPI: ready
DRAM: Initializing....using SPD
DDR: failed to read SPD from address 81
Error: No valid SPD detected.
*** failed ***
initcall sequence effcf3f8 failed at call eff5ce5c (err=1)
### ERROR ### Please RESET the board ###

pastedImage_2.pngpastedImage_3.pngpastedImage_4.png

0 件の賞賛
返信
8 返答(返信)

4,717件の閲覧回数
Bulat
NXP Employee
NXP Employee

You question is not so clear, do you use a 16GB DIMM? Or different memory configuration?

Regards,

Bulat

0 件の賞賛
返信

4,717件の閲覧回数
yusufalti333
Contributor IV

Hello,
I am using 16 GB UDIMM. 

0 件の賞賛
返信

4,715件の閲覧回数
Bulat
NXP Employee
NXP Employee

Ok, do you mean that u-boot can not find SPD?

0 件の賞賛
返信

4,715件の閲覧回数
yusufalti333
Contributor IV

Yes, I am debugging U-boot with Code Warrior's connect method and having these logs on serial port

LOGS (after processor information):

L1: D-cache 32 KiB enabled
I-cache 32 KiB enabled
Reset Configuration Word(RCW):
00000000: 080a000a 0a000000 00000000 00000000
00000010: 06000002 00408102 fc027000 21002000
00000020: 00800000 00000000 60000000 0003a001
00000030: 00000100 c0165005 00000000 00000000
Board: T1042D4RDB
Board rev: 0x01 CPLD ver: 0x05, vBank: 0x7

I2C: ready
SPI: ready
DRAM: Initializing....using SPD
DDR: failed to read SPD from address 81
Error: No valid SPD detected.
*** failed ***
initcall sequence effcf3f8 failed at call eff5ce5c (err=1)
### ERROR ### Please RESET the board ###

I also noticed that,

I have a demo board of t1042 and when I remove physical RAM memory of demo board and try to boot it, u-boot on demo board is giving me the same error. I just want to know what is reason behind this error and how can I solve on my Custom board.

Thanks.

0 件の賞賛
返信

4,715件の閲覧回数
Bulat
NXP Employee
NXP Employee

Can you provide schematics of the DIMM connection?

0 件の賞賛
返信

4,715件の閲覧回数
yusufalti333
Contributor IV

A correction:

Memory test is not working. It was working when I use CPC as SRAM and memory map it at offset 0. When I try to use init_core.tcl instead of init_sram.tcl ( which initialized DDR registers ). Memory test fails at first step ( Walking ones test )

pastedImage_1.pngpastedImage_2.png

0 件の賞賛
返信

4,715件の閲覧回数
yusufalti333
Contributor IV

Hello bulat

Is it possible to solve this thread as technical case ? Due to some security requirements of company, it's forbidden to share schematics on public contents.

0 件の賞賛
返信

4,715件の閲覧回数
Bulat
NXP Employee
NXP Employee

Yes, please create a technical case, it will be more convenient.

Regards,

Bulat

0 件の賞賛
返信