Dan81 wrote:Hello Eddy
I have never used Pickit.
With Flowcode, go to chip / configure and click on button "Config 1" and put 0x2FF2 then compile and send hex file with our programmer.
With your configuration the watchdog is enabled !
I suppose your cristal is 19.6MHZ
Did you make tests with 2 or 3 Pics ?
Where are the 22pF (C9 C10) , are they SMT ?
Daniel
Hello Daniel,
The two 22pF are SMT type, I use The PICkit2 programmer from MicroChip with all "old" Pics.
With FlowCode V4 you can select the PICkit2 .
Here is my setting:
C:\Program Files\Matrix Multimedia\Flowcode V4\BoostC\boostc.pic16.flowcode.exe
-v -t PIC%p "%f.c"
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 "%f.obj" -t PIC%p -d "%d" -p "%f"
C:\Program Files\Matrix Multimedia\Flowcode V4\tools\PICkit2\pk2cmd.exe
-PPIC%p -F%f.hex -M -A5 -T -R -BC:\Program Files\Matrix Multimedia\Flowcode V4\tools\PICkit2\
C:\Program Files\Matrix Multimedia\Flowcode V4\Tools\PPP\PPPv3.exe
-cs 2 -chip PIC%p -config
C:\WINDOWS\notepad.exe
I have only the ECIO40 chip from Matrix Multimedia.
When you go to the webpage from MicroChip and look to 16F876A then the 16F886 is the better one.
The setting under "Config 1" and put 0x2FF2 is okay.
I try with more then one PICs also the 16F887 will not run but the 16F877 it's running. ( 40pins chip)
What is wrong?