16
NXPTM M522XX, KINETIS and i.MX RT / Kinetis demo: needs single stepping to start
« on: April 19, 2011, 08:46:36 AM »
Hello, I'm using CW 10.1 on Vista.
The only way for me to start the demo app is to single step until line 4064 in kinetis.c
INIT_WATCHDOG_DISABLE();
Then I can run the app normally.
If It runs from the beginning it halts and resets to the first line.
Toggling a breakpoint before the INIT_WATCHDOG_DISABLE line and running from the start does not work, it resets.
It is probably something related to the watchdog.
I'm still trying to master CW, so bear with me.
The demo runs normally, but the "generate 8 meg" dynamic page crashes the app.
Thank you for this fine product.
The only way for me to start the demo app is to single step until line 4064 in kinetis.c
INIT_WATCHDOG_DISABLE();
Then I can run the app normally.
If It runs from the beginning it halts and resets to the first line.
Toggling a breakpoint before the INIT_WATCHDOG_DISABLE line and running from the start does not work, it resets.
It is probably something related to the watchdog.
I'm still trying to master CW, so bear with me.
The demo runs normally, but the "generate 8 meg" dynamic page crashes the app.
Thank you for this fine product.