See post 14 of this thread. One of the PBP versions fixed this but I am not sure which one, Been doing it this way since 2.43. Still works for me.
See post 14 of this thread. One of the PBP versions fixed this but I am not sure which one, Been doing it this way since 2.43. Still works for me.
Dave
Always wear safety glasses while programming.
so i want it like this???
CONFIG OSC = HS
CONFIG LVP = OFF
CONFIG BOR = OFF
CONFIG MCLRE = ON
and not like this??
__CONFIG _CONFIG1H, _OSC_HS_1H
__CONFIG _CONFIG2H, _WDT_OFF_2H & _WDTPS_128_2H
__CONFIG _CONFIG4L, _LVP_OFF_4L
i tired changing it, and i switched to a 10Mhz resonator that i know works, and im still having this problem.. do you think it could be the chip? or if there was a problem with it, would i still be able to program it and read the code back??
thanks for the help guys
I'd have to say a resounding yes.
I don't know how many transistors any given PIC has in it, but think about it for a second.
Every I/O pin except Vdd/Vss/MCLR/OSC/PGD/PGC/PGM could be blown out, the program is running but you can't see it.
The oscillator section itself could be fried. This PIC apparently doesn't have a backup internal oscillator of any sort, so that options out.
Could be any number of a thousand things, so many 'sections' packed in there, and ICSP only uses a few of them.
However, I'll also say that I've only completely fried one PIC in 10-12 years of messing with them. One pin here, one pin there, input driver, output driver (usually the case)....yes, one here and there, but not a whole chip.
ok... i havent done anything "bad" to this one either... and ive wrecked a few so far.. mostly inserting into sockets backwards!!! and the last one i did, was when i first started SMT stuff, i soldered a 44-tqfp 16f877a with the writing up, so pin 12 (i think) was where pin 1 shoulda been.. i didnt look at the little dot in the corner.... i kept trying to program it, and for some reason it wouldnt program!!!
ill take a picture of the board in a few minutes... dont make fun of the solder, im doing it all by hand with a $20 iron.. i have also soldered parts multiple times trying different things.. which reminds me, when i can afford it, i will probably buy some 18f's in DIPs so i can breadboard it and play around... i just cant seem to get them to work and im not sure why...
Isn't nothing anybody else hasn't done
I've done it too, but I have yet to smoke one.
Have you seen my webpage with the picture of the old mp3 player on it?dont make fun of the solder, im doing it all by hand with a $20 iron..
That'll get you laughing...
Do yourself a favor and get your hands on a good soldering station...nothing like it, some flux, alcohol dispensor, acid brushes, all that good stuff.
I went thru a 7 week micro-mini- circuit card repair class last year (spent about 6 1/2 of those 7 weeks with my head buried in a microscope). I got back and bought a load of good tools for soldering. Made that part of it LOADS easier, to include soldering and desoldering 80 pin TQFP's on and off PCBs.
i looked at you website a while ago, i dont remember the cd player, but im gonna have to go back for another look.
looking at my board on the picture, it actually doesnt look as bad as i thought... (except where the OSC is.. )
the 5-pin 90* header is the ICSP
the 12-pin 90* headers on each end go to sensors and servos and everything else i can imagine
the 5-pin headers go to the top board that has the power circuit on it. it also has a basic LCD display and the power headers to go to the servos/sensors
i do use flux, really small solder and flux remover...
Last edited by dragons_fire; - 28th January 2008 at 19:03.
See this
http://www.picbasic.co.uk/forum/show...87&postcount=6
But I guess it was fixed in 2.47?
Get the bread board stuff or a ZIF socket for developing. Will save a few headaches, may add a few too, but they will be different![]()
Dave
Always wear safety glasses while programming.
ok.... i think i saw that before, but it didnt make any sense... i think i get it now...
Somethings confusing me here.
<img src="http://www.picbasic.co.uk/forum/attachment.php?attachmentid=2301&stc=1&d=120156330 8" />
The schematic shows GND on pin 1 of the ICSP connector.
But Pin2 (+5V) goes to the center pin of the resonator.
Is the schematic wrong? Or am I looking at the pins wrong?
<br>
DT
just going through the datasheet for the 6680 again, it says i may need a resistor between OSC2 and the resonator if its an AT strip cut crystal... how do i know if i need that resistor???
Darrel, i just looked at it, and i thought you had found it.. i stuck my meter on it and it says its correct. so i went back to the schematic and looked. its the otehr 5-pin header on the schematic that is for ISCP, the one you highlighted goes to the other board, and comes from the power supply. its the straight header on the board.
i wish you were right... then i would actually know what i did wrong...
Yup, should have, should have seen that.
Can you show the board layout's?
It's hard to follow past the via's.
<br>
DT
Bookmarks