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 14 matches
CCS Forum Index
Author Message
  Topic: Question about different programmers.
Wridmuld

Replies: 10
Views: 17979

PostForum: General CCS C Discussion   Posted: Thu Sep 30, 2004 11:47 am   Subject: Question about different programmers.
Hi.

I have used one home-built variant of Tait's programmer. It has been working very well for my 16F84. Now I want to be able to program heaps of different PIC's.

However, when I read the web ...
  Topic: Clock problem on 16f84
Wridmuld

Replies: 10
Views: 17928

PostForum: General CCS C Discussion   Posted: Thu Sep 30, 2004 11:12 am   Subject: Clock problem on 16f84
Erm...hrm.

This was a little embarassing actually. Now it works! Embarassed


But a question still: the fuses - how are they to be used? How many fuses are there and what is the purpose of them?
  Topic: Clock problem on 16f84
Wridmuld

Replies: 10
Views: 17928

PostForum: General CCS C Discussion   Posted: Thu Sep 30, 2004 8:53 am   Subject: Clock problem on 16f84
Here is my code:

#device PIC16F84
#use delay (clock=4000000)
#fuses xt, nowdt
#byte port_a=0x05
#byte port_b=0x06

main()
{
int readval_b;
int readval_a;

set_tris_a(0b00000011); //A0-A ...
  Topic: Clock problem on 16f84
Wridmuld

Replies: 10
Views: 17928

PostForum: General CCS C Discussion   Posted: Thu Sep 30, 2004 7:02 am   Subject: Clock problem on 16f84
A simple LED flash program is just what I have made.
I have no logic probe. :(

It's just completely dead.
  Topic: Clock problem on 16f84
Wridmuld

Replies: 10
Views: 17928

PostForum: General CCS C Discussion   Posted: Thu Sep 30, 2004 6:29 am   Subject: comment
Erm - I might add that I'm not totally new to this. I have done a few projects on the 16f84. It's just that I have never before experienced that nothing happens at all.
I have tried with 3 different ...
  Topic: Clock problem on 16f84
Wridmuld

Replies: 10
Views: 17928

PostForum: General CCS C Discussion   Posted: Thu Sep 30, 2004 6:05 am   Subject: Clock problem on 16f84
Hi.

I have written a short and easy part of code just to test if my 16f84 is alive. Three diodes blinking...

However, it's not alive.
Now I measured the voltage on the clocks (clkin and clkout) ...
  Topic: How do I program a 16C745 ?
Wridmuld

Replies: 2
Views: 9235

PostForum: General CCS C Discussion   Posted: Tue Jun 22, 2004 2:23 am   Subject: How do I program a 16C745 ?
Hi.

I am about to start using a 16C745 to enable USB connection to my computer. However, I am very uncertain how to program this one.

Is there any good easy-to-build programmer for this one arou ...
  Topic: LCD-problem
Wridmuld

Replies: 3
Views: 11293

PostForum: General CCS C Discussion   Posted: Fri May 28, 2004 7:51 am   Subject: LCD-problem
Hi.

I got a Sharp LM162-55 LCD display which runs on the Hitachi HDD44780 LCD driver chip.

For some time now I have tried to figure out how to get this one going, but I can't. Does anybody know ...
  Topic: Looking for a programmer
Wridmuld

Replies: 2
Views: 31005

PostForum: CCS ICD / Mach X / Load-n-Go   Posted: Fri May 28, 2004 7:46 am   Subject: Looking for a programmer
Hi.

I am going to make experiments with a number of pics. However, I got to keep the costs at a minimum, why I have decided to make my own programmers, if possible.
I have successfully made one o ...
  Topic: Is it possible to have two 16F84A communicating through i2c?
Wridmuld

Replies: 2
Views: 10515

PostForum: General CCS C Discussion   Posted: Thu Apr 29, 2004 5:46 am   Subject: Is it possible to have two 16F84A communicating through i2c?
I am doing a project where I get a value from a A/D converter (pcf8591) into my 16F84. Those values are supposed to be sent to another 16F84, preferrably on the i2c-bus.
Is this possible?

It seems ...
  Topic: Read-value from i2c-bus is always 255.
Wridmuld

Replies: 11
Views: 30823

PostForum: General CCS C Discussion   Posted: Thu Apr 29, 2004 5:38 am   Subject: Read-value from i2c-bus is always 255.
Now it finally works.

The problem I had from the start was because I had not put resistors between BOTH the bus and the devices AND between the bus and Vcc.

Once I did that, using the table in t ...
  Topic: Read-value from i2c-bus is always 255.
Wridmuld

Replies: 11
Views: 30823

PostForum: General CCS C Discussion   Posted: Thu Apr 15, 2004 3:31 pm   Subject: Read-value from i2c-bus is always 255.
I would really like to know how the tris register is related to the i2c-bus defined I/Os. I do not know much about this.

/Wridmuld
  Topic: Read-value from i2c-bus is always 255.
Wridmuld

Replies: 11
Views: 30823

PostForum: General CCS C Discussion   Posted: Thu Apr 15, 2004 5:36 am   Subject: Read-value from i2c-bus is always 255.
I have read and tried everything you guys have been posting, but it still is not working.

I now have to sort out the different pieces of this project to be able to find the error. I suspect there m ...
  Topic: Read-value from i2c-bus is always 255.
Wridmuld

Replies: 11
Views: 30823

PostForum: General CCS C Discussion   Posted: Tue Apr 13, 2004 12:34 pm   Subject: Read-value from i2c-bus is always 255.
Hi.

I am using an A/D converter (Philips PCF8591) with a i2c-bus to give input to my 16F84A. I have 2.2k ohm resistors between the bus and the +5V.

However, no matter what I try, I just get the ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group