Debugging new MC56F8256 project in Codewarrior for MCU v11.1

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Debugging new MC56F8256 project in Codewarrior for MCU v11.1

672 Views
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 Kudos
1 Reply

651 Views
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 Kudos