Hari bharath Molabanti

On reset processor behaves differently

Discussion created by Hari bharath Molabanti on Apr 1, 2009
Latest reply on Apr 7, 2009 by Rich Testardi

I have programmed M5234 using codewarrior 7.1. It is behaving rightly when I run code from codewarrior GUI, but once I reset the processor it goes crazy.

Its the same with RAM or Flash.


My program did configure eTPU channel to output PWM(1Khz,50%) and toggling another eTPU GPIO channel. When run from CW(CodeWarrior) its working as intended.


Once I restart PWM output will 250Hz, 25%. whatever I program this PWM output will be the same on reset.


Can anybody suggest me where I am going wrong. Am I forgetting to initialize something?