Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
06/08/06 07:48
Read: times


 
#118003 - my thoughts
Responding to: ???'s previous message
Patching a HEX file would be pretty easy in some high level language like Ruby or Perl, but a little annoying because HEX is actually a little complicated. It has checksums, etc. It would probably be a lot easier to set the db where the serial number is supposed to live to some distinctive value. Then compile to some more raw format (maybe they call that bin). It will be easy to see what to patch, then. Just modify the two bytes or whatever, taking into account endianness issues. Then convert the bin to a HEX or whatever is required.

If you do it that way, you can write the simplest possible program. It will just need to modify a few bytes at a certain offset into the object file.

List of 17 messages in thread
TopicAuthorDate
serial number into intelhex file            01/01/70 00:00      
   I know of none, but            01/01/70 00:00      
      I don't need it to be so "hard"...            01/01/70 00:00      
         Rolling your own will be faster            01/01/70 00:00      
            File manglers            01/01/70 00:00      
   avoid duplicate effort - add to srecord?            01/01/70 00:00      
   hexmate            01/01/70 00:00      
      won't work for me            01/01/70 00:00      
   Shell script or 010Editor            01/01/70 00:00      
      Yadda-yadda-yadda            01/01/70 00:00      
   Resd the specs            01/01/70 00:00      
   Overwrite it            01/01/70 00:00      
      hmm            01/01/70 00:00      
         Serializing            01/01/70 00:00      
   Here is something to try            01/01/70 00:00      
   my thoughts            01/01/70 00:00      
   solved            01/01/70 00:00      

Back to Subject List