![]() | ![]() | ![]() |
| |||||||
| Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc. |
![]() |
| | Tools |
| | #1 |
|
Ok so im trying to program this PIC through my pickit2. It can not find the device. I checked the supported PIC's list and it shows nothing of the 18LF's but it does show the 18F's. I was told a while back that i should buy the 18LF's as it would work with my PICKit2. All the wires are set up correctly, what am i doing wrong?
| |
| |
| | #2 |
|
It doesn't list it but i don't see why you couldn't set the volts to 3 volts and manually set it for a 18f4520 and program it that way | |
| |
| | #3 | |
| Quote:
If programming it in a 3v circuit, then pre set the voltage selector to 3v in 'VDD PICKIT2' on the Pickit2 programmer before connecting to the circuit. The LF devices are always recognised by the Pickit2 as F versions Last edited by Wp100; 30th May 2009 at 10:52 AM. | ||
| |
| | #4 | |
|
I don't no if your pickit2 is not like mine but if you put a 18lfxxx it sets the voltage to 2.5volts and tells me what chip i have it hooked to and Quote:
I have had to do that before. On some pickie chips. Last edited by be80be; 30th May 2009 at 02:43 PM. | ||
| |
| | #5 |
|
Hi Burt, I'm using a Microchip PK2 and V2.61 software & 2.32 firmware. Have just tried every option, with a LF4620, but it always comes up with +5v in the Pk2 VDD box, unless it senses a lower target voltage. I seem to remember that it did things differently on an earlier software release. As for the +5v ' recommended way' I'm sure I read that on Microchips site or PK2 forum but cannot find the entry to quote now. Also from the Microchip site or forum was the point about pre setting VDD to the lower target voltage if using icsp - this was to avoid any chance of the default +5v being applied if a operator miskake was made, particularly if used as programmer-to-go Be interested to know if you are using an earlier version.. Last edited by Wp100; 30th May 2009 at 05:38 PM. | |
| |
| | #6 | ||
| Quote:
It's not going to program any lower then what it takes to do the job. What I will do is verify that the chip will run at lower voltage. And all I was telling him is to set it manually For a 18f4520 program and verify at the voltage it will run at when installed And he should be good to go. Quote:
Last edited by be80be; 30th May 2009 at 06:55 PM. | |||
| |
| | #7 | |
|
Hi, Quote:
| ||
| |
| | #8 |
|
Hey thanks so much im new at this and want to make it a hobby.
| |
| |
| | #9 |
|
I updated and messed with it a little bit and it worked! Thanks | |
| |
| | #10 |
|
Good that you got it programmed up ![]() The 18LF chips are handy - you have the more convenient instruction set / memory allocation over the 16 range and apart from being able to use it in 5v circuits, you can use it at 3v or 3v3 with many of the new low voltage i/o devices like Sd cards, memory chips etc. A lot of code on the web is done for the 16F range but its usually easy enough to manually convert them to run on the 18Fs | |
| |
|
| Tags |
| pic18lf4520 |
| Thread Tools | |
| Display Modes | |
| |