Hot!Compiler: Need to change code in a bin file

Author
robert_ho
New Member
  • Total Posts : 3
  • Reward points : 0
  • Joined: 2018/09/05 01:41:54
  • Location: 0
  • Status: offline
2018/09/05 19:26:41 (permalink)
0

Compiler: Need to change code in a bin file

I have one question related to updating the firmware.
There is no source available to use.
Only have .bin file.
I want to change some functionalities. How can I do it? 
Is this possible to do?
Thank you!
#1

11 Replies Related Threads

    Bob White
    Super Member
    • Total Posts : 231
    • Reward points : 0
    • Joined: 2010/11/06 19:52:38
    • Location: Denver, Colorado
    • Status: offline
    Re: Compiler: Need to change code in a bin file 2018/09/05 20:29:32 (permalink)
    +1 (1)
    robert_ho
    I have one question related to updating the firmware.
    There is no source available to use.
    Only have .bin file.
    I want to change some functionalities. How can I do it? 
    Is this possible to do?

     
    If this is a legitimate use, that is you own the rights to the firmware, why do you not have the source code?
     
    Or are you trying to pirate someone else's work?
     
    #2
    qhb
    Superb Member
    • Total Posts : 9615
    • Reward points : 0
    • Joined: 2016/06/05 14:55:32
    • Location: One step ahead...
    • Status: offline
    Re: Compiler: Need to change code in a bin file 2018/09/05 21:11:42 (permalink)
    0
    robert_ho
    I want to change some functionalities. How can I do it? 

    Learn assembler, and patch the code by hand,
    or rewrite the whole application yourself.
    #3
    David
    Pic User
    • Total Posts : 1286
    • Reward points : 0
    • Joined: 2007/12/17 23:19:53
    • Location: uk sussex
    • Status: offline
    Re: Compiler: Need to change code in a bin file 2018/09/05 21:13:29 (permalink)
    0
    or pay someone to do it for you ?

    David
    I support http://picforum.ric323.com because this forum is often too broken to use!
    #4
    NKurzman
    A Guy on the Net
    • Total Posts : 17129
    • Reward points : 0
    • Joined: 2008/01/16 19:33:48
    • Location: 0
    • Status: offline
    Re: Compiler: Need to change code in a bin file 2018/09/05 21:55:33 (permalink)
    0
    It is possible, but very difficult.
    Even more difficult if the original project was not in ASM.
    It may be easier to redo the project.
    #5
    robert_ho
    New Member
    • Total Posts : 3
    • Reward points : 0
    • Joined: 2018/09/05 01:41:54
    • Location: 0
    • Status: offline
    Re: Compiler: Need to change code in a bin file 2018/09/09 19:18:49 (permalink)
    0
    is there any tool to convert .bin file to asm file?
    #6
    qhb
    Superb Member
    • Total Posts : 9615
    • Reward points : 0
    • Joined: 2016/06/05 14:55:32
    • Location: One step ahead...
    • Status: offline
    Re: Compiler: Need to change code in a bin file 2018/09/09 19:32:28 (permalink)
    0

    is there any tool to convert .bin file to asm file?

    The generic term for such a tool is a "disassembler".
    There are a couple around, and they attempt to reproduce the original source, but of course all the variable and routines names and comments are lost, and it will show garbage for data tables in ROM.
    It's even harder to follow the logic of the original program if it was written in C.
     
    This really comes back to YOUR skill as a programmer. Nothing is going to do all that for you.
     
     
    #7
    robert_ho
    New Member
    • Total Posts : 3
    • Reward points : 0
    • Joined: 2018/09/05 01:41:54
    • Location: 0
    • Status: offline
    Re: Compiler: Need to change code in a bin file 2018/09/09 20:06:23 (permalink)
    0
    Thanks for your suggestion.
    #8
    dan1138
    Super Member
    • Total Posts : 3039
    • Reward points : 0
    • Joined: 2007/02/21 23:04:16
    • Location: 0
    • Status: offline
    Re: Compiler: Need to change code in a bin file 2018/09/09 20:13:47 (permalink)
    -1 (1)
    robert_ho
    Thanks for your suggestion.

    You joined the Microchip forum on 2018/09/05 01:41:54, four days ago.
    With the screen name: robert_ho
    Registered with the name: First Name: ho, Last Name: vuong

    My observation is that these kinds of names are not typical for persons that reside on or have businesses in countries that have robust laws for the protection of intellectual property.

    A strict interpretation of international laws and treaties suggests that you may be soliciting help for theft of intellectual property.

    Be certain you have a legally defensible right to possess the source code you seek.
    #9
    qhb
    Superb Member
    • Total Posts : 9615
    • Reward points : 0
    • Joined: 2016/06/05 14:55:32
    • Location: One step ahead...
    • Status: offline
    Re: Compiler: Need to change code in a bin file 2018/09/09 20:40:25 (permalink)
    0

    Experience Level: Microchip Employee

     
    Maybe they thought this meant "Microchip user" :)
     
    #10
    crosland
    Super Member
    • Total Posts : 1561
    • Reward points : 0
    • Joined: 2005/05/10 10:55:05
    • Location: Bucks, UK
    • Status: offline
    Re: Compiler: Need to change code in a bin file 2018/09/10 01:09:51 (permalink)
    0
    Stereotyping like that is distasteful and should have no place on this forum.
    #11
    dan1138
    Super Member
    • Total Posts : 3039
    • Reward points : 0
    • Joined: 2007/02/21 23:04:16
    • Location: 0
    • Status: offline
    Re: Compiler: Need to change code in a bin file 2018/09/10 19:15:43 (permalink)
    +1 (1)
    crosland
    Stereotyping like that is distasteful and should have no place on this forum.

    A solicitation for help to acquire intellectual property that may belong to others has no place on this forum as well.
     
    I apologize for my insensitivity. Lacking accurate information I allowed personal bias to form an opinion as to the place of origin of the original poster.  This is in no way an excuse for my behavior only an explanation.
    post edited by dan1138 - 2018/09/11 00:14:37
    #12
    Jump to:
    © 2019 APG vNext Commercial Version 4.5