View previous topic :: View next topic |
Author |
Message |
Orcino
Joined: 07 Sep 2003 Posts: 56
|
PIC24FJ work in debug mode, not work in release |
Posted: Thu Dec 22, 2016 6:49 am |
|
|
Hello guys.
I have a strange problem with a PIC24FJ128GA204.
The system receives data from a XBEE and responds with OK.
Debug mode with the pickit3, it works.
But the release mode, it receives data shows on the LCD but does not send the ok
How well it works in debug mode, is hard to find the problem.
Can someone give an idea of the problem?
Thank you |
|
|
Orcino
Joined: 07 Sep 2003 Posts: 56
|
|
Posted: Thu Dec 22, 2016 9:23 am |
|
|
Very strange.
Reviewing the code, I changed some variables that were global, for local variables.
Now it's working. |
|
|
newguy
Joined: 24 Jun 2004 Posts: 1909
|
|
Posted: Thu Dec 22, 2016 12:03 pm |
|
|
What's your stack size, and what happens if you increase it and put the code back to the way it was originally (local -> global again)? |
|
|
|