MCF5475 - How do I know if the CPU is halted?

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

MCF5475 - How do I know if the CPU is halted?

1,676 次查看
TonyM
Contributor I
I'm working with an MCF5475 running Linux v2.6.10 from the Freescale BSP.  I recently ran across information in the Coldfire Family Programmer's Reference Manual, Rev 3 in section 11.1.3 that states:
 
"Note that if a Coldfire processor encounters any fault while processing another fault, it immediately halts execution with a catastrophic fault-on-fault condition.  A reset is required to force the processor to exit this halted state."
 
I'm suspicious that we maybe encountering this catastrophic fault-on-fault condition but I am having trouble proving this.  I suspect this because on a very intermmitent basis, while I have my BDI2000 debugging tool plugged into the BDM port and when the system locks up, I halt the CPU using the debugger to investigate the registers and find that the registers have invalid values and that the BDI2000 loses communication with the CPU.  Under normal circumstances, I halt and resume the CPU without issue using the BDI2000. 
 
Is there a way to determine that the CPU experienced a catastrophic fault-on-fault condition by sticking a probe on one of the CPU pins or something along that line?
 
Regards,
Tony.
标签 (1)
0 项奖励
回复
1 回复

708 次查看
Technoman64
Contributor III
From what I understand the Coldfire core will output 0x0F on the four PST lines to debug interface continusly when this condition occurs.
0 项奖励
回复