CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

PIC24FJ work in debug mode, not work in release

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
Orcino



Joined: 07 Sep 2003
Posts: 56

View user's profile Send private message

PIC24FJ work in debug mode, not work in release
PostPosted: Thu Dec 22, 2016 6:49 am     Reply with quote

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

View user's profile Send private message

PostPosted: Thu Dec 22, 2016 9:23 am     Reply with quote

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: 1907

View user's profile Send private message

PostPosted: Thu Dec 22, 2016 12:03 pm     Reply with quote

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)?
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group