Cannot Program EB006
Posted: Tue Apr 09, 2013 7:20 pm
I am new to E-Blocks. I have looked on the forums to try to solve my problem but the solutions have not worked for me. Using the EB006 and Flowcode V4 and a simple program to toggle leds (the led board is connected to the EB006) I variously get that it cannot id the microcontroller or the USB is not connected. I am using windows 64-bit with a i5 intel processor. The only driver of the three drivers on the EB006 page that will install for the EB006 is dpinst_amd64.exe. Isn't that for an amd processor? I tried the 16F88 then the 16F877A which below is for.
Once when I did get a little further it gave the following:
File name: C:\FlowCode\PIC NonProgrammers\wink\Wink.c
Generated by: Flowcode v4.5.18.74
Date: Tuesday, April 09, 2013 10:12:59
Licence: Professional
http://www.matrixmultimedia.com
Launching the compiler...
c:\program files (x86)\matrix multimedia\flowcode v4\boostc\boostc_pic16_flowcode.exe -v -t PIC16F88 "Wink.c"
BoostC Optimizing C Compiler Version 7.04 (for PIC16 architecture)
http://www.sourceboost.com
Copyright(C) 2004-2011 Pavel Baranov
Copyright(C) 2004-2011 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
Wink.c
Starting preprocessor: c:\PROGRA~2\MATRIX~1\FLOWCO~1\boostc\pp.exe Wink.c -i c:\PROGRA~2\MATRIX~1\FLOWCO~1\boostc\include -d _PIC16F88 -la -c2 -o Wink.pp -v -d _BOOSTC -d _PIC16 -d _CHAR_INDEX
Wink.c success
success
......
Return code = 0
Launching the linker/assembler...
c:\program files (x86)\matrix multimedia\flowcode v4\boostc\boostlink_pic.exe -ld "C:\program files (x86)\matrix multimedia\flowcode v4\boostc\lib" libc.pic16.lib flowcode.pic16.lib rand.pic16.lib float.pic16.lib "Wink.obj" -t PIC16F88 -d "C:\\FlowCode\PIC NonProgrammers\wink" -p "Wink"
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: C:\Program Files (x86)\Matrix Multimedia\Flowcode V4\FCD\internals.h
FCI_NUMBER_TO_HEX in: C:\Program Files (x86)\Matrix Multimedia\Flowcode V4\FCD\internals.h
FCI_STRING_TO_INT in: C:\Program Files (x86)\Matrix Multimedia\Flowcode V4\FCD\internals.h
FCI_STRING_TO_FLOAT in: C:\Program Files (x86)\Matrix Multimedia\Flowcode V4\FCD\internals.h
Wdt_Delay_S in: C:\Program Files (x86)\Matrix Multimedia\Flowcode V4\FCD\internals.h
Wdt_Delay_Ms in: C:\Program Files (x86)\Matrix Multimedia\Flowcode V4\FCD\internals.h
isinf in: C:\Program Files (x86)\Matrix Multimedia\Flowcode V4\FCD\internals.h
Building CASM file
Memory Usage Report
===================
RAM available:368 bytes, used:36 bytes (9.8%), free:332 bytes (90.2%),
Heap size:332 bytes, Heap max single alloc:110 bytes
ROM available:4096 words, used:103 words (2.6%), free:3993 words (97.4%)
success
Return code = 0
Launching the programmer...
C:\Program Files (x86)\Matrix Multimedia\Flowcode V4\tools\PPP\PPPv3.exe -cs 2 -chip PIC16F88 -nogui "Wink.hex"
Sending program...
Error: 31Error: 31Error: 995Error: 2Error: 2Error: 2Error: 2Error: 2Error: 2Error: 2Error: 2Error: 2Error: 2Error: 2Error: 2Error: 2Error: 2Error: 2Error: 2Error: 2Error: 2Error: 2Error: 2Error: 2Error: 2Error: 2Error: 2Error: 2Error: 2Error: 2Error: 2Error: 2Error: 2Error: 2Error: 2Error: 2Error: 2
..........................................
Erasing the PICmicro
NOTE: EEPROM data will also be erased!
Error: 5Error: 5Error: 5Error: 5Error: 5Error: 5Error: 5Error: 5Error: 5Error: 5Error: 5
.............
Error: 5Error: 5Writing program memory
Error: 5Error: 5Error: 5Error: 5Error: 5Error: 5Error: 5Error: 5Error: 5Error: 5Writing configuration memory
Error: 5Error: 5Error: 5Error: 5Error: 5Error: 5Error: 5Error: 5Error: 5Error: 5Error: 5Error: 5Error: 5Error: 5Error: 5Error: 5Error: 5Error: 5Error: 5Error: 5Error: 5Error: 5Error: 5Error: 5Error: 5Error: 5Error: 5Error: 5Error: 5Error: 5Error: 5Error: 5Error: 5Error: 5Error: 5Error: 5Error: 5Error: 5Error: 5Error: 5Error: 5Error: 5Error: 5Error: 5Error: 5Error: 5Error: 5Error: 5Error: 5Error: 5Error: 5Error: 5Error: 5Error: 5Error: 5Programming failed: <config1> & <config2>
That took 20.0 seconds
Error: 5Error: 5Error: 5Error: 5
Return code = 0
FINISHED
What do I need to do?
Once when I did get a little further it gave the following:
File name: C:\FlowCode\PIC NonProgrammers\wink\Wink.c
Generated by: Flowcode v4.5.18.74
Date: Tuesday, April 09, 2013 10:12:59
Licence: Professional
http://www.matrixmultimedia.com
Launching the compiler...
c:\program files (x86)\matrix multimedia\flowcode v4\boostc\boostc_pic16_flowcode.exe -v -t PIC16F88 "Wink.c"
BoostC Optimizing C Compiler Version 7.04 (for PIC16 architecture)
http://www.sourceboost.com
Copyright(C) 2004-2011 Pavel Baranov
Copyright(C) 2004-2011 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
Wink.c
Starting preprocessor: c:\PROGRA~2\MATRIX~1\FLOWCO~1\boostc\pp.exe Wink.c -i c:\PROGRA~2\MATRIX~1\FLOWCO~1\boostc\include -d _PIC16F88 -la -c2 -o Wink.pp -v -d _BOOSTC -d _PIC16 -d _CHAR_INDEX
Wink.c success
success
......
Return code = 0
Launching the linker/assembler...
c:\program files (x86)\matrix multimedia\flowcode v4\boostc\boostlink_pic.exe -ld "C:\program files (x86)\matrix multimedia\flowcode v4\boostc\lib" libc.pic16.lib flowcode.pic16.lib rand.pic16.lib float.pic16.lib "Wink.obj" -t PIC16F88 -d "C:\\FlowCode\PIC NonProgrammers\wink" -p "Wink"
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: C:\Program Files (x86)\Matrix Multimedia\Flowcode V4\FCD\internals.h
FCI_NUMBER_TO_HEX in: C:\Program Files (x86)\Matrix Multimedia\Flowcode V4\FCD\internals.h
FCI_STRING_TO_INT in: C:\Program Files (x86)\Matrix Multimedia\Flowcode V4\FCD\internals.h
FCI_STRING_TO_FLOAT in: C:\Program Files (x86)\Matrix Multimedia\Flowcode V4\FCD\internals.h
Wdt_Delay_S in: C:\Program Files (x86)\Matrix Multimedia\Flowcode V4\FCD\internals.h
Wdt_Delay_Ms in: C:\Program Files (x86)\Matrix Multimedia\Flowcode V4\FCD\internals.h
isinf in: C:\Program Files (x86)\Matrix Multimedia\Flowcode V4\FCD\internals.h
Building CASM file
Memory Usage Report
===================
RAM available:368 bytes, used:36 bytes (9.8%), free:332 bytes (90.2%),
Heap size:332 bytes, Heap max single alloc:110 bytes
ROM available:4096 words, used:103 words (2.6%), free:3993 words (97.4%)
success
Return code = 0
Launching the programmer...
C:\Program Files (x86)\Matrix Multimedia\Flowcode V4\tools\PPP\PPPv3.exe -cs 2 -chip PIC16F88 -nogui "Wink.hex"
Sending program...
Error: 31Error: 31Error: 995Error: 2Error: 2Error: 2Error: 2Error: 2Error: 2Error: 2Error: 2Error: 2Error: 2Error: 2Error: 2Error: 2Error: 2Error: 2Error: 2Error: 2Error: 2Error: 2Error: 2Error: 2Error: 2Error: 2Error: 2Error: 2Error: 2Error: 2Error: 2Error: 2Error: 2Error: 2Error: 2Error: 2Error: 2
..........................................
Erasing the PICmicro
NOTE: EEPROM data will also be erased!
Error: 5Error: 5Error: 5Error: 5Error: 5Error: 5Error: 5Error: 5Error: 5Error: 5Error: 5
.............
Error: 5Error: 5Writing program memory
Error: 5Error: 5Error: 5Error: 5Error: 5Error: 5Error: 5Error: 5Error: 5Error: 5Writing configuration memory
Error: 5Error: 5Error: 5Error: 5Error: 5Error: 5Error: 5Error: 5Error: 5Error: 5Error: 5Error: 5Error: 5Error: 5Error: 5Error: 5Error: 5Error: 5Error: 5Error: 5Error: 5Error: 5Error: 5Error: 5Error: 5Error: 5Error: 5Error: 5Error: 5Error: 5Error: 5Error: 5Error: 5Error: 5Error: 5Error: 5Error: 5Error: 5Error: 5Error: 5Error: 5Error: 5Error: 5Error: 5Error: 5Error: 5Error: 5Error: 5Error: 5Error: 5Error: 5Error: 5Error: 5Error: 5Error: 5Programming failed: <config1> & <config2>
That took 20.0 seconds
Error: 5Error: 5Error: 5Error: 5
Return code = 0
FINISHED
What do I need to do?