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

PIC16F18876 PCWHD compatibility

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



Joined: 12 Jan 2017
Posts: 2

View user's profile Send private message

PIC16F18876 PCWHD compatibility
PostPosted: Thu Jan 12, 2017 4:57 pm     Reply with quote

Hello all,

I am trying to get the PIC16F18876 up and running using the PCWHD compiler v5.066. My code is below:

Code:

#include <16F18876.h>
#device ADC=10
#use delay(internal=20000000)

void main()
{

   while(TRUE)
   {

      output_high(PIN_A4);
      delay_ms(1000);
      output_low(PIN_A4);
      delay_ms(1000);
      //TODO: User Code
   }

}


When I attempt to build, I am greeted with an error that says "Abbrevia inflate error, possibly a corrupted compressed stream. (Internal cause: no more compressed data in stream [TAbDfInBitStream.DiscardBits])"

Any subsequent build attempts are then met with an IO error 32, and I must delete my .ccsprj file and create a new project in order to see the original error.

I realize this is one of the latest PICs to be added to the compatibility list, so issues are likely to exist, but what can I do to work around this?
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Thu Jan 12, 2017 6:46 pm     Reply with quote

I get the same error, and I'm using the command line compiler.
Email CCS support. They have to fix this. I tested it with vs. 5.066.

I would recommend that other forum members don't try to compile
the posted program. It messes up your MPLAB 8.92 project. You have
to delete various project files and re-make the project. You have to
re-boot your PC because after the error occurs, certain files are locked
from deletion. A re-boot cures this. Also, MPLAB is left in memory and
you have to manually shut down the process. Let CCS fix this.
amillsetx8



Joined: 12 Jan 2017
Posts: 2

View user's profile Send private message

PostPosted: Fri Jan 13, 2017 9:49 am     Reply with quote

I emailed CCS and got a reply saying that v. 5.066 is not equipped to work with this device. They provided me with another device database file "devices5.dat". I replaced the file in "Program Files (x86)/PICC/DCC/5.066" and the error was fixed.

Hopefully the next compiler version fixes this.
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