View previous topic :: View next topic |
Author |
Message |
amillsetx8
Joined: 12 Jan 2017 Posts: 2
|
PIC16F18876 PCWHD compatibility |
Posted: Thu Jan 12, 2017 4:57 pm |
|
|
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
|
|
Posted: Thu Jan 12, 2017 6:46 pm |
|
|
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
|
|
Posted: Fri Jan 13, 2017 9:49 am |
|
|
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. |
|
|
|