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: CCS RS485.c Lib Doesn't work. Proteus + source.
ivrj

Replies: 7
Views: 18845

PostForum: General CCS C Discussion   Posted: Sat Nov 28, 2009 2:57 pm   Subject: CCS RS485.c Lib Doesn't work. Proteus + source.
I do agree with PCM Programmer. Start with a working program and then make small changes so you know the latest change is the one to break things.

Just a few remarks on your code: RS485send(PCg ...
  Topic: CCS RS485.c Lib Doesn't work. Proteus + source.
ivrj

Replies: 7
Views: 18845

PostForum: General CCS C Discussion   Posted: Thu Nov 26, 2009 5:10 am   Subject: CCS RS485.c Lib Doesn't work. Proteus + source.
There are probably several reasons why no one is helping you.

1. You didn't give a direct download link for your file. It goes to an
HTML page. Who knows what is on that page ? It could ...
  Topic: CCS RS485.c Lib Doesn't work. Proteus + source.
ivrj

Replies: 7
Views: 18845

PostForum: General CCS C Discussion   Posted: Wed Nov 25, 2009 8:41 am   Subject: CCS RS485.c Lib Doesn't work. Proteus + source.
Anybody know what I did wrong?
  Topic: CCS RS485.c Lib Doesn't work. Proteus + source.
ivrj

Replies: 7
Views: 18845

PostForum: General CCS C Discussion   Posted: Fri Nov 20, 2009 1:16 pm   Subject: CCS RS485.c Lib Doesn't work. Proteus + source.
Hello! I tried to use the library of ccs to make communication between two PICs, but did not work.

I need the message to go in both directions, to do a sensor network.

I am enclosing the file us ...
  Topic: Can-bus, 18F2580+MCP2551. Loopback ok, real can not working.
ivrj

Replies: 35
Views: 77713

PostForum: General CCS C Discussion   Posted: Thu Oct 15, 2009 8:19 am   Subject: Can-bus, 18F2580+MCP2551. Loopback ok, real can not working.
Error found!

I crossed the can-l can-h lines!

now it´s working fine!

Thank u PCM!!!!
  Topic: Can-bus, 18F2580+MCP2551. Loopback ok, real can not working.
ivrj

Replies: 35
Views: 77713

PostForum: General CCS C Discussion   Posted: Thu Oct 15, 2009 8:09 am   Subject: Can-bus, 18F2580+MCP2551. Loopback ok, real can not working.
It worked for me. I changed the software in the 18F2580 test code,
http://www.ccsinfo.com/forum/viewtopic.php?t=40202&start=22
so that the #use delay() was 4 MHz instead of 20 MHz.

Check you ...
  Topic: Can-bus, 18F2580+MCP2551. Loopback ok, real can not working.
ivrj

Replies: 35
Views: 77713

PostForum: General CCS C Discussion   Posted: Wed Oct 14, 2009 4:29 pm   Subject: Can-bus, 18F2580+MCP2551. Loopback ok, real can not working.
I am also having the same problem.

My board #1 stops on:

while(!can_kbhit());

I've modified the source to be easy to debug:

#include <18F2580.h>
#fuses HS, NOPROTECT, PUT, BROWNOU ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group