AnsweredAssumed Answered

Device Initialization does not rewrite MCUinit

Question asked by Carlos Zelayeta on Dec 14, 2015
Latest reply on Dec 15, 2015 by Carlos Zelayeta



I have a question regarding the use of the Device Initialization feature. I have a project created whith this feature enabled. In the target CPU tab I initialized some peripherals and generated the code. Then, If I make some changes to the configuration of the peripherals, the changes are not applied, even though I regenerate the code and when I compile there is a dialog that alerts that has changed.


If I manually make some changes to the automatically generated code of MCUinit.c, within the parts of the file that are supposed to be rewritten automatically, those changes persist after generating the code and compiling.


Why is this happening? Am I using the Device Initialization tool wrong?


Thanks in advance.