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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
08/04/03 23:22
Read: times


 
#52105 - RE: 89C51/52/55 programmer
Responding to: ???'s previous message
You can see this in your example as the first two records start at address 0x0000 and 0x0003 and each contain the 3 bytes that go into the reset and first interrupt vector.

Because compilers often generate hex files with minimal amount of data in it, i.e., they only write the data they need to write, other memory locations will be whatever they were before you loaded your hex file. If you are using a checksum as any kind of indicator that you've loaded the code properly, you will need to write FF's to your buffer before loading the hex file. Otherwise your checksum will depend on whatever code was loaded previously.

My programmer maintains its buffer between uses, so filling it with FF prior to loading the hex file is now my standard practice.

I don't suppose your verify procedure uses checksums?

Dennis

List of 15 messages in thread
TopicAuthorDate
89C51/52/55 programmer            01/01/70 00:00      
   RE: 89C51/52/55 programmer            01/01/70 00:00      
      RE: 89C51/52/55 programmer            01/01/70 00:00      
      RE: 89C51/52/55 programmer            01/01/70 00:00      
         RE: 89C51/52/55 programmer            01/01/70 00:00      
   Re:89C51/52/55 programmer (correct link)            01/01/70 00:00      
   RE: 89C51/52/55 programmer            01/01/70 00:00      
   RE: 89C51/52/55 programmer            01/01/70 00:00      
      RE: 89C51/52/55 programmer            01/01/70 00:00      
         RE: 89C51/52/55 programmer            01/01/70 00:00      
            RE: 89C51/52/55 programmer            01/01/70 00:00      
   RE: 89C51/52/55 programmer            01/01/70 00:00      
      RE: 89C51/52/55 programmer            01/01/70 00:00      
         RE: 89C51/52/55 programmer            01/01/70 00:00      
            RE: 89C51/52/55 programmer            01/01/70 00:00      

Back to Subject List