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

CAN BUS

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







CAN BUS
PostPosted: Tue Mar 11, 2003 4:14 am     Reply with quote

Has anyone managed to implement the CAN Bus on the PIC18F series?
___________________________
This message was ported from CCS's old forum
Original Post ID: 12522
trean
Guest







Re: CAN BUS
PostPosted: Tue Mar 11, 2003 5:14 am     Reply with quote

It's basically the same as using MCP2510 but with internal registers instead having to access them thru SPI. Do a google search and you will find sample source code in C that you could use.
___________________________
This message was ported from CCS's old forum
Original Post ID: 12524
Dale Herman
Guest







Code here (bootloader available)
PostPosted: Tue Mar 11, 2003 4:12 pm     Reply with quote

<font face="Courier New" size=-1>Hi,

I ported the Microchip C code for the CCS compiler. Also, I have written a CAN based bootloader for the 18F458.

You can download the can library at the link.

Please email me for info on the bootloader.

Dale</font>
___________________________
This message was ported from CCS's old forum
Original Post ID: 12547
PsI



Joined: 09 Jul 2004
Posts: 6

View user's profile Send private message

Microchip C code for the CCS compiler
PostPosted: Fri Jul 09, 2004 3:33 pm     Reply with quote

Does anyone have a copy of Dale Herman's CAN files? I really need a ported version of the Microchip CAN drivers.

Keeping my fingers Crossed...

-PsI
dyeatman



Joined: 06 Sep 2003
Posts: 1912
Location: Norman, OK

View user's profile Send private message

CAN Files
PostPosted: Fri Jul 09, 2004 3:49 pm     Reply with quote

There are a set of CAN drivers and examples in the CCS Drivers and Examples directories that were ported from the Microchip code
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Fri Jul 09, 2004 3:56 pm     Reply with quote

Quote:
Does anyone have a copy of Dale Herman's CAN files? I really need a
ported version of the Microchip CAN drivers.

Check this page. It's got a 4.6MB Zip file, with tons of Dale Herman's
CAN driver code. I don't know if contains exactly what you need,
because I don't have time to check it. (Gotta ship some product this
afternoon). But it may have the ported drivers. Look for the link
down at the bottom, where it says "Full entry & software".
http://www.circuitcellar.com/flash2002/first.htm
PsI



Joined: 09 Jul 2004
Posts: 6

View user's profile Send private message

PostPosted: Fri Jul 09, 2004 4:49 pm     Reply with quote

Thanks for the response guys.

PCM programmer - I have those files that you're talking about, but they're an older version of Dale Herman's driver. He used to have them posted on his website but their site seems to have disappeared :/ Does anyone know if they changed domain names or moved their files to another server?

dyeatman - As regards the CCS CAN drivers, they don't make much sense to me. If it's a ported version of the Microchip Driver why did they have to change the function names and the way they work?

I'm hopeful someone out there still has these drivers or can point me in the right direction Smile

-PsI
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Fri Jul 09, 2004 7:55 pm     Reply with quote

If you really want to contact Dale Herman, I'm pretty sure
he's moved to this website:
http://www.apoxcontrols.com/index.html
PsI



Joined: 09 Jul 2004
Posts: 6

View user's profile Send private message

PostPosted: Sat Jul 10, 2004 4:43 am     Reply with quote

PCM programmer - Thanks for the address, yeah that looks like it's their site. I've sent them a mail, I'll let you know what happens. Wink
dara hayes



Joined: 26 Nov 2003
Posts: 12
Location: Ireland

View user's profile Send private message

PostPosted: Tue Sep 07, 2004 10:39 am     Reply with quote

PsI wrote:
PCM programmer - Thanks for the address, yeah that looks like it's their site. I've sent them a mail, I'll let you know what happens. :wi :arrow: nk:

Hello did you get anywhere looking for those drivers ?? been following thus thread
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