PIC read program


Closed Thread
Results 1 to 4 of 4
  1. #1
    TEOWK's Avatar
    TEOWK Guest

    Default PIC read program

    I am a new begineer and has not experience with PIC before. Recently I am given a task to edit a PIC controller board.

    Since the board has already contain the important code, can I possibly upload the source code from PIC?

  2. #2
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    if the actual PIC is not code protected yes. In case he is code protect... i have to say No BUT...

    Use your favorite device programmer and read the device and you'll have the answer.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  3. #3
    TEOWK's Avatar
    TEOWK Guest


    Did you find this post helpful? Yes | No

    Default Read Program

    Thank you. I use a Microchip PICSTART Plus programmer and try to upload the code from PIC 16F877. There is no response after the READ process. While reading, I saw the running number of the read memory address. I am not if this device is code protected. There is not message coming out from the output window.

    Please help.

  4. #4
    Join Date
    Jul 2003
    Posts
    2,358


    Did you find this post helpful? Yes | No

    Default

    In this case it looks like the PIC is code protected (most sensible commercial devices would be protected) and as such you would be out of luck.

    Also I notice you say you are a new beginner. Even if you did get access to the microcode, it would of limited use to you. You would only be able to reverse compile back into Assembler, and then you will have to understand what the program is attempting to achieve and be familiar with the hardware circuit to get any idea what is going on (since you will have none of the original program comments or notations as they are not saved in the PIC). This is a long, hard and very tedious process for an expert, never mind a beginner. Most probably it would be a lot easier to write new code from the beginning.

Similar Threads

  1. Replies: 16
    Last Post: - 3rd November 2008, 19:58
  2. Automatic VB6 to pic serial connection
    By arniepj in forum Code Examples
    Replies: 13
    Last Post: - 10th January 2008, 07:57
  3. read with a PIC one file stored in a USB Pen
    By Pedro Santos in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 19th August 2006, 19:07
  4. Matching PIC memory and program size?
    By manxman in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 9th August 2006, 08:02
  5. Serial Pic to Pic using HSER
    By Chadhammer in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 11th March 2005, 23:14

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts