Reply by Meindert Sprang June 4, 20102010-06-04
"Chris H" <chris@phaedsys.org> wrote in message
news:e$QxZpASV9BMFACr@phaedsys.demon.co.uk...
> In message <4c07ad95$0$22939$e4fe514c@news.xs4all.nl>, Meindert Sprang > <ms@NOJUNKcustomORSPAMware.nl> writes > >Thanks for all comments and opinions. I have decided to go for the
MicroChip
> >C18 compiler. It gives me 60 days time to port and finish the current
code
> >and so far, things are looking good. > > You should check the license... most time limited compilers are for > evaluation and not for commercial use. You normally can not ship a > product with an eval compiler. That said I don't know of any compiler > company that has actually enforced that clause.
I know. And I'd be happy to pay for a license when this whole thing compiles and runs the way we want. Meindert
Reply by Chris H June 3, 20102010-06-03
In message <4c07ad95$0$22939$e4fe514c@news.xs4all.nl>, Meindert Sprang
<ms@NOJUNKcustomORSPAMware.nl> writes
>Thanks for all comments and opinions. I have decided to go for the MicroChip >C18 compiler. It gives me 60 days time to port and finish the current code >and so far, things are looking good.
You should check the license... most time limited compilers are for evaluation and not for commercial use. You normally can not ship a product with an eval compiler. That said I don't know of any compiler company that has actually enforced that clause. -- \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\ \/\/\/\/\ Chris Hills Staffs England /\/\/\/\/ \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
Reply by Meindert Sprang June 3, 20102010-06-03
Thanks for all comments and opinions. I have decided to go for the MicroChip
C18 compiler. It gives me 60 days time to port and finish the current code
and so far, things are looking good.

Meindert


Reply by Richard Swaby June 1, 20102010-06-01
On Mon, 31 May 2010 13:07:23 +0200, "Meindert Sprang"
<ms@NOJUNKcustomORSPAMware.nl> wrote:

>Hi Guru's, > >I have been handed a PIC18 project including a CCS compiler. I have been >struggling for days now to try to work around something that seems to be a >compiler bug but CCS have not been very helpful to solve this project. To be >honest, this whole CCS thing seems to be targeted at embedded-challenged >people and many pre-cooked things and the almost impossibility to devide a >project in several C files are getting seriously in the way of an >experienced developer..... > >I am now considering buying a decent C compiler and I'd like to have some >opinions of you guys. I am opting between IAR, Hi-Tech and SourceBoost. Any >comments and/or suggestions? > >Regards, >Meindert >
Take a look at CC8E from B Knudsen Data. I've used for years and found it to be excellent.There's a free version for evaluation. http://www.bknd.com/cc8e/index.shtml --- news://freenews.netfront.net/ - complaints: news@netfront.net ---
Reply by Joe Chisolm May 31, 20102010-05-31
On Mon, 31 May 2010 13:07:23 +0200, Meindert Sprang wrote:

> Hi Guru's, > > I have been handed a PIC18 project including a CCS compiler. I have been > struggling for days now to try to work around something that seems to be > a compiler bug but CCS have not been very helpful to solve this project. > To be honest, this whole CCS thing seems to be targeted at > embedded-challenged people and many pre-cooked things and the almost > impossibility to devide a project in several C files are getting > seriously in the way of an experienced developer..... > > I am now considering buying a decent C compiler and I'd like to have > some opinions of you guys. I am opting between IAR, Hi-Tech and > SourceBoost. Any comments and/or suggestions? > > Regards, > Meindert
I have used the free Microchip compiler for several projects. So far I have not come across any major warts except that out of the box the libraries are compiled for large memory support (24 bit pointers). First thing I did was recompile for small memory. You have to remember it is a Harvard architecture and constants stored in flash cannot be accessed as normal memory. The compiler will take care of part of this. For the memcpy, strcpy type library routines you have to remember what memory the source and destination reside in, and use the proper library routines. -- Joe Chisolm Marble Falls, Tx.
Reply by Leon May 31, 20102010-05-31
On 1 June, 00:04, John Temples <use...@xargs-spam.com> wrote:
> On 2010-05-31, Chris H <ch...@phaedsys.org> wrote: > > > In message <4c0398f8$0$22933$e4fe5...@news.xs4all.nl>, Meindert Sprang > ><m...@NOJUNKcustomORSPAMware.nl> writes > >>I have been handed a PIC18 project including a CCS compiler. I have bee=
n
> >>struggling for days now to try to work around something that seems to b=
e a
> >>compiler bug but CCS have not been very helpful to solve this project. =
To be
> >>honest, this whole CCS thing seems to be targeted at embedded-challenge=
d
> >>people and many pre-cooked things and the almost impossibility to devid=
e a
> >>project in several C files are getting seriously in the way of an > >>experienced developer..... > > IAR are expensive but a very good compiler. > > What do you mean by "very good"? =A0The last time I evaluated IAR for > the PIC18, it generated code that was 50% larger than Hi-Tech (~36K vs > ~24K). =A0It was so large that I wasn't able to see if the code actually > worked, because it was too large for the 32K target processor. > > -- > John W. Temples, III
I use the Microchip C18 compiler for PIC18 and have had relatively few problems.
Reply by John Temples May 31, 20102010-05-31
On 2010-05-31, Chris H <chris@phaedsys.org> wrote:
> In message <4c0398f8$0$22933$e4fe514c@news.xs4all.nl>, Meindert Sprang ><ms@NOJUNKcustomORSPAMware.nl> writes
>>I have been handed a PIC18 project including a CCS compiler. I have been >>struggling for days now to try to work around something that seems to be a >>compiler bug but CCS have not been very helpful to solve this project. To be >>honest, this whole CCS thing seems to be targeted at embedded-challenged >>people and many pre-cooked things and the almost impossibility to devide a >>project in several C files are getting seriously in the way of an >>experienced developer.....
> IAR are expensive but a very good compiler.
What do you mean by "very good"? The last time I evaluated IAR for the PIC18, it generated code that was 50% larger than Hi-Tech (~36K vs ~24K). It was so large that I wasn't able to see if the code actually worked, because it was too large for the 32K target processor. -- John W. Temples, III
Reply by Don McKenzie May 31, 20102010-05-31
Dan Henry wrote:
> On Mon, 31 May 2010 12:45:11 -0400, Neil <NeilKurzm@worldnet.att.net> > wrote: > >> On 5/31/2010 11:36 AM, Chris H wrote: >>> Hi-Tech went bust and were bought by Microchip. > > ---snip--- > >> I did not know Hi-tech when Bust. > > They didn't.
I thought they simply got an offer they couldn't refuse. Cheers Don... -- Don McKenzie Site Map: http://www.dontronics.com/sitemap E-Mail Contact Page: http://www.dontronics.com/email Web Camera Page: http://www.dontronics.com/webcam No More Damn Spam: http://www.dontronics.com/spam These products will reduce in price by 5% every month: http://www.dontronics-shop.com/minus-5-every-month.html
Reply by Dan Henry May 31, 20102010-05-31
On Mon, 31 May 2010 12:45:11 -0400, Neil <NeilKurzm@worldnet.att.net>
wrote:

>On 5/31/2010 11:36 AM, Chris H wrote: >> Hi-Tech went bust and were bought by Microchip.
---snip---
>I did not know Hi-tech when Bust.
They didn't. -- Dan Henry
Reply by Neil May 31, 20102010-05-31
On 5/31/2010 11:36 AM, Chris H wrote:
> In message<4c0398f8$0$22933$e4fe514c@news.xs4all.nl>, Meindert Sprang > <ms@NOJUNKcustomORSPAMware.nl> writes >> Hi Guru's, >> >> I have been handed a PIC18 project including a CCS compiler. I have been >> struggling for days now to try to work around something that seems to be a >> compiler bug but CCS have not been very helpful to solve this project. To be >> honest, this whole CCS thing seems to be targeted at embedded-challenged >> people and many pre-cooked things and the almost impossibility to devide a >> project in several C files are getting seriously in the way of an >> experienced developer..... >> >> I am now considering buying a decent C compiler and I'd like to have some >> opinions of you guys. I am opting between IAR, Hi-Tech and SourceBoost. Any >> comments and/or suggestions? > > It depends on the project. > > Hi-Tech went bust and were bought by Microchip. Their compilers were not > bad but not brilliant either. > > IAR are expensive but a very good compiler. > > There are few professional standard tools for the PIC18 other than the > IAR because of the problems over the PIC16. So it depends on the nature > of the project. If there is any safety or high reliability involved IAR. > > If it is a consumer or low cost type device Hi-Tech should suffice. > Microchip can not afford to let these compilers sink. > > I have no idea about the SourceBoost > >
I did not know Hi-tech when Bust. They actual where better before Microchip bought them. Faster updates and bug fixes. It is not a cheap compiler, but it has a free and eval version. I use the older ones with no problems. I am using the New Lite version as a test on a new program. So far so good.