AnsweredAssumed Answered

SPC5604B and Freescale MCP5604D

Question asked by murphy.dermot on Jan 19, 2016
Latest reply on Jan 21, 2016 by Erwan Y
Hi,

I have written code using CodeWarrior which runs on the Freescale device without issue.
When trying to run it on the ST part, I find that during the compiler startup when RAM is being initialised, the SWT is enabled.  With the same binary on the Freescale part the SWT is disabled at this point in the code. 
The startup code does not initialise RAM within the timeout period, and the ST device resets whereas the Freescale part does not.

Are the two parts identical?
How do I disable the WDT using the NV user options word during the compiler startup code before RAM is initialised?
Does CodeWarrior generate code which is compatible with the ST parts or should I switch compiler?

Outcomes