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 CCS Technical Support

Difference between CCS V5.007 & V5.117 compilers

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



Joined: 28 Jun 2024
Posts: 10

View user's profile Send private message

Difference between CCS V5.007 & V5.117 compilers
PostPosted: Fri Jun 28, 2024 1:07 am     Reply with quote

Hi,
I am using the CCS V5.117 compiler in MPLAB IDE.
Can you please summarize the difference between CCS V5.007 vs V5.117? I couldn’t find it on your website.

My code is behaving tricky with V5.007 compile not with V5.117. I saw the difference in memory usage and stack information. The information placed below.

How the stack size allocated? stack used means?
For both build settings are same : +DF +LN +T +A +M +Z +Y=9 +EA
CCS PCD C Compiler, Version 5.007, 3379 07-Jul-16 08:43

Filename: D:\Daten\ExReg\Firmware\Anzeigemodul_EP\ExReg.lst

ROM used: 133218 bytes (76%)
Largest free fragment is 32110
RAM used: 7917 (24%) at main() level
9480 (29%) worst case
Stack used: 660 locations (624 in main + 36 for interrupts)
Stack size: 128


CCS PCD C Compiler, Version 5.117, 3041 27-Jun-24 18:55

Filename: C:\VinodWorkSpace\Schischek\Firmware\CloneDemo\DisplayModuleV230\anzeigemodul\ExReg.lst

ROM used: 129496 bytes (74%)
Largest free fragment is 35832
RAM used: 7927 (24%) at main() level
8396 (26%) worst case
Stack used: 128 locations (76 in main + 52 for interrupts)
Stack size: 144
_________________
Thanks,
Vinod
temtronic



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

View user's profile Send private message

PostPosted: Fri Jun 28, 2024 5:05 am     Reply with quote

'Historically' .007 is a very,very early version of the compiler and not 'optimized'. As CCS gets feeedback from users, they make changes to the compiler to get rid of 'bugs'. This is why uses NEED to 'report bugs to CCS' !!!
The sooner they know, the sooner it can be fixed.
They do post a list of versions and changes on their website but obviously won't detail each and every 'update'. Something like 'fixed 32bit math' wil be reported but maybe not a 'wrong bit in wrong register for PICxxxxxxx'.
dyeatman



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

View user's profile Send private message

PostPosted: Fri Jun 28, 2024 5:32 am     Reply with quote

BTW, this is NOT a CCS Support forum, it is a user forum and
there are no CCS folks here, just users. If you want to reach CCS, send
an email to support@ccsinfo.com (address at the address at the upper right
corner of your screen).

Software version changes can be found here (there are a LOT):
https://www.ccsinfo.com/devices.php?page=versioninfo

Release .007 of version 5 (5.007) was very early in the release cycle
when the software was still "hinkey" and not stable which is likely why
you encountered issues.
_________________
Google and Forum Search are some of your best tools!!!!
Ttelmah



Joined: 11 Mar 2010
Posts: 19529

View user's profile Send private message

PostPosted: Fri Jun 28, 2024 6:55 am     Reply with quote

5.007 was really 'beta' at best.
It was about 5.012, before several of the features started to work.
The list of changes if fairly long. They do say version by version what
has changed, but there is not a list of changes as such, except for the
'recent changes' list on the download page.
The best guide to feature changes is to compare the manuals.

On the stack, _you_ have to allocate more space in the first example,
since it is running out. Look at the #build instruction, which allows this.

The default is often too small, and you routinely should expand this for
anything that uses a lot of printing, subroutines or maths.
Vinod.chinthoti



Joined: 28 Jun 2024
Posts: 10

View user's profile Send private message

PostPosted: Mon Jul 01, 2024 12:55 am     Reply with quote

@Ttelmah, @dyeatman, , @temtronic thanks for response. Now I got it.
one question Is stack created at the starting of the RAM location or ending with CCS?
_________________
Thanks,
Vinod
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