Program will not run standalone on QE8

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Program will not run standalone on QE8

1,665件の閲覧回数
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
ラベル(1)
0 件の賞賛
返信
3 返答(返信)

419件の閲覧回数
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 件の賞賛
返信

419件の閲覧回数
peg
Senior Contributor IV
Hi Fabio,

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

0 件の賞賛
返信

419件の閲覧回数
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 件の賞賛
返信