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:27
Read: times


 
#80276 - RE: Hex2Bin Pad Data Command Line Argument
Responding to: ???'s previous message
My hex file covers about 50k, the .hex is basically a set of commands and data that tells the programmer where to modify the blank flash. When erased the flash is all FF's. Hex2bin is generating a 64k image in the .bin file. The difference between my 50k and the 64k is filled with zeros. I want to fill it with FF, that way the actual data in the flash will be the same regardless of programming method.

This is for a rack-based phone switch. In either scenario the board is programmed via the backplane through an FPGA, but I wrote my programming code to receive a .hex file and the software group wants a .bin file.

I just read your other reply. If you don't use /Pn you get zeros. Regardless of what I try I still get zeros. If I can pad with FF the checksum of the .hex and .bin programming methods will be the same (and my headache will go away).

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