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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
08/17/05 08:41
Read: times


 
#99543 - Maybe the libraries in causing it ???
Responding to: ???'s previous message
Dear all,

Have been struggling on the same problem these few days. I was wondering if the issue is caused by my FlashRoutine calling the C51S.LIB functions.

I have been studying the .lst file of my FlashRoutine. At some point of the assembly code, I observed that there are statements like, ?C?xxxx

After dozens of commenting and uncommenting, I found that my flash routine had used LCALL ?C?OFFXADD during the IAP Flashing.

I check the library location in the .M51 file, and its like,
CODE 0349H 0080H UNIT ?C?LIB_CODE

I am suspecting when the FlashRoutine is rewriting the flash, and at a point, the library functions are erased, causing it to hang.

But 1 doubt is the Library location is at 0x349. So theoretically, my FlashRoutine should be able to write till 0x300, and not 0x1FF.

Please advise if my analysis is right or wrong. Thank you!





List of 24 messages in thread
TopicAuthorDate
Strange problem IAP for whole chip            01/01/70 00:00      
   Questions please            01/01/70 00:00      
   Nobody knows?            01/01/70 00:00      
      why            01/01/70 00:00      
         For IAP?            01/01/70 00:00      
            Which is exactly what FlashMagic is inte            01/01/70 00:00      
               and now we know why            01/01/70 00:00      
            Get a PC            01/01/70 00:00      
               Enclose PCB in a box            01/01/70 00:00      
                  I understand            01/01/70 00:00      
   Process make sense            01/01/70 00:00      
      Thank god for the response            01/01/70 00:00      
   Maybe the libraries in causing it ???            01/01/70 00:00      
      the problem with absolutes            01/01/70 00:00      
         AT89C51RC2 with 128 bytes per page            01/01/70 00:00      
            there is no such thing as a byte write,            01/01/70 00:00      
               byte write            01/01/70 00:00      
               No byte write            01/01/70 00:00      
                  what was the problem?            01/01/70 00:00      
                     Problem was ...            01/01/70 00:00      
                        OK, now face problems in Variables            01/01/70 00:00      
                           variables used in my remote update            01/01/70 00:00      
   Ok, Solved            01/01/70 00:00      
      Try this            01/01/70 00:00      

Back to Subject List