2016-01-19 02:43 AM
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?2016-01-21 09:06 AM