I'm new to the microchip PIC world but not to electronics. I've been learning chip level PC and laptop mother board repair. I have a smart battery charger that uses a PIC12C672 that was destroyed along with a Schottky diode and a MOSFET. I want to replace the PIC12C672 and program it using a file dump from another good working PIC controlled battery charger that I have that is of the same model. I have been made aware that there is a new design PIC, the PIC12F683 and some have said to use the PIC12F675. My question is can I take the dump file from the PIC12C672 and write it to either of the other upgraded PIC's ? Will this work without having to modifying the code? Should I just buy another PIC12C672 on Ebay and call it a day. Also I own an RT809F programmer, will this do the job? Thanks for any help with this.

  • 2
    \$\begingroup\$ "can I take the dump file from the PIC12C672" - have you already extracted the firmware from the working PIC12C672? MCUs in commercial products are almost always read-protected... \$\endgroup\$ – Bruce Abbott Apr 2 '18 at 12:42
  • \$\begingroup\$ Almost surely Bruce is right and the MCU firmware is protected. Virtually nobody outside the open source community ships unprotected firmware. \$\endgroup\$ – Spehro Pefhany Apr 2 '18 at 13:40
  • \$\begingroup\$ No I have not extracted the files from the original MCU. I was not aware of the copy protection. I have done this previously with BIOS AND I/O chips on motherboards so I figured it would be the same. I attemted to read the files from the original MCU but got an error stating the chip was not installed or may be damaged. I am going to give it a try with the working MCU and will let you know. \$\endgroup\$ – Michael Sukiasian Apr 2 '18 at 14:19

It seems you can pick upgraded PIC chips such as PIC12F683 or PIC12F675. Two things need to be considered before you pick chips in your case.

  1. Pin placements and configuration
  2. Electrical Specifications

Both requirements have been fulfilled in the newly selected PIC Microcontrollers.

Pin Placements and Configurations:

enter image description here

When you see these 3 MCUs, all of them have a pins with same functionality at same place. So, replacing the MCU will not create any connection problem here.

Electrical Specifications

enter image description here

Here electrical specifications are also compatible with the old one. So, you can choose any one of these two what you can afford.

When you look at specifications, PIC12F683 does have more heat dissipation capacity(800 mW) and Maximum source and sink current of GPIO pins (200 mA) than other two MCUs which might be an extra benefit if those conditions are met in your circuit.

  • \$\begingroup\$ If I go with the PIC12F683, can I flash it using a dump file from the original PIC12C672 program code as it was written or do I need to re-write or modify the code in order for it to function the same. Im not programer or coder. I just want to read the file from another PIC12672 that I have, save the file and then write it to the PIC12F683. Will this work? \$\endgroup\$ – Michael Sukiasian Apr 2 '18 at 12:22
  • \$\begingroup\$ You need to develop a program by selecting the MCUPIC12F683 and to do that create a new project in MPLAB software and select the new MCU. There is no need to change the program code since all pins are same in functioning and placement. If you do not know, how to do that please follow the link: wikihow.com/… \$\endgroup\$ – Dhans Apr 2 '18 at 12:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.