MPC8280CVVUPEA(450/300/100 MHz)DEC寄存器疑问

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MPC8280CVVUPEA(450/300/100 MHz)DEC寄存器疑问

635 Views
jianbohuang
Contributor I

使用MPC8280CVVUPEA(450/300/100 MHz)作为主控芯片。 使用1MByte(16bit)的Norflash(S29AL008J70TFI020)作为bootrom,该芯片接在60X总线上,使用CS0#作为片选。 使用64MByte(16bit)的norflash(S29GL512S10TFI020)作为程序rom,该芯片接在60X总线上,使用CS1#作为片选。 使用4片64MByte的SDRAM(MT48LC32M16A2TG-75IT)作为64bit宽的256MByte内存,4个芯片接在60X总线上,使用CS2#作为片选。 使用LOCALBUS总线(不用PCI总线),使用时钟分配芯片为MPC8280CVVUPEA和SDRAM提供66MHz工作时钟,MPC8280CVVUPEA的工作 时钟通过CLKIN1接入,CLKIN2悬空。 上电后,使用仿真器可以将Vxworks的bootrom程序写入Norflash(写入算法在SDRAM中运行),并且测试了SDRAM,未发现错误。 运行vxworks的bootrom程序,串口能输出显示信息,但发现MPC8280CVVUPEA的Decrementer register(DEC)无法递减,导致程序异常。 请问有什么原因会导致MPC8280CVVUPEA的Decrementer register(DEC)不递减?

0 Kudos
Reply
1 Reply

497 Views
alexander_yakov
NXP Employee
NXP Employee

Please check SIUMCR register, field DPPC - if this field is configured to "10" than please add pull-up resistor to pin "DP(5)/TBEN/IRQ5/CINT" or reconfigure DPPC field to another value.

Also please note debugger is able to stop timebase and decrementer, when entering debug mode, just to prevent decrementer interrupts from happeming when you are in debug mode.


Have a great day,
Alexander

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

0 Kudos
Reply