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

PIC18 & Interrupt

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







PIC18 & Interrupt
PostPosted: Fri Mar 21, 2003 8:36 am     Reply with quote

I am porting a 16F877 code to 18F452 but
it seems my program has problems with
interrupts.

Only RB0 EXT0 interrupt enabled. I send
"ISR" string for debugging from serial port
at the start of #INT_EXT.

Program sends ISR string continuously
even the RB0 is connected to GND and there is
no level change.

What's wrong?
___________________________
This message was ported from CCS's old forum
Original Post ID: 12919
PCM programmer



Joined: 06 Sep 2003
Posts: 20335

View user's profile Send private message

Re: PIC18 & Interrupt
PostPosted: Fri Mar 21, 2003 11:50 am     Reply with quote

:=I am porting a 16F877 code to 18F452 but
:=it seems my program has problems with
:=interrupts.
:=
:=Only RB0 EXT0 interrupt enabled. I send
:="ISR" string for debugging from serial port
:=at the start of #INT_EXT.
:=
:=Program sends ISR string continuously
:=even the RB0 is connected to GND and there is
:=no level change.
----------------------------------------------------

I don't have PCH, so I can't help much.
What's your version of the compiler ?
In the versions list, CCS has this statement:

3.125 A problem with interrupts getting disabled is fixed
___________________________
This message was ported from CCS's old forum
Original Post ID: 12928
SBK
Guest







Re: PIC18 & Interrupt
PostPosted: Sun Mar 23, 2003 1:06 pm     Reply with quote

Do I have to use #INT_EXT or peripheral interrupt for
B0 interrupt on 18F452?

my version is PCW 3.148
:=----------------------------------------------------
:=
:=I don't have PCH, so I can't help much.
:=What's your version of the compiler ?
:=In the versions list, CCS has this statement:
:=
:=3.125 A problem with interrupts getting disabled is fixed
___________________________
This message was ported from CCS's old forum
Original Post ID: 12975
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