System halt during DDR calibration.

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

System halt during DDR calibration.

ソリューションへジャンプ
897件の閲覧回数
danielmi
Contributor I

Hey there,

I'm wondering how to properly calibrate the DDR via MMDC once the system is up and running (i.e. after exiting DCD and starting the application).

Directly after my boot ROM copied and started the application code, I initialize my console to see what's up, copy the calibration code to IRAM and start execution of the calibration code.

As soon as I set the MMDC MDSCR register bit CON_REQ to 0x1 (config request) and CMD to 0x2 (auto-refresh) (0x8020), the system seems to halt, I can't even poll the CON_ACK bit.

Any ideas what's going on?

ラベル(2)
0 件の賞賛
1 解決策
673件の閲覧回数
VladanJovanovic
NXP Employee
NXP Employee

Are you sure your code is really in IRAM? Do you have your own setup code with DCD headers or did you modify u-boot?

I believe u-boot will enable MMU unit very early so you need to keep that in mind when accessing memory regions.

元の投稿で解決策を見る

0 件の賞賛
1 返信
674件の閲覧回数
VladanJovanovic
NXP Employee
NXP Employee

Are you sure your code is really in IRAM? Do you have your own setup code with DCD headers or did you modify u-boot?

I believe u-boot will enable MMU unit very early so you need to keep that in mind when accessing memory regions.

0 件の賞賛