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 support@ccsinfo.com

Update program on rs-485

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
Francesco



Joined: 19 Feb 2004
Posts: 14

View user's profile Send private message

Update program on rs-485
PostPosted: Fri Mar 31, 2006 1:46 am     Reply with quote

Hello
Can i update my program on PIC18F... on rs485 , How can I do it.
Thank you.
Question
Mark



Joined: 07 Sep 2003
Posts: 2838
Location: Atlanta, GA

View user's profile Send private message Send e-mail

PostPosted: Fri Mar 31, 2006 7:21 am     Reply with quote

Yes. Just convert one of the bootloaders that is using RS232. You shouldn't need to change much. You just need to handle the transmit/receive enable/disable.
Francesco



Joined: 19 Feb 2004
Posts: 14

View user's profile Send private message

Example?
PostPosted: Fri Mar 31, 2006 7:28 am     Reply with quote

Thanks for your answer , but can I read the some example?
Mark



Joined: 07 Sep 2003
Posts: 2838
Location: Atlanta, GA

View user's profile Send private message Send e-mail

PostPosted: Fri Mar 31, 2006 7:33 am     Reply with quote

Look in your examples folder. There is an example of a bootloader there. Also you will find a EX_RS232_485.c file. Study both programs.
Francesco



Joined: 19 Feb 2004
Posts: 14

View user's profile Send private message

?
PostPosted: Fri Mar 31, 2006 7:48 am     Reply with quote

Hello
I look in my ex-folder but i can't find it, my compiler version is PCB 3.180.
Is it old?
Thanks.
Mark



Joined: 07 Sep 2003
Posts: 2838
Location: Atlanta, GA

View user's profile Send private message Send e-mail

PostPosted: Fri Mar 31, 2006 7:49 am     Reply with quote

What pic are you trying to use?
Francesco



Joined: 19 Feb 2004
Posts: 14

View user's profile Send private message

PostPosted: Fri Mar 31, 2006 7:53 am     Reply with quote

I want use 18F6520 or 16F876A.
Mark



Joined: 07 Sep 2003
Posts: 2838
Location: Atlanta, GA

View user's profile Send private message Send e-mail

PostPosted: Fri Mar 31, 2006 12:25 pm     Reply with quote

For PIC16 you need the PCM compiler
For PIC18 you need the PCH compiler

Of course the PCWH contains all the compilers.
Francesco



Joined: 19 Feb 2004
Posts: 14

View user's profile Send private message

PostPosted: Mon Apr 03, 2006 9:20 am     Reply with quote

I have :
IDE versione 3.40
PCB 3.180
PCM 3.180
PCH 3.180
Mark



Joined: 07 Sep 2003
Posts: 2838
Location: Atlanta, GA

View user's profile Send private message Send e-mail

PostPosted: Mon Apr 03, 2006 10:16 am     Reply with quote

If you don't have it, then upgrade. You might try and download the trial version. I am not sure what examples they provide with it.
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Mon Apr 03, 2006 12:03 pm     Reply with quote

Email CCS support and ask them for the RS485 example and driver files.

RS485.C
EX_RS485.C
EX_RS232_485.C

Give them your name and compiler registration number. If you're a
registered owner, then they might email you the files.
Guest








PostPosted: Tue Apr 04, 2006 2:36 am     Reply with quote

OK.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group