Debugging new MC56F8256 project in Codewarrior for MCU v11.1

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

Debugging new MC56F8256 project in Codewarrior for MCU v11.1

1,316件の閲覧回数
colin_whitehead
Contributor I

I've been having extreme difficulty try to port some code that works on the MC56F8322 in CW for MCU v8.3 to the MC56F8256 in CW for MCU v11.1.

I was trying to debug the MC56F8256 code in CW for MCU v11.1 using a P&E Micro Multilink and my development hardware. As far as I could tell the code was downloading into to the hardware. The problem is that when I tried to step through the code, it could not write any values to the peripheral registers. I thought that it might be something to do with my ported code, so I generated a new empty project in v11.1. Unfortunately the same problem persists. I assume I must be doing something wrong as I'm told that the MC56F8256 is supported in V11.1. Is there a guide on how to configure a MC56F8256 project for debugging in v11.1?

colin_whitehead_0-1652874005094.png

 

0 件の賞賛
返信
1 返信

1,295件の閲覧回数
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi,

Pls check if you enable the gated clock of the on-chip ADC.

Pls refer to section 16.2.12 Peripheral Clock Enable Register 0 (SIM_PCE0), you have to set the ADC bit in the SIM_PCE0 register before you write ADC registers.

Hope it can help you

BR

XiangJun Rong

xiangjun_rong_0-1653280561544.png

 

0 件の賞賛
返信