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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
01/21/10 23:34
Read: times


 
#172656 - Sounds like hardware again
Responding to: ???'s previous message
Louis S said:
Is there an advantage to explicitly writing the code into an assembly file as opposed to emulator stepping?

No - I think Richard was worried that you might just be stepping at the 'C' level...

I've noticed that when the emulator uses its internal clock at 12 MHz the loop "never" (haven't caught it yet) hangs. When I set the internal emulation clock to 11.059MHz or use my target hardware clock (also 11.059MHz) than the hang comes back.

If tweaking the clock causes it to hang or not, that again sounds like a hardware fault - probably a timing issue.
Bit odd that it works at the higher frequency and not the lower, though!

On the scope, the target hardware clock signal looks stable and clean.

I think it's the memory timing that you need to be looking at...

Have you run a thorough memory test yet?

I'm not too sure on how the emulator POD generates multiple clock frequencies and will look into that.

As Jez says, emulator pods can introduce a whole load of unwanted effects all of their own...!
This is one of the reasons why JTAG was invented...

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