internal debug mode

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

internal debug mode

386 次查看
sivadattudwara
Contributor II

Hi, I am using T1024RDB. and we are developing a bare board application for it. we are trying to enable Internal Debug mode for T1024 processor, but it is not successfull. 

following are the steps we followed.

1. keep processor in hypervisor mode MSR[GS] = 0., MSR[PE] = 0.

2. Enable the Internal Debug mode by setting DBCR0 = 0x40000000, followed by isync.

3. Enable Instruction complete debug event by setting DBCR0 = 0x48000000 followed by isync.

4. Enable debug interrupt in MSR, MSE[DE] = 1, followed by isync.

but even then the DBSR (debug status register) is not getting updated upon completion of instructions and so, the processor in not going  to debug interrupt service routine. 

please let me know if i need to do any settings other than this.

Thanks.

0 项奖励
0 回复数