SDRAM Initialization

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

SDRAM Initialization

1,703件の閲覧回数
phani
Contributor I

HI All,

We are using MPC860T @66Mhz,We have configured the SDRAM and we are able to debug from the SDRAM,but we are able to load code into the flash but we are unable to boot from the flash.i have attached my config file and init file.when ever i debug ROM.elf am getting exceptin 0x1000,i tried the same by removing printf in my code still am facing the same problem.

 

SDRAM is @cs1 and Boot flash is @cs0.

Original Attachment has been moved to: MPC860.cfg.zip

Original Attachment has been moved to: 860_Init.c.zip

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

1,327件の閲覧回数
alexander_yakov
NXP Employee
NXP Employee

The exception 0x1000 is generated due to the following reasons (MPC860 User Manual, Section 6.1.3.1):

6.1.3.1 Software Emulation Exception (0x01000)

An software emulation exception occurs as a result of one of the following conditions:

• When executing any unimplemented instruction, including all illegal and unimplemented optional and floating-point instructions.

• When executing a mtspr or mfspr that specifies an on-core unimplemented register, regardless of SPR[0].

• When executing a mtspr or mfspr that specifies an off-core unimplemented register and SPR[0] = 0 or MSR[PR] = 0 (no program exception condition).

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信