Program will not run standalone on QE8

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Program will not run standalone on QE8

2,172 Views
Rodo55
Contributor I
Hello,
 
I wrote a program and downloaded it into the DEMOQE demo board and QE8 uC with the CodeWarrior debugger and it runs just fine. It does everything I asked it to do.
 
I can download the program and run it and it runs great but if I shutdown CW and I power cycle the DEMOQE board the program won't run on it's own. It acts like it's dependent on CW.
 
Does anyone have any ideas as to why a program won't run on it's own once it is downloaded into the uC?
 
Thanks,
 
Rodo
Labels (1)
0 Kudos
Reply
3 Replies

926 Views
fabio
Contributor IV
Hello Rodo55,

I agree with CompilerGuru: this is a typical case of not servicing the watchdog (COP).

While in debug mode the COP is automatically disabled. If you are not disabling the COP in the SOPT1 register, chances are that the COP is timing out and resetting the CPU.

Best regards,
0 Kudos
Reply

926 Views
peg
Senior Contributor IV
Hi Fabio,

See the other version of this thread and see if you still agree.

0 Kudos
Reply

926 Views
CompilerGuru
NXP Employee
NXP Employee
Please do not post the same problem to multiple forums, at least not with mentioning that so that duplicated answers are avoided.
To check:
- do you handle or disable the COP?
- is the reset vector set?
- check write once registers, with the debugger they can be written multiple times but not in normal modes.

Daniel
0 Kudos
Reply