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 support@ccsinfo.com

Interrupt handler uses too much stack

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







Interrupt handler uses too much stack
PostPosted: Mon Feb 09, 2004 12:04 pm     Reply with quote

I get this error: Interrupt handler uses too much stack
What was that??????
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Mon Feb 09, 2004 12:34 pm     Reply with quote

Quote:
I get this error: Interrupt handler uses too much stack
What was that ?


Are you calling a lot of nested subroutines from your isr ?
You shouldn't.

In an isr, you should just:
1. Fetch a char and stuff it in a fifo buffer.
or
2. Increment a counter, or two.
or
3. Set a flag.

Don't do much more than that.

If this doesn't answer your question, then post your isr code,
and also post the PIC and version of the compiler you're using.
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