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

Array
Goto page Previous  1, 2
 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
wirelessage



Joined: 08 Aug 2012
Posts: 34

View user's profile Send private message

stable compiler version v5.0x?
PostPosted: Wed Nov 18, 2020 9:42 am     Reply with quote

Hello all:

Looking for a stable compiler version that people are comfortable with. There are so many fixes in every few releases.

I am using PIC18F2685.
I am happy with 4.14 but need to decide when to pull the plug for a new one!

Regards.
Ttelmah



Joined: 11 Mar 2010
Posts: 19195

View user's profile Send private message

PostPosted: Wed Nov 18, 2020 10:50 am     Reply with quote

On the V4 compilers, 4.141 was far superior to anything as early as 4.14.
There are not as many problems as you may think. 5.094 was quite good,
but 5.096, introduced one major bug to do with the handling or ROM *
pointers. This has been fixed, and generally there are fewer bugs with
each new release, unless you select very new chips (90% of the bugs
with new versions are things added to handle new chips).
Curremtly on a 150000 line program running in three linked chips, and
this compiles and runs without problems in 5.097.
wirelessage



Joined: 08 Aug 2012
Posts: 34

View user's profile Send private message

PostPosted: Wed Nov 18, 2020 10:55 am     Reply with quote

Thanks Ttelmah!

Appreciate your response.

I just see the updates every month on the compiler and that is why I felt skeptical. In general, I have liked version v4.141 (not 4.14 as I mentioned earlier).

Now plan to upgrade to 5.097.

Appreciate your support on these forums!
Ttelmah



Joined: 11 Mar 2010
Posts: 19195

View user's profile Send private message

PostPosted: Wed Nov 18, 2020 11:00 am     Reply with quote

There is one 'caveat'. If you do anything like directly accessing the
stack inside an interrupt, be aware that the change from V4 to V5
altered the layout of this data. So moving from V4 to V5 can give
hiccups in this case....
wirelessage



Joined: 08 Aug 2012
Posts: 34

View user's profile Send private message

PostPosted: Wed Nov 18, 2020 11:06 am     Reply with quote

Ttelmah,

Appreciate your response!
Are there any forums I can look at to understand this better.
What changed from V4 to V5 and how I can handle it in my code.
temtronic



Joined: 01 Jul 2010
Posts: 9081
Location: Greensville,Ontario

View user's profile Send private message

PostPosted: Wed Nov 18, 2020 2:46 pm     Reply with quote

Providing whatever version of compiler you're using WORKS with the PICs you're using, there's really no 'need' to upgrade.
..... 'if it ain't broke, don't fix it'
Yes I know newer PICs can have neat peripherals, but the 46K22 suit me fine... I do have samples of new ones, use V5 compiler for them...

I haven't updated several programs, aps, Oses ,some for YEARS.
heck I still run V4.xxx of the compiler, even though I have 5.yyy.
Use MPLAB 8v92 (last version) as it's stable and I know how it works....
Have a PICkit3 for blasting PICs.

Getting too old to change I suppose.

Jay
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Goto page Previous  1, 2
Page 2 of 2

 
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