Reading Program back from PIC


Closed Thread
Results 1 to 8 of 8

Hybrid View

  1. #1
    Join Date
    Nov 2006
    Location
    Brooklyn,NY
    Posts
    32

    Default Reading Program back from PIC

    I am using Microcode Studio Plus to load a Pic 16F876A with a program. Is there a procedure to read the program from the PIC after it is loaded? I neglected to save the program after loading.

  2. #2
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by schlaray View Post
    I am using Microcode Studio Plus to load a Pic 16F876A with a program. Is there a procedure to read the program from the PIC after it is loaded? I neglected to save the program after loading.
    Depends on your pogram. You're never going to get the actual PBP source back, only the binary code in your PIC.

  3. #3
    Join Date
    Nov 2006
    Location
    Brooklyn,NY
    Posts
    32


    Did you find this post helpful? Yes | No

    Default Reading Program Back From PIC

    How doI get the binary code back?

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


    Did you find this post helpful? Yes | No

    Default

    Just sit your PIC in your PIC programmer, then read it. This will give you .Hex code which you can translate in ASM in MPLAB.... well MPLAB had this function in the past. Seems V7.60 lost it... or i'm still lost in the clouds.

    Unfortunately, there's no way to convert the ASM to PBP ... directly
    Last edited by mister_e; - 5th May 2007 at 02:01.
    Steve

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

  5. #5
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,648


    Did you find this post helpful? Yes | No

    Talking Being a "hard day's Night" ???

    Quote Originally Posted by mister_e View Post
    Just sit your PIC in your PIC programmer, then read it. This will give you .Hex code which you can translate in ASM in MPLAB.... well MPLAB had this function in the past. Seems V7.60 lost it... or i'm still lost in the clouds.

    Unfortunately, there's no way to convert the ASM to PBP ... directly

    Hi, Steve

    You forgot to tell our friend all his variable names are lost ... just memory locations left.

    No problem in V7.60 ( just some strong coffe for you ... NO MORE BEERS !!! ) just think to choose the right tab on the left down side of the program window.

    To save the file ( aha .......) re-program the chip ( or another) with this file, and then right click on the window and choose EXPORT ...
    I've not found how to export an hex file whithout programming a chip before ...

    That's all !!!

    Amitiés d'Outre-Atlantique

    Alain
    Last edited by Acetronics2; - 5th May 2007 at 10:34.
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

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


    Did you find this post helpful? Yes | No

    Default

    yeah click on op-code tab... my mistake... always worth to move the program memory windows a little bit more to the top of the screen to see the whole thing.. oops.. this confirm i was right to call a taxi to get back home tonight... ils ont des chapeaux ronds... burp... vive les bretons!!! Hick!
    Last edited by mister_e; - 5th May 2007 at 10:50.
    Steve

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

Similar Threads

  1. Making Program Code Space your playground...
    By Melanie in forum Code Examples
    Replies: 15
    Last Post: - 19th July 2008, 08:26
  2. pic to pic ir link versus wired link : help please anyone
    By xnihilo in forum mel PIC BASIC Pro
    Replies: 13
    Last Post: - 30th May 2008, 21:01
  3. Help writing pic program with i/p o/p hold delay
    By g7jiq in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 27th May 2008, 21:58
  4. Replies: 14
    Last Post: - 26th September 2007, 05:41
  5. Output PIC module
    By freelancebee in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 12th September 2005, 20:10

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