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 23 matches
CCS Forum Index
Author Message
  Topic: Can't turn on PLL without micro locking.
Allan

Replies: 6
Views: 8541

PostForum: General CCS C Discussion   Posted: Fri Jul 16, 2010 8:43 pm   Subject: Can't turn on PLL without micro locking.
Hi bkamen,

My friend / supervisor has been in touch with Microchip and the first thing they told him was to make sure the chip is certified for 40 mHz operation at the voltage used to run the chip ...
  Topic: Can't turn on PLL without micro locking.
Allan

Replies: 6
Views: 8541

PostForum: General CCS C Discussion   Posted: Fri Jul 16, 2010 9:24 am   Subject: Can't turn on PLL without micro locking.
Hi Everybody,

It took me a few days to isolate exactly why my programs locks. This code demonstrates the problem:
#include <18f2321.h>

#define UpArrowKey PIN_A6 //Up arrow
...
  Topic: Can't turn on PLL without micro locking.
Allan

Replies: 6
Views: 8541

PostForum: General CCS C Discussion   Posted: Fri Jul 09, 2010 10:08 am   Subject: Can't turn on PLL without micro locking.
Hi Everybody,

I'm using a 18f2321 with V4.109 compiler. I'm using a 10 mHz crystal.

When I configure the oscillator using this code the system works fine:

#use delay (clock = 10M, oscilla ...
  Topic: ENUM ID values not unique
Allan

Replies: 8
Views: 13041

PostForum: General CCS C Discussion   Posted: Fri Jul 02, 2010 6:30 am   Subject: ENUM ID values not unique
I've the same problem here. I'm using CCS IDE version 4.107 and PCB, PCM, PCH, PCD version 4.107 with ICD-U64. Please help.

The best work around is to define each ENUM value as a constant.

Foe e ...
  Topic: ENUM ID values not unique
Allan

Replies: 8
Views: 13041

PostForum: General CCS C Discussion   Posted: Sun Jun 06, 2010 3:15 pm   Subject: ENUM ID values not unique
Hi everybody,

Reloading the compiler and CCS' IDE (now V. 4.103) did not solve the problem, but I found an interesting clue.

I simplified the code as much as possible


#include <18F2321.h ...
  Topic: ENUM ID values not unique
Allan

Replies: 8
Views: 13041

PostForum: General CCS C Discussion   Posted: Sun Jun 06, 2010 1:35 pm   Subject: ENUM ID values not unique
Hi PCM programmer,

I just compiled your code and it still gives me wrong ID's. I'll reload CCS's IDE and post if that does not solve the problem.

Thanks for your help.

Al
  Topic: ENUM ID values not unique
Allan

Replies: 8
Views: 13041

PostForum: General CCS C Discussion   Posted: Sat Jun 05, 2010 11:21 pm   Subject: ENUM ID values not unique
Hi everybody,

I'm using 4.104 compiler version with a 18F2321.

I have the following declaration:


enum Modes{InternalMode, ExternalMode, EncoderMode, StandByMode};


When I mouse over th ...
  Topic: CCP Compare timing errors
Allan

Replies: 2
Views: 4393

PostForum: General CCS C Discussion   Posted: Thu May 27, 2010 6:02 pm   Subject: CCP Compare timing errors

You can't 'or' these together.



D'oh!

Thanks for your help,
Al
  Topic: CCP Compare timing errors
Allan

Replies: 2
Views: 4393

PostForum: General CCS C Discussion   Posted: Wed May 26, 2010 10:32 pm   Subject: CCP Compare timing errors
Hi Everybody,

I’m learning the CCP system on the 18F2321, and using version 4.105 compiler software.

On one pass through the ISR the hardware resets Timer3. I turn the output on and set how l ...
  Topic: Bi-directional rs232 link.
Allan

Replies: 9
Views: 10974

PostForum: General CCS C Discussion   Posted: Mon Mar 22, 2010 8:52 pm   Subject: Bi-directional rs232 link.


Finally, add a pull up resistor on the line from the RO pin to the PIC's RX pin. 10KR or similar.

Best Wishes

This turned out to be the problem. !2 hours down the drain because the engineer ...
  Topic: Bi-directional rs232 link.
Allan

Replies: 9
Views: 10974

PostForum: General CCS C Discussion   Posted: Sun Mar 21, 2010 3:31 pm   Subject: Bi-directional rs232 link.


You are sending async serial over RS485. No RS232 involved anywhere, so why say 'RS232 link'....
Just because CCS are stupid and refer to the TTL async port on the PIC as 'RS232', you don't have ...
  Topic: Bi-directional rs232 link.
Allan

Replies: 9
Views: 10974

PostForum: General CCS C Discussion   Posted: Sun Mar 21, 2010 1:03 pm   Subject: Bi-directional rs232 link.
I need to clarify something in my post.


http://www.ccsinfo.com/forum/viewtopic.php?t=42046


Ttelmah already gave me the program I asked for (Thanks!) The real problem must be in my modificat ...
  Topic: Bi-directional rs232 link.
Allan

Replies: 9
Views: 10974

PostForum: General CCS C Discussion   Posted: Sun Mar 21, 2010 12:22 pm   Subject: Bi-directional rs232 link.
Your thread is entitled 'RS232', yet you are using RS485....
Not a good start.


Not really. From the Wikipedia article on RS485 (Formally called EIA-485)

"EIA-485 only specifies electrica ...
  Topic: Bi-directional rs232 link.
Allan

Replies: 9
Views: 10974

PostForum: General CCS C Discussion   Posted: Sat Mar 20, 2010 9:30 am   Subject: Bi-directional rs232 link.
Hi everybody,

I need advice on setting up a bi-directional rs232 link.

I'm using a 18f2321 with v 4.104 compiler software. I'm using the UART hardware so the MULTI-MASTER mode is not available. ...
  Topic: int16 over rs232
Allan

Replies: 15
Views: 24385

PostForum: General CCS C Discussion   Posted: Thu Mar 18, 2010 6:05 pm   Subject: int16 over rs232

understand the difference between '\r', and '\0'.


Thanks Ttelmah!

I'll also put a scope on the data lines tomorrow - the design is proven but an IC might have been damaged by static or handl ...
 
Page 1 of 2 Goto page 1, 2  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group