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

Search found 7 matches
CCS Forum Index
Author Message
  Topic: PIC16F1824 INT_RDA does not work
Beowulf

Replies: 11
Views: 19580

PostForum: General CCS C Discussion   Posted: Mon Feb 13, 2012 11:27 am   Subject: PIC16F1824 INT_RDA does not work
you are correct....updates are only useful when there is an actual problem to solve...
  Topic: PIC16F1824 INT_RDA does not work
Beowulf

Replies: 11
Views: 19580

PostForum: General CCS C Discussion   Posted: Mon Feb 13, 2012 9:15 am   Subject: (Solved)
I listed my compiler version incorrectly in the problem statement. The version that has this issue is:

CCS PCM C Compiler, Version 4.124


I am convinced that this was a compiler bug. I upgra ...
  Topic: PIC16F1824 INT_RDA does not work
Beowulf

Replies: 11
Views: 19580

PostForum: General CCS C Discussion   Posted: Fri Feb 10, 2012 8:53 pm   Subject: PIC16F1824 INT_RDA does not work
just updated to the 4.129 software version.

this no longer appears in the LST file in the default case(tx=C4,rx=C5)

0056: MOVLB 02
0057: BSF 1D.2
0058: BSF 1D.7


...
  Topic: PIC16F1824 INT_RDA does not work
Beowulf

Replies: 11
Views: 19580

PostForum: General CCS C Discussion   Posted: Fri Feb 10, 2012 6:41 pm   Subject: PIC16F1824 INT_RDA does not work
after compiling your code ...the LST file shows


0056: MOVLB 02
0057: BSF 1D.2
0058: BSF 1D.7


bank 2 offset 0x1D is the APFCON0 register
setting these bits selects A0 ...
  Topic: PIC16F1824 INT_RDA does not work
Beowulf

Replies: 11
Views: 19580

PostForum: General CCS C Discussion   Posted: Fri Feb 10, 2012 5:46 pm   Subject: PIC16F1824 INT_RDA does not work
If I give the command


#use rs232(baud=9600,UART1,ERRORS)


the compiler chooses A0 for tx and A1 for rx...so that would seem to be the default. The data sheet allows C4 for tx and C5 ...
  Topic: PIC16F1824 INT_RDA does not work
Beowulf

Replies: 11
Views: 19580

PostForum: General CCS C Discussion   Posted: Fri Feb 10, 2012 3:39 pm   Subject: PIC16F1824 INT_RDA does not work
I have tried various version of this


#int_RDA
void RDA_isr(void)
{
char temp;
temp = fgetc(PORT1);
fputc('Z',PORT1);
}


the processor does ...
  Topic: PIC16F1824 INT_RDA does not work
Beowulf

Replies: 11
Views: 19580

PostForum: General CCS C Discussion   Posted: Fri Feb 10, 2012 3:18 pm   Subject: PIC16F1824 INT_RDA does not work
I am using a PIC16F1824 with compiler Version 4.128. I cannot get the INT_RDA routine to fire when data arrives on the RS232 line. I am using a PC to communicate through a MAX3232. I am able to commu ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group