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

Comments please on bug reporting

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







Comments please on bug reporting
PostPosted: Thu Aug 16, 2007 7:16 pm     Reply with quote

Could someone out there comment.
I have been using an old version 3.xxx compiler with good success because the newer 4.xxx ones were more buggy. I basically wasted a year's support money because the newer compilers and IDE were worse that the old one. Can anyone out there tell me if the new version is any good , before I pay for support again.
Also what is the best way to report bugs , and get a response. I tried to report a bug in the PIC16F88 write_program_memory function today and was told to "email it in and they would look at it when they have time".

Is there official support at CCS? Is customer service OK?
As this bug was stopping me working I actually had to write the function myself.
Just looking for user feedback.
thanks
Douglas Kennedy



Joined: 07 Sep 2003
Posts: 755
Location: Florida

View user's profile Send private message AIM Address

PostPosted: Fri Aug 17, 2007 4:28 am     Reply with quote

There is pressure on the CCS compiler from two sources as I see it. One is Microchip introducing new devices and even whole new families like dsPIC. The second is the silicon is often better served with a limited version of C but C programmers can be and often are purists and pressure for standard C occurs. The compiler can be viewed by some in C terms alone in which case the absence of C features becomes a reason to reject it. I have only looked at the demo version of V4 but I suspect adding C driven capability such as overloading pointers to constants pointers to functions etc is much the cause of the delays and lack of robustness. The other issue is tinsel (IDE fluff) which further adds to mission creep. No doubt C features and tinsel sells but it is robust compiler engineering that keeps a compiler out of the repair shop.
CCS versions very quickly and V4 is at 50 right now my guess is there are about 50 more versions to go before compilation is robust. Before it becomes robust new versions can bring the value of finally getting something useful. After it becomes robust new versions can bring the result that something useful gets messed up. I see the compiler as value when it robustly supports silicon. Functions to support hardware I2c SPI UART etc trump C purity and IDE tinsel. The business decision is complicated by that fact that the CCS pricing has special weighting between maintenance and outright cost.
An unfinished ( not robust) compiler demands a lower cost and CCS wants to make up the lower initial cost in a lifetime maintenance revenue stream. This causes late adoption of new compilers by existing customers as they can view maintenance as paying CCS for the privilege of being a beta tester. With no price break for early adopters waiting saves money and time unfortunately CCS Marketing may fix this with price increases for late adopters. The right answer for all is in early robustness but that requires project management, limited scope and avoidance of mission creep.
Ken Johnson



Joined: 23 Mar 2006
Posts: 197
Location: Lewisburg, WV

View user's profile Send private message

PostPosted: Fri Aug 17, 2007 6:35 am     Reply with quote

I've been called many things, but . . . now, a purist?

re: Standards! I must disagree with Douglas. When one works with several different micros, and thus several different compilers, it can be very wasteful trying to remember who does what and how, with constructs that should and can be standardized. An example is CCS older implementation of pointers - always byte pointers. There is no reason for this deviation from the standard.

On the other hand, the pic stack implemtation certainly imposes serious limitations on a compiler, and CCS support of chip-specific features is highly commendable. We really get a lot for a few hundred bucks Smile

So, my opinion is that adherence to the ansi standard should be top priority, and that any non-compliance, including (very necessary) extensions, be fully, emphatically documented.

Oops - now to answer the original poster's question:

CCS is very good at support (although currently overwhelmed). I don't think there will be any more upgrades to the V3 compiler - V4 is the product now. From my (limited) experience, pcb, pcm and pch work pretty well. PCD still needs a lot of work. If you find a problem, report it to ccs (email), including a small project demonstrating what is wrong. They are indeed good at responding, offering a temporary work-around, and fixing things. Work with them, support them, and they'll support you.

'nuff said
Ken Johnson
Software Engineer
Jim Hearne



Joined: 22 Dec 2003
Posts: 109
Location: West Sussex, UK

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

PostPosted: Fri Aug 17, 2007 9:01 am     Reply with quote

I've reported several dozen bugs to CCS via email, mostly genuine (occasionally me) and the response varies greatly from nothing at all to quite comprehensive replys, help and even thanks.
I suspect it probably depends on who actually gets assigned it at thier end, i notice the replys are never signed so i don't know how many people there are doing support at CCS.

They are currently putting the prices of everthing up which is a bit of a cheek with the state of version 4 which has only been usable since version 4.3xx.
And it still has frequent broken versions (including the latest v4.050) where they obviously have introduced more bugs fixing something else.

Jim
treitmey



Joined: 23 Jan 2004
Posts: 1094
Location: Appleton,WI USA

View user's profile Send private message Visit poster's website

PostPosted: Fri Aug 17, 2007 10:16 am     Reply with quote

I've seen simular issues.
Quote:

... check on the status of your e-mail, you can
send another e-mail with the subject line:
{6H6361}
This will cause an automatic response during business hours. ...
The current status is as follows:
Your e-mail has been assigned to someone in C Tech Support.
As of yet, we have not had time to further review your e-mail.

I sent this while under service contract. It was never fixed. so why renew my contract.
The only thing I can figure is a catch-22.
I was waiting to renew my contract until they fixed an issue under the contract.
AND they ((I can only imagine)) won't fix this because the customer(me) isn't under a current contract.

??

I use 3.249, and I won't buy anything new in the foreseeable future.
Douglas Kennedy



Joined: 07 Sep 2003
Posts: 755
Location: Florida

View user's profile Send private message AIM Address

PostPosted: Fri Aug 17, 2007 10:22 am     Reply with quote

There are always different ways to view things and if Ken is a purist I think that is admirable. If I'm right CCS seemed to focus on supporting silicon from Microchip. The trade was you could at low cost write in a limited C ( an advantage to me over assembler) and get something useful done with the silicon. I never truly divorced the assembler often using the lst file as window into the accuracy of the compiler. V4 seems to me to be a lot to do with language features and less priority on supporting silicon. The higher language features I suspect will make the assembler validation less efficient. This is branching away from low cost pragmatism. This is fine but it has consequences. I'll guess that nobody at CCS has the true number that represents the cost of say adding pointers to constants but you can bet whatever extra time and money it took it will be reflected in their business plan for V4. The issue this presents for me is that the silicon has changed and V4 is CCS's way of supporting dsPIC silicon. That means I get C features I was doing fine without but at the expense of a very long delay in supporting dsPIC that I really could use and at the same time they rain on my parade by not continuing support for v3 in which I invested in a long learning curve. Some perhaps many will love the features but if at the end of the day the features aren't reliably flashed into the PIC device was it all worthwhile? I believe CCS struggled with V3 have they now learned the project skills to handle a more complex V4?

Last edited by Douglas Kennedy on Fri Aug 17, 2007 10:54 am; edited 2 times in total
Jim Hearne



Joined: 22 Dec 2003
Posts: 109
Location: West Sussex, UK

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

PostPosted: Fri Aug 17, 2007 10:23 am     Reply with quote

Some bugs they just don't seem to want to fix.
I've reported the inconsistant search and replace and the faulty text formatting bugs in several times since ver 3.something when they introduced them but they are still there and rather annoying.

Jim
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