epilot said:
ok thanks for your guides
then i think it is better i ask all my questions here
what is diference between a 16C84 and 16F84 pic? and can i program a 16F84 with a 1c84 programmer like this
http://sami.ticalc.org/e_84prog.htm ?
You shouldn't really be using such old obselete chips, the 16C84 was replaced by the 16F84, probably about early/mid 90's?, the 16F84 in turn was replaced by the 16F628, around the late 1990's. But all three use the same progammer hardware, it's only programmer software that makes the difference. Originally PicProg (long before it became WinPicProg), only supported the 16C84, as that was the ONLY EEPROM PIC there was, after it was replaced by the 16F84 I upgraded it to support that as well.
So if you've got a box full of the old chips?, fair enough, but don't buy them, buy a later, cheaper, higher spec chip instead.
since i am very beginner at PICs so i let myself to ask the following questions too :roll:
what MPLAB does really? i think it convert a C or assembely code into hex file,is this correct?
MPLAB is a collection of programs integrated together, essentially a text editor, simulator, and assembler. It also has links to MicroChips own programmers, and a link to MicroChips C compiler.
MPLAB converts ASSEMBLY source code into a HEX file (by calling MPASM, the MicroChip assembler). It doesn't compile C source code.
It's a C compiler, it tales C source code and produces a HEX file.
if we have a basic and c program then how we can convert it into hex file? and is the result the same if both do a certain job?
You need the correct compiler for the source you have, that will than produce a HEX file that you can load using your programmer.