epilot said:hello there
i am new to micro controllers specially the PIC's
i am so glad that a couple of seconds ago i foud out the MR Nigel Goodwin
is one of moderators at here because my questions are about a pic programmer that i built some of days ago from this web site:
**broken link removed**
and the pic software is writen by MR Nigel.
anyway the pic programmer is good and i made it with no problem
now my biggest problem is that i am not familiar with the software and C language
i want to start with a ready circuit and a given code
but i have the following problems:
1: what is the difference between HEX files and source codes?
my mean is what i must do with them in the Nigel software?
i dont know i must use from bothe hex and source or one of them or each one...?
the source codes are based "C" language and i thought i should use from them with the nigel software but dont know what are the hex files so?
2: before writing to the pic micro what i must do at first?
Erasing, reading or...?
3:such as i know there is a button or any else thing the cause that the micro be burned after writing and after this we can not read or write into micro, so what is this button or... for the pic with Nigel software?
epilot said:but what did you mean with this?
"You write the source code, assemble or compile it to a HEX file, then load the HEX file into my programmer software and load it into the PIC."
if i have a source cod i shoud put it in your software DIRECTLY or....?
can you please answer my "2" question i aske at my first post?
how i can burn the pics? my mean is i write into them and then protect them from reading and writing?
GatorGuy said:When you enable the code protect does it just prevent the PIC from being read? I have not tried that feature yet.
I've heard that this error is caused by low programming voltage on MCLR pin...epilot said:hi
ok thanks Nigel
so why your software has a part called " source code"?
i had some of problems when i put the above HEX files in your software while writing and has these errors while writing:
"program Verify failed on line 0, program aborted" or
"program Verify failed on line 8, program aborted"
i dont know wht is the problem really?
It should display your program .please i need for more help to write in my pic
how i can find out that my pic is the programed aftter programing?
if i read the pic micro with "READ PIC" after programing it what will happen?
Are you sure that you are using the correct voltages , because on the schematic it shows , a 17 V DC voltage going into a full wave rectifier IC..what i will have aftter reading the pic? my before writings or...?
i am so sorry for my stupid questions but i need more and more help to go ahead
epilot said:hi
ok thanks Nigel
so why your software has a part called " source code"?
i had some of problems when i put the above HEX files in your software while writing and has these errors while writing:
"program Verify failed on line 0, program aborted" or
"program Verify failed on line 8, program aborted"
i dont know wht is the problem really?
please i need for more help to write in my pic
how i can find out that my pic is the programed aftter programing?
if i read the pic micro with "READ PIC" after programing it what will happen?
what i will have aftter reading the pic? my before writings or...?
epilot said:ok i went to software option part and turned Vpp and VDD
on and measured the voltage on the MCLR and on the VDD
voltage on the MCLR =13.4V
voltage on the VDD = 4.9V
i used from a 18V transformer for the circuit(hardware)
i dont know what is the problem that i can not write to my pic and when i read it, it seems that my pic is empety. this means my codes never went in the pic!!? :cry:
such as you say Nigel , the software can generate source codes from hex file but cannot do the opposit way?
i dont know what is the problem, when i exchange $3BC port to $378
it comeback to $3BC port again!?
epilot said:no i used from an AC 18V transformer with a full wave rectifier diode like the schematic
i think that two 87Lxx and capacitors connected to these ICs makes the ripples very limited
from where i can download MPASM or MPLAB?
if i have a "C" code what software i need for?
Nigel, i put that HEX file you see above at 4 post in a text document and opened it to the software and have no problem with this but when i push the Write pic button i get this error
"program Verify failed on line 0, program aborted"
please see the hex program, perhaps the problem is from the hex file?
forget JDM , that is a serial programmer..epilot said:i cheked the hardware again and it seems there is no problem with it
i dont know what is the problem and i am so confused now
the only thing that i think about is:
perhaps the problem is from the cable because my caple that goes to printer port has some of wires conected to ground and i assume that there are the problem but i am not sure if i must cut them or not
:cry::? :? :?
Nigel, does your software works with all kind DIY pic programmer?
i want to built another kind, perhaps such as this:**broken link removed**
**broken link removed**
epilot said:Nigel, does your software works with all kind DIY pic programmer?
i want to built another kind, perhaps such as this:**broken link removed**
**broken link removed**
epilot said:what is deffirence between serial programmers and parallels refering to your above post?
Build a low-cost and very simple serial programmer for a PIC16F84 Microchip Flash Microcontroller. Below picture is my personal writer for F84 chip, it works very nice with Nigel WPicProg V1.20.
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?