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

Help me my interrupts have gone!

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







Help me my interrupts have gone!
PostPosted: Mon Dec 26, 2005 8:41 am     Reply with quote

Hey guys,

I programmed a pic 18F4680 with some code that uses interrupts, this all works perfectly. But when I try to program the same PIC, using the same source files, the same version of PICC, the same version of MPLAB and, even the same PIC start plus programmer my interrupts dont work. Infact none of the interrupts work again until the pic is re-programmed using the original setup, even though the rest of the program is running fine.

Are there any modes or setup in the compilier that could have caused this? Does anyone know what the problem could be? I'm using 3.216 of PCWH.

Cheers
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Mon Dec 26, 2005 10:40 am     Reply with quote

Do any of the following bug fixes from the CCS versions page apply to your problem ?
http://www.ccsinfo.com/versions.shtml
Quote:
3.217 The PIC18 compiler now only disables low priority ints to prevent reentrancy

3.218 A bug with interrupt handling is fixed. If you use FAST ints see readme.txt.

3.219 A bug in #INT_DEFAULT is fixed affecting code located outside page 0
uhoh_robbo
Guest







PostPosted: Mon Dec 26, 2005 3:16 pm     Reply with quote

No i dont think so as I am using the same version at both locations. But I will try to get the updates.

Any other suggestions?

Cheers
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Mon Dec 26, 2005 3:41 pm     Reply with quote

Maybe I didn't understand your original post. In the 2nd sentence
you say everything is the same. But then you refer to the "original
setup". So, that implies a difference. What is the difference between
the two setups ?
Guest








PostPosted: Mon Dec 26, 2005 5:25 pm     Reply with quote

Hey,

The difference between the two setups is that 1 is at uni and one is at my house (other than that there is no difference i can think of). But as you suggested I updated my version of PIC C and that has seemed to have resolved the problem. Cheers.

Thanks a lot Razz
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