Page 1 of 1

CR038 with SK40C 16F877A.

PostPosted: Fri Apr 25, 2014 2:01 am
by Julia
hi..i try to rebuild the program of Mifare Reader CR038 with SK40C 16F877A given from the site without changing anything but the build failed.there are errors.. if i try to compile the file/source file one by one it successful build ...

the error is :
Error [1254] double.c; 55. could not find space (174 bytes) for data block
Error [1254] C:\Users\New folder\MifareReaderCR038withSK40C_16F877A\Mifare Reader CR038 with SK40C 16F877A\lcd.c; 362. could not find space (174 bytes) for data block

What's this error means?..

Re: CR038 with SK40C 16F877A.

PostPosted: Fri Apr 25, 2014 9:38 am
by yonghui
what is the compiler u are using? IDE used? and did u select the correct PIC device?

the error probably says that the Code size too large to fit into the selected PIC device

Re: CR038 with SK40C 16F877A.

PostPosted: Fri Apr 25, 2014 1:20 pm
by Julia
i use mplab ide and HI-TECH C Compiler for PIC10/12/16..
but i try to rebuild another project example of PTK40A given and the rebuild success..

is there any ways to correct the error?

TQ

Re: CR038 with SK40C 16F877A.

PostPosted: Fri Apr 25, 2014 9:19 pm
by ober
Please do printscreen the project window of MPLAB IDE and show us.