Jump to content
Sign in to follow this  
Ziffy1

Pic16f676

Recommended Posts

BoostC 6.04 compiled my code for a PIC16f676 leaving 21% of the RAM free. The same code using BoostC 6.10 or 6.11 runs 1% over in RAM usage and fails.

 

Any settings that can be used to correct this?

Share this post


Link to post
Share on other sites

Can you check exactly which expressions generate more code when compiler with 6.11? Check if you use 'long' data types which were 16 bits in 6.04 and are now 32 bits. If you use them your data usage will increase when you switch between 6.04 and 6.11.

 

Regards,

Pavel

Share this post


Link to post
Share on other sites

Tried that before I wrote. No longs used, variables are all unsigned and only a few unsigned shorts used. I can't see what's happening, .asm and .lst files are blank. It compiles fine but crashes at the start of linking due to the RAM limitation.

Share this post


Link to post
Share on other sites
Tried that before I wrote.  No longs used, variables are all unsigned and  only a few unsigned shorts used.  I can't see what's happening,  .asm and .lst files are blank.  It compiles fine but crashes at the start of linking due to the RAM limitation.

 

Can you zip your project directory and send it to support@picant.com

 

Regards,

Pavel

Share this post


Link to post
Share on other sites

Join the conversation

You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...