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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
11/26/12 05:33
Read: times


 
#188899 - You have to know hidden details about the simulator
Responding to: ???'s previous message
If the simulator doesn't account for each clock cycle in the UART and keep track of the precise timing between the various registers involved, ranging from the data register to the interrupt flag, it's not really a complete simulator. If it doesn't "know" how the chip in question operates, down to the tiniest detail, or, at least, the tiniest detail knowable from the information the manufacturer will give out, then it can't simulate them properly. Since several manufacturers of 805x's have deviated from the original Intel model, to greater or lesser extent and for reasons ranging from using fewer oscillator periods per machine cycle to adding operational features not incorporated in Intel's design, it's unlikely a simulator applied to several different variations of the 805x will yield results identical to the UART in the chip under examination.

Having spent many hours with 'scope, logic analyzer, and prototype, I'm persuaded that one shouldn't let perfection be the enemy of adequate. In most cases, the simulator is "good enough" for some things, though it's necessary to know in advance for which things it is not adequate. I've spent frustrating hours trying to figure out the synchronization details between the UART in the Maxim/Dallas DS89C4x0's, which the manufacturer wouldn't give me, because I wanted to know the timings that resulted in the various addressing modes to external memory. The result was that I switched to an external serial port implemented in programmable logic rather than guessing at what happened inside the MCU.

Having written and used scores of simulation programs I know that they're, at best, an approximation. That means that the best I can expect, from a simulator I didn't write, is that the information about unknown details is a guess. The user has to decide whether that guess is "close enough."

RE


List of 39 messages in thread
TopicAuthorDate
SiLabs - C8051F020 - Keil IDE            01/01/70 00:00      
   I gave up long ago            01/01/70 00:00      
      SiLabs - C8051F020 - Keil IDE            01/01/70 00:00      
         Silabs IDE            01/01/70 00:00      
            SiLabs - C8051F020 - Keil IDE            01/01/70 00:00      
               Silabs IDE            01/01/70 00:00      
                  SiLabs - C8051F020 - Keil IDE            01/01/70 00:00      
                     why did you not say so            01/01/70 00:00      
                        SiLabs - C8051F020 - Keil IDE            01/01/70 00:00      
                           IDE - Silabs or Keil?            01/01/70 00:00      
                              SiLabs - C8051F020 - Keil IDE            01/01/70 00:00      
                                 so would I, but            01/01/70 00:00      
                                    SiLabs - C8051F020 - Keil IDE            01/01/70 00:00      
                                       nope            01/01/70 00:00      
                                          8 Bit micro - Kernal            01/01/70 00:00      
                     but hardware is easy to get ?            01/01/70 00:00      
                        SiLabs - C8051F020 - Keil IDE            01/01/70 00:00      
                           I do not have it here, but            01/01/70 00:00      
                              SiLabs - C8051F020 - Keil IDE            01/01/70 00:00      
                                 SiLabs - C8051F020 - Keil IDE            01/01/70 00:00      
                                    I know none that show that directly            01/01/70 00:00      
                                       Keil IDE Screen shots            01/01/70 00:00      
                                          what is missing?            01/01/70 00:00      
                                             SiLabs - C8051F020 - Keil IDE            01/01/70 00:00      
                                                why?            01/01/70 00:00      
                                                   Why Simulator            01/01/70 00:00      
                                                      simulators            01/01/70 00:00      
                                                      simulators            01/01/70 00:00      
                                                         Simulator            01/01/70 00:00      
                                                            funny            01/01/70 00:00      
                                                               Simulators            01/01/70 00:00      
                                                      neither of this is simulation            01/01/70 00:00      
                                                         Simulator            01/01/70 00:00      
                                                            if I show you the timetable ...            01/01/70 00:00      
                                                               Simulating            01/01/70 00:00      
                                                                  You have to know hidden details about the simulator            01/01/70 00:00      
                                                                     Simulator            01/01/70 00:00      
                                                                        two aswers and a question            01/01/70 00:00      
                                                                           Great suggestions, Eric....            01/01/70 00:00      

Back to Subject List