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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
11/02/04 17:47
Read: times


 
#80273 - Hex2Bin Pad Data Command Line Argument
Hello,

I am having a little difficulty with Hex2Bin.exe. It seems that this utility uses 0x00 as the default for it's pad value. When I program the flash ROM for my 80C320 in my office, I am using the .hex file, and the unused portions of my flash Rom are left as 0xFF. When the software author for the system that my board goes into programs my board in-system using the .bin file that hex2bin generates, the unused portions are programmed to 0x00, creating a checksum discrepancy and a subsequent run-time system error message.

My question is this: How do I pass in a 0xFF to hex2bin on the command line. The help says the argument format is /Pn. I assume n is the pad data. I have tried countless decimal and hex formats for n with no success.

I don't want to write my own utility but I will if I have to, I only have until the end of the day.

Thanks!

List of 16 messages in thread
TopicAuthorDate
Hex2Bin Pad Data Command Line Argument            01/01/70 00:00      
   RE: Hex2Bin Pad Data Command Line Argument            01/01/70 00:00      
      RE: Hex2Bin Pad Data Command Line Argument            01/01/70 00:00      
      RE: Hex2Bin Pad Data Command Line Argument            01/01/70 00:00      
         RE: Hex2Bin Pad Data Command Line Argument            01/01/70 00:00      
            RE: Hex2Bin Pad Data Command Line Argument            01/01/70 00:00      
               RE: Hex2Bin Pad Data Command Line Argument            01/01/70 00:00      
                  RE: Hex2Bin Pad Data Command Line Argument            01/01/70 00:00      
                     It worked for me            01/01/70 00:00      
                        RE: It worked for me            01/01/70 00:00      
                        RE: It worked for me            01/01/70 00:00      
      Answer is wrong - gaps in Hex files            01/01/70 00:00      
         RE: Answer is wrong - gaps in Hex files            01/01/70 00:00      
            More info            01/01/70 00:00      
   RE: Hex2Bin Pad Data Command Line Argument            01/01/70 00:00      
      RE: alternatives to Keil Hex2Bin            01/01/70 00:00      

Back to Subject List