SDRAM Initialization

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

SDRAM Initialization

1,702 次查看
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,326 次查看
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 项奖励
回复