Hi everyone!
I have problem; i think in hex file, i am just trying to burn pic16f877a using picpgm software, a error message appears "various error occur" what is about that?Also i check my code in isis there is no problem in my code also it is under 2k limit (demo limit). please help me out.
Thanks.
i doubt the problem is in the Hex file as you said, it worked in ISIS, so it's not the hex code... maybe config bits but...
if picpgm said that there are errors, they are programming errors, maybe your programmer doesn't work at all! (i think you are using a simple JDM right?)
please tell us about your programmer, programming software, PIc configuration and previous experience about PIC programming...
it is multi-pic programmer; i programmed pic16f628a and pic16f84a with my programmer, it is working well. software is picpgm; can detect programmer and ucontroller automatically.
using 4MHz crystal and conf bits are:
OSC is XT, only brown out detect is enable every thing else is off or disable
also i tried pic16f628a but the same errors!!!
Hay i changed the program in hi-tech format (for pic16f877a) and tried to burn; this time no error message occurs, seems like the problem is in hex of mikroc. i wonder then how can isis able to simulate it?????
by the way my prog. is Electronics EveryWhere: Multi PIC Programmer
that's very interesting!
maybe the HEX generated by mikroc is scrambled, and the one of hitech is ordered....
if you don't mind, could you post both of the hex files?
i would like to see how much different they are (and how scrambled...)
mmmm.. maybe a long used breadboard...
do you touch VCC directly on the PowerSupply? or the powersupply cable at the breadboard... maybe it doesn't connect well to the breadboard...
are you sure the voltage gets the PIC? (maybe it reachs the breadboard, but a bad cable doesn't make it reach the VDD on pIC)
also don't forget the MCLR pull-up resistor!!!
do you have a capacitor of 100uF at VCC and GND?
sometimes you need to wire it again in a new breadboard... try if other things fails...