Program check failed
Posted: Fri Oct 22, 2010 2:34 pm
Hi,
Can anyone give me some clues to solve the problem listed below. Compiling and linking seems to work fine, but the program does not seem to be sent to the PIC 16F877a. I have tried to disable the appropriate settings in the PPP, but it doesn't seem to make a difference.
Thanks in advance,
Kees
Launching the compiler...
C:\Program Files\Matrix Multimedia\Flowcode V4\BoostC\boostc.pic16.flowcode.exe -v -t PIC16F877A "ex1.c"
........
BoostC Optimizing C Compiler Version 6.95 (for PIC16 architecture)
http://www.sourceboost.com
Copyright(C) 2004-2009 Pavel Baranov
Copyright(C) 2004-2009 David Hobday
Licensed to FlowCode User under Single user Pro License for 1 node(s)
Limitations: PIC12,PIC16 max code size:Unlimited, max RAM banks:Unlimited
ex1.c
Starting preprocessor: C:\PROGRA~1\MATRIX~1\FLOWCO~1\BoostC\pp.exe D:\Archief\projects\Dirksen\flowcode\ex1.c -i C:\PROGRA~1\MATRIX~1\FLOWCO~1\BoostC\include -d _PIC16F877A -la -c2 -o D:\Archief\projects\Dirksen\flowcode\ex1.pp -v -d _BOOSTC -d _PIC16
..............................................................................................................................................................................................
ex1.c success
success
Return code = 0
Launching the linker/assembler...
C:\Program Files\Matrix Multimedia\Flowcode V4\BoostC\boostlink.pic.exe -ld "C:\Program Files\Matrix Multimedia\Flowcode V4\BoostC\lib" libc.pic16.lib flowcode.pic16.lib rand.pic16.lib float.pic16.lib "ex1.obj" -t PIC16F877A -d "D:\Archief\projects\Dirksen\flowcode" -p "ex1"
BoostLink Optimizing Linker Version 6.95
http://www.sourceboost.com
Copyright(C) 2004-2009 Pavel Baranov
Copyright(C) 2004-2009 David Hobday
.....................
Warning unreferenced functions removed:
FCI_FLOAT_TO_STRING in: C:\Program Files\Matrix Multimedia\Flowcode V4\FCD\internals.h
FCI_NUMBER_TO_HEX in: C:\Program Files\Matrix Multimedia\Flowcode V4\FCD\internals.h
FCI_STRING_TO_INT in: C:\Program Files\Matrix Multimedia\Flowcode V4\FCD\internals.h
FCI_STRING_TO_FLOAT in: C:\Program Files\Matrix Multimedia\Flowcode V4\FCD\internals.h
Wdt_msDelay in: C:\Program Files\Matrix Multimedia\Flowcode V4\FCD\internals.h
Wdt_Delay_S in: C:\Program Files\Matrix Multimedia\Flowcode V4\FCD\internals.h
Wdt_Delay_Ms in: C:\Program Files\Matrix Multimedia\Flowcode V4\FCD\internals.h
isinf in: C:\Program Files\Matrix Multimedia\Flowcode V4\FCD\internals.h
Building CASM file
Memory Usage Report
===================
RAM available:368 bytes, used:35 bytes (9.6%), free:333 bytes (90.4%),
Heap size:333 bytes, Heap max single alloc:110 bytes
ROM available:8192 words, used:78 words (1.0%), free:8114 words (99.0%)
success
Return code = 0
Launching the programmer...
C:\Program Files\Matrix Multimedia\Flowcode V4\tools\PPP\PPPv3.exe -cs 2 -chip PIC16F877A -nogui "ex1.hex"
................
Sending program...
.........
Erasing the PICmicro
NOTE: EEPROM data will also be erased!
Writing program memory
Writing configuration memory
Writing id-locations
Reading program memory
Reading configuration memory
Finished reading PICmicro contents
Programming failed:
Program memory check failed
(NOTE: if the PIC is code-protected, this message will be
displayed even if the program has been sent correctly)
That took 6,739 seconds
Return code = 0
FINISHED
Can anyone give me some clues to solve the problem listed below. Compiling and linking seems to work fine, but the program does not seem to be sent to the PIC 16F877a. I have tried to disable the appropriate settings in the PPP, but it doesn't seem to make a difference.
Thanks in advance,
Kees
Launching the compiler...
C:\Program Files\Matrix Multimedia\Flowcode V4\BoostC\boostc.pic16.flowcode.exe -v -t PIC16F877A "ex1.c"
........
BoostC Optimizing C Compiler Version 6.95 (for PIC16 architecture)
http://www.sourceboost.com
Copyright(C) 2004-2009 Pavel Baranov
Copyright(C) 2004-2009 David Hobday
Licensed to FlowCode User under Single user Pro License for 1 node(s)
Limitations: PIC12,PIC16 max code size:Unlimited, max RAM banks:Unlimited
ex1.c
Starting preprocessor: C:\PROGRA~1\MATRIX~1\FLOWCO~1\BoostC\pp.exe D:\Archief\projects\Dirksen\flowcode\ex1.c -i C:\PROGRA~1\MATRIX~1\FLOWCO~1\BoostC\include -d _PIC16F877A -la -c2 -o D:\Archief\projects\Dirksen\flowcode\ex1.pp -v -d _BOOSTC -d _PIC16
..............................................................................................................................................................................................
ex1.c success
success
Return code = 0
Launching the linker/assembler...
C:\Program Files\Matrix Multimedia\Flowcode V4\BoostC\boostlink.pic.exe -ld "C:\Program Files\Matrix Multimedia\Flowcode V4\BoostC\lib" libc.pic16.lib flowcode.pic16.lib rand.pic16.lib float.pic16.lib "ex1.obj" -t PIC16F877A -d "D:\Archief\projects\Dirksen\flowcode" -p "ex1"
BoostLink Optimizing Linker Version 6.95
http://www.sourceboost.com
Copyright(C) 2004-2009 Pavel Baranov
Copyright(C) 2004-2009 David Hobday
.....................
Warning unreferenced functions removed:
FCI_FLOAT_TO_STRING in: C:\Program Files\Matrix Multimedia\Flowcode V4\FCD\internals.h
FCI_NUMBER_TO_HEX in: C:\Program Files\Matrix Multimedia\Flowcode V4\FCD\internals.h
FCI_STRING_TO_INT in: C:\Program Files\Matrix Multimedia\Flowcode V4\FCD\internals.h
FCI_STRING_TO_FLOAT in: C:\Program Files\Matrix Multimedia\Flowcode V4\FCD\internals.h
Wdt_msDelay in: C:\Program Files\Matrix Multimedia\Flowcode V4\FCD\internals.h
Wdt_Delay_S in: C:\Program Files\Matrix Multimedia\Flowcode V4\FCD\internals.h
Wdt_Delay_Ms in: C:\Program Files\Matrix Multimedia\Flowcode V4\FCD\internals.h
isinf in: C:\Program Files\Matrix Multimedia\Flowcode V4\FCD\internals.h
Building CASM file
Memory Usage Report
===================
RAM available:368 bytes, used:35 bytes (9.6%), free:333 bytes (90.4%),
Heap size:333 bytes, Heap max single alloc:110 bytes
ROM available:8192 words, used:78 words (1.0%), free:8114 words (99.0%)
success
Return code = 0
Launching the programmer...
C:\Program Files\Matrix Multimedia\Flowcode V4\tools\PPP\PPPv3.exe -cs 2 -chip PIC16F877A -nogui "ex1.hex"
................
Sending program...
.........
Erasing the PICmicro
NOTE: EEPROM data will also be erased!
Writing program memory
Writing configuration memory
Writing id-locations
Reading program memory
Reading configuration memory
Finished reading PICmicro contents
Programming failed:
Program memory check failed
(NOTE: if the PIC is code-protected, this message will be
displayed even if the program has been sent correctly)
That took 6,739 seconds
Return code = 0
FINISHED