CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

problem with pic12f1572 and pickit3

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
evelikov92



Joined: 10 Mar 2015
Posts: 23

View user's profile Send private message

problem with pic12f1572 and pickit3
PostPosted: Tue Sep 15, 2015 12:01 pm     Reply with quote

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

View user's profile Send private message

PostPosted: Tue Sep 15, 2015 7:23 pm     Reply with quote

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

View user's profile Send private message

PostPosted: Tue Sep 15, 2015 10:38 pm     Reply with quote

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

View user's profile Send private message

PostPosted: Thu Sep 17, 2015 12:01 am     Reply with quote

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

View user's profile Send private message

PostPosted: Thu Sep 17, 2015 11:32 pm     Reply with quote

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.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group