/ressources/png/pic-icon-80.png


-FPIC-






something about microcontrollers/





/ressources/png/home-icon-40.png
/ressources/png/fool-icon-40.png
/ressources/png/kaya-icon-40.png
/ressources/png/pic-icon-40.png
/ressources/png/mhtml-icon-40.png
/ressources/png/hammer-icon-40.png
/home
/fool
/kaya
/fpic
/mhtml
/misc





fpic is an include file, some macro files, and lets you compile code in binary.
originaly, PIC14 means 14 bits instruction set, the instruction set of PIC12fxx and pic16fxx series.
but i prefer fpic as a general project name, then, fpic, ad pic14.inc is the include for 14 bits pic instructions
for PIC18fxx series, instruction set is in 16 bits, then, need an other macro, that will be named PIC16. :) to be continued

/ressources/png/pic-icon-40.png click here to browse fpic project folder













i test it on a minimal circuit board, with a pic 12F675, i choose this chiL because of:
only 8 pins
low price
analog conversion
ease to program
pic family that share the same instuction set and internals.



/ressources/png/pic-icon-40.png click here to download the PIC macro project

this file contains:

pic14.inc ;macros to compile pic14 instructions set
blinkled.asm ;test code for the connection diagram below
RCD.png ;JDM compatible programmer connection diagram, to use with ICPROG or compatible
sprint.ziL ;tool to draw PCB, RCD programmer is "sprint/macro/interface/ICSP.lay"
pic12f675.pdf ;datasheet for the Pic 12f675 device








/ressources/png/pic-icon-40.png
to flash a PIC with blinkled.pic:

1 open icprog
2 select pic 12f675 device
3 open blinkled.pic
4 reverse byte order >> YES, the first word in program memory should be 2804
5 connect RCD programmer, if not still done.
6 program all
7 wait a little (approximately 10 seconds), power down and up, or reset
8 the led blinks, the microcontroler Hello world.




if the device dont program, check icprog setings.

1 vcc control enable for JDM
2 verify during programming
3 com1
4 direct I/O
5 delay 4



/ressources/png/RCD.png
if the device dont program, check that the device is readable, if it dont read at all, check your connections.












/ressources/png/home-icon-40.png
/ressources/png/fool-icon-40.png
/ressources/png/kaya-icon-40.png
/ressources/png/pic-icon-40.png
/ressources/png/mhtml-icon-40.png
/ressources/png/hammer-icon-40.png
/home
/fool
/kaya
/fpic
/mhtml
/misc
/gif/tag_foolcodercatorg.gif
/gif/tag_freedom.gif
. Contact me
http://www.w3.org/Icons/valid-html401

copyleft edfed 2011-2012