PDA

View Full Version : i need help



imkiku
03-08-2005, 10:29 AM
hi there,

i happened to make a PIC16f84 RS232 serial programmer and got stuck in programming the PIC using some software

well can u guys tell me how to program a pic16f84 and which language is suitable for it...and mainly how to load the program into a PIC...

and how does the data gets transferred from comp. to the PIC through RS232 ( i know this is kinda stupid but i get such doubts ) :lol:

jack
03-08-2005, 12:54 PM
I use this programmer http://www.myke.com/elcheapo.htm, and it work very well for me. If you like Assembly language then use MPLAB, or if you like C then go for CCS PIC C or Hitech PIC Complier.

ice
03-08-2005, 10:07 PM
These are the steps iinvolved in programming a PIC or any micro
[I'll take the PIC as an examle,as it is in ur case]

STEP1>
Write your program either in assembly,C or Basic

STEP2>
Compile ur program...If ur using MPLAB,use the MPASM assembler that comes along with it.

STEP3>
Once u compile ur program u'll find a HEX file along with many other files like .cod,.lst
Programs like ICPROG,WINPICPROG allow u to download the hex file into ur chip thru the RS232 port.[u must use the circuit that comes along with the software.These are free softwares and so are their circuits]


use this programmer http://www.myke.com/elcheapo.htm, and it work very well for me.
I used this programmer too and it worked pretty well.but its NOT able to program the A series chips.

subot_robot
03-08-2005, 11:35 PM
Hi,
Hi ice, why is ur programmer not possible to program A series chip. i have tried programming pic16f77a using jdm programmer ckt and icprog, winpicprog. so far i have not been able to program it.
the ckt i used is zener diode ckt in webpage
http://pictoral.blogdrive.com/archive/cm-11_cy-2004_m-11_d-30_y-2004_o-0.html

can any body please guide me in this regard? i want to use serial port for programming and i prefer low voltage programming.

thanks

subot_robot

ice
03-09-2005, 10:08 AM
U got me wrong.i am able to program the A series with other programmers,but the ELcheapo is not able to do so.

Just a clarification...The elcheapo can program the PIC16f84A not the 8xxA series

03-09-2005, 10:20 AM
Well yes it cannot program A series uC :(

jack
03-09-2005, 10:31 AM
Oh yes it cannot program A series except 16f84a. Then I suggest this one http://feng3.cool.ne.jp/en/pg5v2.html

shyam
03-10-2005, 11:33 PM
hi :D
You can program PIC16f877a using the programmer given in this link
http://pictoral.blogdrive.com/
use IC_prog software (available freely on the net)
make sure that you connect both vdds and vccs (because 16f877a has 2vdds and 2vccs.)
bye
:lol: shyam

subot_robot
03-12-2005, 06:40 PM
Hi Shyam,
Thanks a lot for ur suggestion. The mistake i did was i connected only one set of Vdd and Vss pins to power supply. Now it is working fine.

subot_robot :wink: