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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
11/30/07 11:13
Read: times


 
#147633 - We've fixed it
Responding to: ???'s previous message
Thanks - I hadn't added the required line to assembler to enable the xdata. I had enabled it in c (as the first line of my main method) but this was too late. The compiler was trying to put the variables into xdata before it was initialised - these were then overwritten with code

The crucial line:

ORL    PMR,#1    ;PMR.DME0=1 (set to 1 to enable SRAM)


List of 16 messages in thread
TopicAuthorDate
Dallas DS89C450 - placing a large array into xram            01/01/70 00:00      
   of course it does            01/01/70 00:00      
      OP is using large memory model            01/01/70 00:00      
         Yep - I'm using the large memory model            01/01/70 00:00      
   large memory model and timing            01/01/70 00:00      
      I'm using the XRAM inside the DS89C450            01/01/70 00:00      
         Do Not Forget pdata            01/01/70 00:00      
            I'll look into this            01/01/70 00:00      
   Divide and conquer            01/01/70 00:00      
      Thanks - I will try this            01/01/70 00:00      
         one other thing ...            01/01/70 00:00      
         You're welcome            01/01/70 00:00      
            We've fixed it            01/01/70 00:00      
   It's been a while...            01/01/70 00:00      
      Thanks - That's fixed it!            01/01/70 00:00      
   Thanks for your help            01/01/70 00:00      

Back to Subject List