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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
01/22/10 00:30
Read: times


 
#172657 - What I was after ...
Responding to: ???'s previous message
I'd hoped you could divorce yourself, momentarily, from the compiler, using ONLY code that was written in ASM, and nothing but the suspect loop. First, I'd have used the ASM generated by the compiler, and then, if the problem persisted, I'd have written the code explicitly to drive this particular situation, with nothing ... meaning exactly that, aside from the code necessary to monitor the situation, and that might be nothing at all, or it might be a monitor that runs on the MCU. I'd absolutely not attempt to use an emulator or other non-MCU features, even JTAG or something else that could potentially interfere. NO HARDWARE UNINVOLVED IN THE PROBLEM SHOULD BE PRESENT ... not even in the room. Put it out in the car, or leave it at home. At least get it off the test bench. Use a logic analyzer and oscilloscope if the monitor doesn't reveal what's going afoul of the expected result.

DO NOT CONNECT A COMPUTER THAT HAS THE COMPILER TOOLKIT ON IT! Better yet, use a terminal rather than a terminal emulator on a computer.

RE




List of 30 messages in thread
TopicAuthorDate
Simulation vs. Embedded Discrepancy            01/01/70 00:00      
   Hardware fault?            01/01/70 00:00      
      Responding to: Andy Neil's previous message            01/01/70 00:00      
   illustration of edge difference?            01/01/70 00:00      
      SPI Phase/Polarity            01/01/70 00:00      
         address instead of value            01/01/70 00:00      
            Doesn't seem coincidental            01/01/70 00:00      
               MOVX command fails            01/01/70 00:00      
                  Definitely sounds like a hardware fault!            01/01/70 00:00      
                  Have you tried doing this in ASM?            01/01/70 00:00      
                     The loop in ASM            01/01/70 00:00      
                        I think...            01/01/70 00:00      
                        Sounds like hardware again            01/01/70 00:00      
                           If this were reduced to the essentials ...            01/01/70 00:00      
                              Oh Richard            01/01/70 00:00      
                        What I was after ...            01/01/70 00:00      
                           Reducing to Essentials            01/01/70 00:00      
                              RE: Magic Switch On The Compiler            01/01/70 00:00      
                                 Emulator trace            01/01/70 00:00      
                                    Yes            01/01/70 00:00      
                                       SOLVED            01/01/70 00:00      
                                          A bit ocnfused            01/01/70 00:00      
                                             Emulator and AUXR            01/01/70 00:00      
                                                Things do tend to work best...            01/01/70 00:00      
   one guess with a question            01/01/70 00:00      
      Memory has plenty of gaps            01/01/70 00:00      
         That doesn't make sense!            01/01/70 00:00      
            Sloppy language on my part            01/01/70 00:00      
      Am I missing something            01/01/70 00:00      
      questions/request            01/01/70 00:00      

Back to Subject List