View previous topic :: View next topic |
Author |
Message |
evelikov92
Joined: 10 Mar 2015 Posts: 23
|
problem with pic12f1572 and pickit3 |
Posted: Tue Sep 15, 2015 12:01 pm |
|
|
Hi Everybody!
I have pic12F1572 and I try to connect with pickit3 but I can't. I read the problem is maybe in the version on pickit3. I look the last version is 3.1.0
and I use that version. And pickit3 can't find pic12f1572. I need the help how can solve the problem. Anybody have that problem. Or anybody use PIC12F1572 and can connect with pickit3. From where can download last update for pickit3, which is working with pic12f1572. Sorry for my bad english. Thank you in advance |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Tue Sep 15, 2015 7:23 pm |
|
|
Download the latest version of MPLAB X, and see if it will download the
latest firmware to the Pickit 3. You must use MPLAB X with the 12F1572
because MPLAB vs. 8.92 doesn't support that PIC.
If that doesn't help, then ask your question in the Microchip Pickit 3 forum:
http://www.microchip.com/forums/f15.aspx |
|
|
evelikov92
Joined: 10 Mar 2015 Posts: 23
|
|
Posted: Tue Sep 15, 2015 10:38 pm |
|
|
Ok thanks for the help PCM programmer and link. I try with latest version of MPLAB X. Today maybe I try it. |
|
|
evelikov92
Joined: 10 Mar 2015 Posts: 23
|
|
Posted: Thu Sep 17, 2015 12:01 am |
|
|
This method for me is not working. Or I don't know how can configure, or just is not working. In MPLAB X I see the pic12f1572, I create the project in MPLAB X. I think the pickit3 is update with the firmware who is use in mplab x for pic12f1572, but again can't find pic12f1572 in the pickit3. And another problem is I can't registered in the microchip forum. BTW I registered in the forum and still waiting for activation mail. I still waiting for 17 hours. And I can't asking. |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Thu Sep 17, 2015 11:32 pm |
|
|
If you click on the Run Project button on the MPLAB X toolbar, does it
compile the file and program it into the 12F1572 ? It works for me.
I tested this with CCS vs. 5.048 and MPLAB X vs. 3.10.
(The Run Project button has a large green triangle on it. It's on the
main MPLAB X toolbar).
After it compiles my program, MPLAB X displays the following text in
the Output Window at the bottom of MPLAB X:
Quote: |
Connecting to MPLAB PICkit 3...
Currently loaded firmware on PICkit 3
Firmware Suite Version.....01.28.90 *
Firmware type..............Enhanced Midrange
Target voltage detected
Target device PIC12F1572 found.
Device ID Revision = 2000
The following memory area(s) will be programmed:
program memory: start address = 0x0, end address = 0x9f
configuration memory
Device Erased...
Programming...
Programming/Verify complete
|
This is the test program. I have the 12F1572 installed on a Microchip
Low Pin Count board. I have pin A0 jumpered to the LED for pin C0 on
the board. The LED blinks when the Pickit 3 has finished downloading
the program to the 12F1572.
Code: | #include <12F1572.h>
#fuses INTRC_IO, NOWDT, BROWNOUT
#use delay(internal=16M)
void main()
{
while(TRUE)
{
output_toggle(PIN_A0);
delay_ms(500);
}
} |
The Low Pin Count board runs from a +5v power supply that I have
attached to the board. The Pickit 3 does not supply power to the board. |
|
|
|