tigerclaw
Newbie level 6
Hello my name is Arthur i am new here, and reletevly a noob to El,MCU and programming.
So i have this PIC 18F242 and the thing is that i tryed every posible code to light a LED on and off, but no mater what i program it wont even torn on.
In PROMETHEUS 7 it works like a charm with that code.
but in real life...... :roll:
The voltage on the I/O pins is always about 0.5v is that normal? even on the one i programed to turn on and off,
the program is there i checked and verified(PICkit2).
I set it to internal clock (OSC = ECIO)
i decoupled the VDD with a 0.1pF capacitor as recomended.
But i am not shore of one thing.
I dount know how to start the program in the real MCU, i presume i jost need to connect the power and ground connections right?
in the settings of MLAB/Programmer i selected release from reset(after a program write) i asumed that alows to start the program in MCU while connected to programmer.
and it is very possible that i tuched a few pins with the full MCLR voltage for a good moment. I was trying to make a JDM programer to it for a few weeks now :-D and out of frustration i at least once misconnected the MCLR wire.
BTW the serial programmers didnt work for me so i got the PICkit2 from ebay.
So i am missing some thing or did i fry the MCU :twisted:?
Thanks
So i have this PIC 18F242 and the thing is that i tryed every posible code to light a LED on and off, but no mater what i program it wont even torn on.
In PROMETHEUS 7 it works like a charm with that code.
but in real life...... :roll:
The voltage on the I/O pins is always about 0.5v is that normal? even on the one i programed to turn on and off,
the program is there i checked and verified(PICkit2).
I set it to internal clock (OSC = ECIO)
i decoupled the VDD with a 0.1pF capacitor as recomended.
But i am not shore of one thing.
I dount know how to start the program in the real MCU, i presume i jost need to connect the power and ground connections right?
in the settings of MLAB/Programmer i selected release from reset(after a program write) i asumed that alows to start the program in MCU while connected to programmer.
and it is very possible that i tuched a few pins with the full MCLR voltage for a good moment. I was trying to make a JDM programer to it for a few weeks now :-D and out of frustration i at least once misconnected the MCLR wire.
BTW the serial programmers didnt work for me so i got the PICkit2 from ebay.
So i am missing some thing or did i fry the MCU :twisted:?
Thanks