need to program PIC16F676 and how to program read and write by which kind of tools

Discussion in 'Embedded Systems and Microcontrollers' started by kazi2207, Dec 19, 2012.

  1. kazi2207

    Thread Starter New Member

    Dec 19, 2012
    4
    0
    Hello,

    Please help me on how need to program PIC16F676 ? How to read the existing program? What kind of device/tools required to write the program
     
  2. tshuck

    Well-Known Member

    Oct 18, 2012
    3,531
    675
    A Pickit 2 or 3 can read and write to the device, however, only if the configuration bits of the device allow for it.
     
    kazi2207 likes this.
  3. kazi2207

    Thread Starter New Member

    Dec 19, 2012
    4
    0
    Thanks,

    In fact I need to configure/program the PIC16f676 for charge controller, I don't know hoe to set the cuoff voltage, reconnect voltage etc.

    Please help me or if you have any program which can help me

    Thanks again
     
  4. spinnaker

    AAC Fanatic!

    Oct 29, 2009
    4,866
    988

    There is no possible way anyone can help you to do that without looking at your code. I doubt anyone is going to do a huge job like that for free.

    You have the device in front of you and even with the device it could be a difficult task depending on the complexity of the code.

    As tshuck stated, you will need a pickit2 or 3 and mplab (just one piece of software you can use) to read the data if it is allowed. Some manufacturers will read protect their code making it impossible to read.
     
  5. thatoneguy

    AAC Fanatic!

    Feb 19, 2009
    6,357
    718
    Cross-posting in this and other thread. One should be locked or merged.

    Where did you get the schematic for the controller? You should be able to download or purchase the downloadable code from the same site.

    The thing about microcontroller programming is that a schematic can essentially be used for many different tasks depending on the code running on the controller.

    The code is the heart of the project, and if you don't have that, trying to guess it would result in something different. If you do know how to program C, try Sourceboost C, Mikro C, or Hi-Tech C and write code if you know the algorithm for the battery chemistry you are working with.

    If you don't know how to program in C, you'll have a bit to learn before you can tackle a project of this scale. Usually start with blinking an LED (The "Hello World" of uC programming), then blinking an LED with a button input, and working up from there.
     
Loading...