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 18:05
Read: times


 
Msg Score: -1
 -1 Answer is Wrong
#80274 - RE: Hex2Bin Pad Data Command Line Argument
Responding to: ???'s previous message
I am having a little difficulty with Hex2Bin.exe. It seems that this utility uses 0x00 as the default for it's pad value.


Well, I don't use Hex2bin.exe at all since my programmer accepts both .hex and .bin formats.

But if I am not wrong, it can not be Hex2bin.exe which is filling space with zeros. For example if your .hex file contains 240 bytes of code, Hex2bin.exe should generate a binary file of the size 240 bytes. How does Hex2bin.exe know that it should fill in zeros and upto what length?

In my opinion, it is the your programmer's software which is filling unused buffer area with zeros.

As a check you can run the programmer's software and see the buffer to check what it contains. I am sure it muct have zeros.

Many device programmer's softwares have the provision to fill in the buffer with a default value. Check the menues. I hope you can find this setting.

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