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 38 matches
CCS Forum Index
Author Message
  Topic: 18LF2620 I2C Problems
UFAnders

Replies: 4
Views: 6147

PostForum: General CCS C Discussion   Posted: Sat May 06, 2006 2:42 pm   Subject: 18LF2620 I2C Problems
Guys, I have inexcusably wasted your time.

I have wires on my protoboard that run from the I2C pins first to my EEPROM, then cascade over to my light modules. It seems that when I swapped the 2520s ...
  Topic: 18LF2620 I2C Problems
UFAnders

Replies: 4
Views: 6147

PostForum: General CCS C Discussion   Posted: Sat May 06, 2006 9:48 am   Subject: 18LF2620 I2C Problems
Thanks for the replies, guys!

1. I am using the internal oscillator at 8MHz with no PLL

2. I am running the system at 3.3 volts, running a 5.2 volt cell phone wall wart (800mA) through a TC1263 ...
  Topic: 18LF2620 I2C Problems
UFAnders

Replies: 4
Views: 6147

PostForum: General CCS C Discussion   Posted: Fri May 05, 2006 6:32 pm   Subject: 18LF2620 I2C Problems
Gentlemen of the forum-->

I have been using an 18F2520 for my current project without error, but I ran out of program ROM. So I got a sample lot of 3 18LF2620s, included the proper header, and l ...
  Topic: Unexpected "Invalid Type Conversion" Error
UFAnders

Replies: 3
Views: 7698

PostForum: General CCS C Discussion   Posted: Sun Apr 30, 2006 3:41 pm   Subject: Unexpected "Invalid Type Conversion" Error
Kind Sirs-->

I left the prototypes alone, but I removed the ampersands from the function call for transformFrame2(this_frame->columns[cycle] = this_column; to
this_frame->columns& ...
  Topic: Unexpected "Invalid Type Conversion" Error
UFAnders

Replies: 3
Views: 7698

PostForum: General CCS C Discussion   Posted: Sun Apr 30, 2006 1:28 pm   Subject: Unexpected "Invalid Type Conversion" Error
Gentlemen-->

I am getting an unexpected type conversion error in my program where I pass two structures into a function as pointers...

Structure definitions:
static struct columnMAX7313
 ...
  Topic: USART is not working. Please Help!!
UFAnders

Replies: 11
Views: 15741

PostForum: General CCS C Discussion   Posted: Sun Apr 09, 2006 10:31 pm   Subject: USART is not working. Please Help!!
Yikes! You learn something new everyday - Guess I'll be putting a few resistors in my boards... Embarassed
  Topic: USART is not working. Please Help!!
UFAnders

Replies: 11
Views: 15741

PostForum: General CCS C Discussion   Posted: Sun Apr 09, 2006 9:16 pm   Subject: PIC to PC RS232
Look at the #use rs232 portion of the manual - there is an option called "INVERT" that will allow your PIC to talk directly with a generic COM port (in this case on the PC) without any true RS-232 lev ...
  Topic: EEPROM read error -- Only even # addresses can be wrote
UFAnders

Replies: 7
Views: 17040

PostForum: General CCS C Discussion   Posted: Tue Mar 14, 2006 10:37 am   Subject: EEPROM read error -- Only even # addresses can be wrote
You could also enter the code as follows:


#rom 0xF00000 = {
0x6BA1, //EEPROM Address 0x00 & 0x01
0x9D1C, //EEPROM Address 0x02 & 0x03
0x2AFE //EEPROM Address 0x04 & 0x05
 ...
  Topic: EEPROM read error -- Only even # addresses can be wrote
UFAnders

Replies: 7
Views: 17040

PostForum: General CCS C Discussion   Posted: Mon Mar 13, 2006 11:15 pm   Subject: EEPROM read error -- Only even # addresses can be wrote
Yes PCM, Bravo!

It took me about half an hour to find your post, but it answered all of my questions save one: Where is this #ROM type qualifier documented in the CCS documentation? Rolling Eyes
  Topic: RS232 Levels
UFAnders

Replies: 2
Views: 6724

PostForum: General CCS C Discussion   Posted: Sat Dec 17, 2005 5:16 pm   Subject: RS232 Levels
I imagine that a self-contained handheld module like the eTrex has standard (inverted) serial I/O. The PIC's hardware UART is TRUE LEVEL (not inverted) serial I/O. Perhaps this answers your question? ...
  Topic: RS232 between 5v and 3.3v systems, FGETS() problem
UFAnders

Replies: 17
Views: 29242

PostForum: General CCS C Discussion   Posted: Sat Dec 17, 2005 5:13 pm   Subject: RS232 between 5v and 3.3v systems, FGETS() problem
OK folks, here is the code I've been using since my fifth post-->

//Begin pre-processor directives//
#include <18F2520.h>
#include <string.h>
#fuses INTRC_IO, NOWDT, NOLVP, PUT, N ...
  Topic: RS232 between 5v and 3.3v systems, FGETS() problem
UFAnders

Replies: 17
Views: 29242

PostForum: General CCS C Discussion   Posted: Tue Dec 06, 2005 4:13 pm   Subject: RS232 between 5v and 3.3v systems, FGETS() problem
Friends-->

I put the swrs232 stream through a MAX232, and I get the same results. Also, I am using the meLabs serial programmer, which is not an ICD.

Since my usage of FGETS() is in a non-int ...
  Topic: RS232 between 5v and 3.3v systems, FGETS() problem
UFAnders

Replies: 17
Views: 29242

PostForum: General CCS C Discussion   Posted: Tue Dec 06, 2005 9:19 am   Subject: RS232 between 5v and 3.3v systems, FGETS() problem
hamletT-->

You are absolutely right about the ISR - I only used it because fgets() wouldn't work otherwise. I'd MUCH rather not use the interrupt for this purpose. Also, it seems that you refer ...
  Topic: RS232 between 5v and 3.3v systems, FGETS() problem
UFAnders

Replies: 17
Views: 29242

PostForum: General CCS C Discussion   Posted: Tue Dec 06, 2005 2:43 am   Subject: RS232 between 5v and 3.3v systems, FGETS() problem
Comrades-->

OK, here is my demo program:
//Begin pre-processor directives//
#include <18F2520.h>
#include <string.h>
#fuses INTRC, NOWDT, NOLVP, PUT, NOPROTECT, WDT64
#use delay ...
  Topic: RS232 between 5v and 3.3v systems, FGETS() problem
UFAnders

Replies: 17
Views: 29242

PostForum: General CCS C Discussion   Posted: Mon Dec 05, 2005 7:35 pm   Subject: RS232 between 5v and 3.3v systems, FGETS() problem
Friends-->

Thanks for all of the sound advice - I had been running my PIC at 5v only because I thought my programmer wouldn't erase it any lower than at 5v. I have been flashing it recently with ...
 
Page 1 of 3 Goto page 1, 2, 3  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group