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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
05/29/06 05:39
Modified:
  05/29/06 05:40

Read: times


 
#117211 - Update / Further Puzzle
Responding to: ???'s previous message
Okay I've been working at this a while and have finally accessed the memory both r/w successfully. Now I'm wondering why I have to access it a certain way. Okay the only way I've been able to access this memory is by passing it through a variable first (see code clipping below). Anyone have any idea about this and what could be causing this restriction?


CODE:

xdata char ioPorts[2];
char myPorts[2];
char temp1 = 128;
char temp2 = 128;

myPorts[0] = 'C';
myPorts[1] = 'D';
ioPorts[0] = myPorts[1];
ioPorts[1] = myPorts[0];

temp1 = ioPorts[1];
temp2 = ioPorts[0];

put_serialbyte( temp1 );
put_serialbyte( temp2 );



Also I wanted to thank everyone for their contributions, they are appreciated

List of 67 messages in thread
TopicAuthorDate
DS89C420 internal SRAM Access question            01/01/70 00:00      
   Timed access            01/01/70 00:00      
      Re: Timed access            01/01/70 00:00      
         Lacking ?            01/01/70 00:00      
            Re: Lacking            01/01/70 00:00      
   dunno            01/01/70 00:00      
      Re: dunno            01/01/70 00:00      
         lots of features to track            01/01/70 00:00      
   Example Code            01/01/70 00:00      
      Dallas SRAM Access            01/01/70 00:00      
   Update / Further Puzzle            01/01/70 00:00      
      False Alarm            01/01/70 00:00      
         A bug, maybe?            01/01/70 00:00      
            Isn't that CPU EOL (or not for new des?)            01/01/70 00:00      
               Yes, it's been replaced but he has it.            01/01/70 00:00      
                  Not Quite EOL but thats next ...            01/01/70 00:00      
                     Could be a disappointment            01/01/70 00:00      
                  how are you going to know if the problem            01/01/70 00:00      
                  Damned with faint praise!            01/01/70 00:00      
                     Clearly it's not for production            01/01/70 00:00      
                        Is there a difference between IAP & ISP?            01/01/70 00:00      
                           what I understand is            01/01/70 00:00      
                              DS89C4x0 IAP/ISP explained            01/01/70 00:00      
                           Final Update            01/01/70 00:00      
                              Try this            01/01/70 00:00      
                                 Re: Try this            01/01/70 00:00      
                                    It may be time for a different specimen            01/01/70 00:00      
                                       Re: new specimen            01/01/70 00:00      
                                          huh?            01/01/70 00:00      
                                             not enough benefit in replacing            01/01/70 00:00      
                                          I've been at this a LONG time ...            01/01/70 00:00      
                                    what does it return            01/01/70 00:00      
                                       returns 0x00            01/01/70 00:00      
                                          probably, but why?            01/01/70 00:00      
                                          I doubt you have to connect 'em            01/01/70 00:00      
                                              do not know what ISTR is            01/01/70 00:00      
                                                what it means            01/01/70 00:00      
                                                me either            01/01/70 00:00      
                                                   before you "move on"            01/01/70 00:00      
                                          oscillscope             01/01/70 00:00      
                                             it's not clear how a 'scope will help            01/01/70 00:00      
                                                Well a 'scope would ...            01/01/70 00:00      
                                                   exactly ... so why not have another look            01/01/70 00:00      
                                                      code?            01/01/70 00:00      
                                                         What about SFR definitions?            01/01/70 00:00      
                                                            SFR Def            01/01/70 00:00      
                                                            SFR was defined            01/01/70 00:00      
                                                               bad idea            01/01/70 00:00      
                                                                  Yep, it leads to confusion!            01/01/70 00:00      
                                    but...            01/01/70 00:00      
                                       confusion            01/01/70 00:00      
                                          That was what I wondered, too.            01/01/70 00:00      
                                             So ... What about it?            01/01/70 00:00      
                                             Clear a few things up            01/01/70 00:00      
                        wrong way around            01/01/70 00:00      
                     Most the time..            01/01/70 00:00      
                        That's undoubtedly the case.            01/01/70 00:00      
   Matthew, I am curious about something            01/01/70 00:00      
      Answer as best I can            01/01/70 00:00      
         It's still not clear ...            01/01/70 00:00      
            hmmm try some more            01/01/70 00:00      
               I don't think I'd try that ...            01/01/70 00:00      
                  Re:            01/01/70 00:00      
                     It's not rude ...            01/01/70 00:00      
                        Now ... here's what I did ...            01/01/70 00:00      
               test.asm once more            01/01/70 00:00      
                  Some more questions            01/01/70 00:00      

Back to Subject List