Failed to program 12f675
Posted: Wed Jul 04, 2012 1:37 am
Hi all
I tried to program my 12f675 and it fails to program the chip it appears to erase the device sucessfully. I have copied the programing report below. Any help would be greatly apreciated.
Regards
Christian O'Callaghan
success
Return code = 0
Launching the linker/assembler...
e:\program files\matrix multimedia\flowcode v4\boostc\boostlink_pic.exe -ld "E:\Program Files\Matrix Multimedia\Flowcode V4\BoostC\lib" libc.pic16.lib flowcode.pic16.lib rand.pic16.lib float.pic16.lib "coloidal_Ver1_4_12F675.obj" -t PIC12F675 -d "E:\Documents and Settings\The Red Pill\My Documents\My designs\Flowcode projects\Coloidal_silver" -p "coloidal_Ver1_4_12F675"
BoostLink Optimizing Linker Version 7.03
http://www.sourceboost.com
Copyright(C) 2004-2011 Pavel Baranov
Copyright(C) 2004-2011 David Hobday
Warning unreferenced functions removed:
FCI_FLOAT_TO_STRING in: E:\Program Files\Matrix Multimedia\Flowcode V4\FCD\internals.h
FCI_NUMBER_TO_HEX in: E:\Program Files\Matrix Multimedia\Flowcode V4\FCD\internals.h
FCI_STRING_TO_INT in: E:\Program Files\Matrix Multimedia\Flowcode V4\FCD\internals.h
FCI_STRING_TO_FLOAT in: E:\Program Files\Matrix Multimedia\Flowcode V4\FCD\internals.h
Wdt_Delay_S in: E:\Program Files\Matrix Multimedia\Flowcode V4\FCD\internals.h
Wdt_Delay_Ms in: E:\Program Files\Matrix Multimedia\Flowcode V4\FCD\internals.h
isinf in: E:\Program Files\Matrix Multimedia\Flowcode V4\FCD\internals.h
Building CASM file
Serious Warning: Possible sw stack corruption, function 'delay_ms' called by more than one asynchronous thread (main/Task, interrupt, interrupt low)
Memory Usage Report
===================
RAM available:64 bytes, used:52 bytes (81.3%), free:12 bytes (18.7%),
Heap size:12 bytes, Heap max single alloc:11 bytes
ROM available:1024 words, used:347 words (33.9%), free:677 words (66.1%)
success
Return code = 0
Launching the programmer...
E:\Program Files\Matrix Multimedia\Flowcode V4\Tools\PICkit3\PK3CMD.exe -P12F675 -Fcoloidal_Ver1_4_12F675.hex -E -M -Y
Connecting...
PICkit 3 detected
Connecting to PICkit 3...
Firmware Suite Version...... 01.26.43
Firmware type......................Midrange
..
PICkit 3 Connected.
Target Detected
Device ID Revision = 0000000b
.............
Erasing ...
Erase device complete
..........
Programming Device ...
Program Memory
Address: 00000000 Expected Value: 0000291c Received Value: 00003fff
Programming failed
Failed to perform Program !!!
Return code = 3
Flowcode was unable to transfer the flowchart to the microcontroller. Check the programmer options and physical connections.
FINISHED
I tried to program my 12f675 and it fails to program the chip it appears to erase the device sucessfully. I have copied the programing report below. Any help would be greatly apreciated.
Regards
Christian O'Callaghan
success
Return code = 0
Launching the linker/assembler...
e:\program files\matrix multimedia\flowcode v4\boostc\boostlink_pic.exe -ld "E:\Program Files\Matrix Multimedia\Flowcode V4\BoostC\lib" libc.pic16.lib flowcode.pic16.lib rand.pic16.lib float.pic16.lib "coloidal_Ver1_4_12F675.obj" -t PIC12F675 -d "E:\Documents and Settings\The Red Pill\My Documents\My designs\Flowcode projects\Coloidal_silver" -p "coloidal_Ver1_4_12F675"
BoostLink Optimizing Linker Version 7.03
http://www.sourceboost.com
Copyright(C) 2004-2011 Pavel Baranov
Copyright(C) 2004-2011 David Hobday
Warning unreferenced functions removed:
FCI_FLOAT_TO_STRING in: E:\Program Files\Matrix Multimedia\Flowcode V4\FCD\internals.h
FCI_NUMBER_TO_HEX in: E:\Program Files\Matrix Multimedia\Flowcode V4\FCD\internals.h
FCI_STRING_TO_INT in: E:\Program Files\Matrix Multimedia\Flowcode V4\FCD\internals.h
FCI_STRING_TO_FLOAT in: E:\Program Files\Matrix Multimedia\Flowcode V4\FCD\internals.h
Wdt_Delay_S in: E:\Program Files\Matrix Multimedia\Flowcode V4\FCD\internals.h
Wdt_Delay_Ms in: E:\Program Files\Matrix Multimedia\Flowcode V4\FCD\internals.h
isinf in: E:\Program Files\Matrix Multimedia\Flowcode V4\FCD\internals.h
Building CASM file
Serious Warning: Possible sw stack corruption, function 'delay_ms' called by more than one asynchronous thread (main/Task, interrupt, interrupt low)
Memory Usage Report
===================
RAM available:64 bytes, used:52 bytes (81.3%), free:12 bytes (18.7%),
Heap size:12 bytes, Heap max single alloc:11 bytes
ROM available:1024 words, used:347 words (33.9%), free:677 words (66.1%)
success
Return code = 0
Launching the programmer...
E:\Program Files\Matrix Multimedia\Flowcode V4\Tools\PICkit3\PK3CMD.exe -P12F675 -Fcoloidal_Ver1_4_12F675.hex -E -M -Y
Connecting...
PICkit 3 detected
Connecting to PICkit 3...
Firmware Suite Version...... 01.26.43
Firmware type......................Midrange
..
PICkit 3 Connected.
Target Detected
Device ID Revision = 0000000b
.............
Erasing ...
Erase device complete
..........
Programming Device ...
Program Memory
Address: 00000000 Expected Value: 0000291c Received Value: 00003fff
Programming failed
Failed to perform Program !!!
Return code = 3
Flowcode was unable to transfer the flowchart to the microcontroller. Check the programmer options and physical connections.
FINISHED