View previous topic :: View next topic |
Author |
Message |
Francesco
Joined: 19 Feb 2004 Posts: 14
|
Update program on rs-485 |
Posted: Fri Mar 31, 2006 1:46 am |
|
|
Hello
Can i update my program on PIC18F... on rs485 , How can I do it.
Thank you.
|
|
|
Mark
Joined: 07 Sep 2003 Posts: 2838 Location: Atlanta, GA
|
|
Posted: Fri Mar 31, 2006 7:21 am |
|
|
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
|
Example? |
Posted: Fri Mar 31, 2006 7:28 am |
|
|
Thanks for your answer , but can I read the some example? |
|
|
Mark
Joined: 07 Sep 2003 Posts: 2838 Location: Atlanta, GA
|
|
Posted: Fri Mar 31, 2006 7:33 am |
|
|
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
|
? |
Posted: Fri Mar 31, 2006 7:48 am |
|
|
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
|
|
Posted: Fri Mar 31, 2006 7:49 am |
|
|
What pic are you trying to use? |
|
|
Francesco
Joined: 19 Feb 2004 Posts: 14
|
|
Posted: Fri Mar 31, 2006 7:53 am |
|
|
I want use 18F6520 or 16F876A. |
|
|
Mark
Joined: 07 Sep 2003 Posts: 2838 Location: Atlanta, GA
|
|
Posted: Fri Mar 31, 2006 12:25 pm |
|
|
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
|
|
Posted: Mon Apr 03, 2006 9:20 am |
|
|
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
|
|
Posted: Mon Apr 03, 2006 10:16 am |
|
|
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
|
|
Posted: Mon Apr 03, 2006 12:03 pm |
|
|
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
|
|
Posted: Tue Apr 04, 2006 2:36 am |
|
|
OK. |
|
|
|