Setting the External Debug Control Register EDBCR0 (P4080)

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

Setting the External Debug Control Register EDBCR0 (P4080)

跳至解决方案
784 次查看
clemensreibetan
Contributor I

Hi,

I want to set the EDBCR0[EDM] to 0.

How can I do this?

The manual says (E500MCRM, p.329):

Addressing the debug/expert resources through the memory mapped interface entails driving a base

address for the e500mc core (BASE), a functional group select (GID) and register index for a specific

register. The functional group select determines what class of resource is to be accessed, while the register

index determines which resource within the group to access.

Refer to the SoC reference manual for specifics on accessing the internal memory mapped resources via

the external JTAG interface as well as the Aurora high speed serial interface.

What does this mean? (I am using the code warrior tap if this is important)

I hope you can help me.

标签 (1)
0 项奖励
回复
1 解答
625 次查看
lunminliang
NXP Employee
NXP Employee

Hi,

We have colleague provide a way for previous customer asking about this, to control the EDM/IDM mode, while under debugger control. Please check below:


Enter the following command in the Debugger Shell view, while in a debug session:
    protocol ccs::config_template <core_chain_pos> 0 <value>
where
<core_chain_pos> is the chain position of the core for which you need to alter the EDM mode, eg 1 for core#0, 2 for core#1 etc
<value> is according to the following table:
  /* EDM: External Debug Mode.  Default value is 1. Values mean:
    * 0: EDM off when running, off when stepping
    * 1: EDM on when running, on when stepping
    * 2: EDM on when running, off when stepping
    * 3: EDM off when running, on when stepping


Please note changing this mode can break CW debugger's functionality.



Have a great day,
Lunmin

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

在原帖中查看解决方案

0 项奖励
回复
1 回复
626 次查看
lunminliang
NXP Employee
NXP Employee

Hi,

We have colleague provide a way for previous customer asking about this, to control the EDM/IDM mode, while under debugger control. Please check below:


Enter the following command in the Debugger Shell view, while in a debug session:
    protocol ccs::config_template <core_chain_pos> 0 <value>
where
<core_chain_pos> is the chain position of the core for which you need to alter the EDM mode, eg 1 for core#0, 2 for core#1 etc
<value> is according to the following table:
  /* EDM: External Debug Mode.  Default value is 1. Values mean:
    * 0: EDM off when running, off when stepping
    * 1: EDM on when running, on when stepping
    * 2: EDM on when running, off when stepping
    * 3: EDM off when running, on when stepping


Please note changing this mode can break CW debugger's functionality.



Have a great day,
Lunmin

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

0 项奖励
回复