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 9 matches
CCS Forum Index
Author Message
  Topic: setup_uart undefined error for 16F877A
Riddick

Replies: 6
Views: 9109

PostForum: General CCS C Discussion   Posted: Mon Nov 12, 2007 6:29 pm   Subject: setup_uart undefined error for 16F877A
That is sort of what I was after. (I was more questioning why setup_uart generates a compile error than anything.)

I actually just threw a

#asm
bcf 0x18, 7
#endasm

in, after remembering ...
  Topic: setup_uart undefined error for 16F877A
Riddick

Replies: 6
Views: 9109

PostForum: General CCS C Discussion   Posted: Mon Nov 12, 2007 3:58 pm   Subject: setup_uart undefined error for 16F877A
Ignoring a problem doesn't fix it.
  Topic: setup_uart undefined error for 16F877A
Riddick

Replies: 6
Views: 9109

PostForum: General CCS C Discussion   Posted: Sun Nov 11, 2007 7:57 pm   Subject: setup_uart undefined error for 16F877A
setup_uart() only works with the hardware UART. You must use pins
C6 and C7 to enable the hardware UART.Thanks for the reply PCM_Programmer. I actually want to disable the hardware UART, not config ...
  Topic: setup_uart undefined error for 16F877A
Riddick

Replies: 6
Views: 9109

PostForum: General CCS C Discussion   Posted: Sun Nov 11, 2007 7:13 pm   Subject: setup_uart undefined error for 16F877A
Hi all,

I've run into a slight quirk that I expect is an oversight on my part.

I'm trying to set the UART to off using setup_uart(FALSE); but am getting an error when I compile.

*** Error 12 ...
  Topic: LOWORD & HIWORD
Riddick

Replies: 5
Views: 5543

PostForum: General CCS C Discussion   Posted: Sun Nov 04, 2007 11:32 pm   Subject: LOWORD & HIWORD
Hi guys,

I thought I might throw this little scrap of code up, more for scrutinisation from the more seasoned developers than anything. But it may be something that is useful for newer prorgammers ...
  Topic: RB Interrupt seems to be called even when disabled..
Riddick

Replies: 6
Views: 6222

PostForum: General CCS C Discussion   Posted: Thu Oct 11, 2007 1:46 am   Subject: RB Interrupt seems to be called even when disabled..
Ok, the problem turned out to be the filter caps a co-worker told me to add to the switched inputs. They weren't in the original design and they seemed to be causing problems.

The good thing about ...
  Topic: RB Interrupt seems to be called even when disabled..
Riddick

Replies: 6
Views: 6222

PostForum: General CCS C Discussion   Posted: Tue Oct 09, 2007 7:30 pm   Subject: RB Interrupt seems to be called even when disabled..
Yes it's a two layer board.

Unfortunately, the extra capacitor hasn't helped.

The board has a grid on both layers, 8 thou tracks at 20 thou spacing. All "dead" copper is removed. Both ...
  Topic: RB Interrupt seems to be called even when disabled..
Riddick

Replies: 6
Views: 6222

PostForum: General CCS C Discussion   Posted: Tue Oct 09, 2007 6:38 pm   Subject: RB Interrupt seems to be called even when disabled..
Hi PCM programmer, thanks for the speedy reply.

Yes I have the NOLVP fuse enabled. I've run into that problem on another project.

The device package is a 44PLCC with a through hole socket. I hav ...
  Topic: RB Interrupt seems to be called even when disabled..
Riddick

Replies: 6
Views: 6222

PostForum: General CCS C Discussion   Posted: Tue Oct 09, 2007 6:11 pm   Subject: RB Interrupt seems to be called even when disabled..
Hi, as the title suggests I'm experiencing a problem with the RB interrupt service being called when I have explicitly disabled all interrupts.

The device is a Pic16F877A
Compiler version is: 3.24 ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group