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

Is it OK to sell source code containing CCS Drivers ?

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



Joined: 08 Sep 2003
Posts: 492
Location: India

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

Is it OK to sell source code containing CCS Drivers ?
PostPosted: Wed May 16, 2007 8:37 am     Reply with quote

Hi,

I have developed several projects that use the standard CCS drivers for various devices like 24LC256, MCP3208 etc alongwith the code I developed.

Is it OK to sell source code containing the drivers for these devices ??

Also can the source code be freely distributed.


Some other clarifications...

1. Please be advised that, some buyers may not have PCM or PCH installed on their systems, or they may have the free version installed, are there any licensing issues here as well ??

2. How will the license apply for magazine readers ?? Is it OK to print source code of drivers alongwith , code developed by me ???

thanks

arunb
Guest








PostPosted: Wed May 16, 2007 9:05 am     Reply with quote

The CCS source code comes with the compiler. Since anyone wanting to compile the project, will have to have the compiler, they will have the source code allready. Look at the heading inside one of the driver modules, to see the exact terms.

Best Wishes
rberek



Joined: 10 Jan 2005
Posts: 207
Location: Ottawa, Canada

View user's profile Send private message

PostPosted: Wed May 16, 2007 10:49 am     Reply with quote

I do not believe you can distribute CCS source code without express permission from CCS. You can't even really publish it on this site.

r.b.
arunb



Joined: 08 Sep 2003
Posts: 492
Location: India

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

RE:
PostPosted: Wed May 16, 2007 11:47 pm     Reply with quote

Hi,

Well OK instead of publishing I sell my code (containing the drivers) to my customers all in a zip file .... then will this be OK ??

Instead of printing out the source code I could give a general flow diagram of the system and then sell the code (as a zip file) to people , will this be OK ??

thanks
arunb
languer



Joined: 09 Jan 2004
Posts: 144
Location: USA

View user's profile Send private message

PostPosted: Thu May 17, 2007 12:05 am     Reply with quote

I do not see why would there be any doubts of how to handle this. Directly from the driver files:
Quote:
//// This source code may only be used by licensed users of the CCS C ////
//// compiler. This source code may only be distributed to other ////
//// licensed users of the CCS C compiler. No other use, reproduction ////
//// or distribution is permitted without written permission. ////
//// Derivative programs created using this software in object code ////
//// form are not restricted in any way. ////

Once you compile the code you are free to use as you wish, since at that point it is yours. But the source code is not, you are licensed to use it but distribution is very clearly stated.
arunb



Joined: 08 Sep 2003
Posts: 492
Location: India

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

RE:
PostPosted: Thu May 17, 2007 9:22 am     Reply with quote

Hi,

Thank you for the reply, this clears my query ..

But options arare the options left open to me if I want to, distribute my source code containing the drivers....???,


thanks
arunb
RolandAldridge



Joined: 26 Mar 2007
Posts: 7
Location: Southern California

View user's profile Send private message Send e-mail Visit poster's website

PostPosted: Thu May 17, 2007 10:10 am     Reply with quote

I'd suggest you distribute your code by itself, and tell people that to make it work they have to compile it with the CCS compiler available at CCS - this way they will *have* to get the drivers too.

You may want to add some documentation telling the user how to modify the code to point to the right location of the drivers if he installs them somewhere non-standard.

Roland
_________________
Roland Aldridge
www.amio2.com
Ttelmah
Guest







PostPosted: Thu May 17, 2007 10:12 am     Reply with quote

Write your own.
However, since the code can't be compiled without a CCS compiler, anyone wanting to use the sources is going to need a compiler that will include the drivers.

Best Wishes
languer



Joined: 09 Jan 2004
Posts: 144
Location: USA

View user's profile Send private message

Re: RE:
PostPosted: Thu May 17, 2007 12:50 pm     Reply with quote

arunb wrote:
But options arare the options left open to me if I want to, distribute my source code containing the drivers....???

I think the simplest answer is to create your own. Look at the source files, they're not complicated at all (at least 24256.C & MCP3208.C) - straight from the datasheet. You should be able to re-write this in your own way, and then you are the owner. Or you can ask CCS permission to distribute the source code.

There is a third option, but I am no advocate for it so I won't go there ([spam] might though...).
Ttelmah
Guest







PostPosted: Fri May 18, 2007 2:13 am     Reply with quote

There is one other option possible with the newer compilers.
You could generate a library 'header', and precompile the drivers to a .o file. This way the sources are not needed for the drivers, and you can keep to the terms of the CCS agreement.

Best Wishes
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