K66 High Speed Run Tracing

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

K66 High Speed Run Tracing

595 次查看
ryanclemens
Contributor I

I'm trying to use ETM trace with IAR and a J-Trace on a K66 in High Speed Run mode.  

Everything works great until the switch to High Speed Run Mode.  I've tried setting the SIM_SOPT2 register to set the TRACECLKSRC to 0 (This will use the MCGOUTCLK / TRACECLK divider) and setting the SIM_CLKDIV4 register to have TRACEDIV=2 and TRACEFRAC=1 for a trace clock output in HS RUN mode of 180 * (2/3) = 120, but I still am getting errors.

Are there any other tricks to switching the trace clock frequency mid debug on this processor?  Are there other registers I need to set?

0 项奖励
回复
1 回复

515 次查看
Hui_Ma
NXP TechSupport
NXP TechSupport

Hi,

I couldn't find there need another register setting with K66 chip.

For I don't have J-Trace tool, I couldn't do on site test.

I will check with Segger engineer if there with any comment.

Thank you for the patience.

best regards,

Mike

0 项奖励
回复