Effect of MSR[PR] Bit on BDM and JTAG Debugging in PowerPC in MCP561

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

Effect of MSR[PR] Bit on BDM and JTAG Debugging in PowerPC in MCP561

1,323件の閲覧回数
imsujith3
Contributor II

I am working with PowerPC architecture and trying to understand the impact of the MSR[PR] (Privilege) bit on debugging interfaces.

When MSR[PR] is set, does it completely disable Background Debug Mode (BDM) and JTAG development support, or does it only restrict certain debugging functionalities?

Additionally, is there any way to override this restriction for debugging purposes, such as through special debug modes or external tools?

Any insights or references to relevant documentation would be greatly appreciated.

imsujith3_0-1739250762844.png

imsujith3_1-1739250790662.png

 

I attached user manual for your Reference

 

0 件の賞賛
返信
3 返答(返信)

1,308件の閲覧回数
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi @imsujith3 

PowerPC processors have two levels of privilege: supervisor mode of operation (typically used by the operating system) and user mode of operation (used by the application software).

lukaszadrapa_0-1739271619749.pnglukaszadrapa_1-1739271633432.png

It does not disable BDM/JTAG access at all. If debug mode is entered, privileged mode is entered automatically. From MPC561 RM:

"Upon entering debug mode, the processor gets into the privileged state (MSR[PR] = 0). This
allows execution of any instruction, and access to any storage location."

Regards,

Lukas

 

PS. Notice that MPC561 is in Not Recommended For New Designs status, so we can provide only very limited support.

 

 

 

0 件の賞賛
返信

1,288件の閲覧回数
imsujith3
Contributor II
Hi, Do you have any idea for disabling BDM/JTAG access..
0 件の賞賛
返信

1,287件の閲覧回数
lukaszadrapa
NXP TechSupport
NXP TechSupport

In general, MPC5xx devices have censorship feature which restricts access to internal flash. However, MPC561 has no internal flash, so it does not apply here. There's no such feature on MPC561.

0 件の賞賛
返信