Code Copying/Transfer


Closed Thread
Results 1 to 3 of 3
  1. #1
    Join Date
    Apr 2009
    Posts
    2

    Unhappy Code Copying/Transfer

    I have a programmed PIC 12F675 and I wish to extract the programme and "burn" it onto another PIC 12F675.

    I am using a Velleman K8048 programmer along with their supplied Progpic2 and MPASMWIN. I have been able to "READ" the chip and this give me a file (.txt) called readback.

    My question is please how do I use the kit I presently have to send this data back to a fresh PIC 12F675. I cannot compile the READBACK file as it gives 153 errors out of 155 lines.

    Any help would be greatly appreciated as I have spent days playing around with this and am getting no further forward.

    Kind regards

    Tony

  2. #2
    Join Date
    Jul 2003
    Posts
    2,405


    Did you find this post helpful? Yes | No

    Default

    If you can read the code from your original 12F675, then it must not be code protected.

    Just change the name of the code read from the 1st PIC to whatever.HEX, and program
    the 2nd PIC with the saved .HEX file.

    You can't re-compile a .HEX file.
    Regards,

    -Bruce
    tech at rentron.com
    http://www.rentron.com

  3. #3
    Join Date
    Apr 2009
    Posts
    2


    Did you find this post helpful? Yes | No

    Smile Thanks

    Bruce,

    thanks for the update. I will give this ago at the weekend when I get some more time.

    Kind regards

    Tony

Similar Threads

  1. Reading in Manchester code
    By brid0030 in forum Code Examples
    Replies: 0
    Last Post: - 10th March 2009, 21:55
  2. How much code space do PBP statements use.
    By Darrel Taylor in forum Code Examples
    Replies: 5
    Last Post: - 13th February 2009, 21:31
  3. Loop with two motor and 2 sensors
    By MrRoboto in forum mel PIC BASIC
    Replies: 4
    Last Post: - 8th December 2008, 23:40
  4. Making Program Code Space your playground...
    By Melanie in forum Code Examples
    Replies: 15
    Last Post: - 19th July 2008, 08:26
  5. Re-Writing IF-THEN-AND-ENDIF code?
    By jessey in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 18th August 2006, 17:23

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