Possible bug in CW 10.6 Processor Expert for KE06 Microcontrollers

cancel
Showing results for 
Search instead for 
Did you mean: 

Possible bug in CW 10.6 Processor Expert for KE06 Microcontrollers

Jump to solution
356 Views
joellanger
Contributor II

Hello everyone, I tried to set the external crystal specifically in MKE06Z128VQH4 using the CW for MCU 10.6 with Processor Expert and did not work.

In debugguer I saw that the configuration of the OSC was zero.

Searching for the problem I noticed that the CPU_Init.c file that CPU_TClockConfigDescriptor structure is not filled completely missing the define CPU_OSC_CR_CONFIG_0.

Then I added the define and it worked.

I created a Service Request without success. 1-3447186434.

Maybe I'm wrong or can help someone.

16884_16884.pngPrint1.png

16885_16885.pngPrint2.png

16883_16883.pngPrint6.png

16886_16886.pngPrint3.png

Labels (1)
0 Kudos
1 Solution
193 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi David.

I just tested with CW10.6 with the latest update installed. CPU_OSC_CR_CONFIG_0 is generated. see

Untitled.png

my CW Build Id:140329. here is CW10.6 updates and service pack link:

http://www.freescale.com/webapp/sps/site/overview.jsp?code=CW_UPDATES_MCU_10_6

can you please test your project under the latest version? how does it work?

================================

this answer is for you. if it helps, please click on "Correct Answer" button. thanks!

Best Regards.

Zhang Jun

View solution in original post

0 Kudos
3 Replies
193 Views
davidsherman
Senior Contributor I

Joel, I had the same problem in Kinetis Design Studio using processor expert to configure for an external crystal.  Same thing, entries were missing in those tables and the values were wrong.  Although this problem has been fixed in KDS, I don't know if there are plans to fix it in CodeWarrior, since Freescale isn't promoting CodeWarrior for Kinetis development and pushing KDS instead.  Until they fixed it, I just disabled the code generation in Processor Expert and wrote to the OSC and ICS registers directly.

0 Kudos
194 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi David.

I just tested with CW10.6 with the latest update installed. CPU_OSC_CR_CONFIG_0 is generated. see

Untitled.png

my CW Build Id:140329. here is CW10.6 updates and service pack link:

http://www.freescale.com/webapp/sps/site/overview.jsp?code=CW_UPDATES_MCU_10_6

can you please test your project under the latest version? how does it work?

================================

this answer is for you. if it helps, please click on "Correct Answer" button. thanks!

Best Regards.

Zhang Jun

0 Kudos
193 Views
joellanger
Contributor II

Hello, I made updates in Help > Check For Updates, and the problem was solved. Thanks.