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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
07/09/07 17:47
Read: times


 
#141651 - beyond ROM emulator
Responding to: ???'s previous message
Andy Neil said:
Jan Waclawek said:
I could imagine a device which drops into a code-EPROM socket, and works as a sort of an ICE ...

Isn't that exactly what the good old "ROM Emulator" used to do...?

Nah, my idea is to to have something more "intelligent". Involving logic (possibly programmable) and maybe even an another microcontroller.

For example, the simplest idea, to have a latch (loadable somehow from PC) and a digital comparator - the processor attempts to fetch from this address and voila, a flipflop is flipped and a LED is lit.

Just one step beyond this, upon flipping the flipflop, the "EPROM" is not outputting the data it is supposed to output as a well-behaving EPROM emulator anymore, but throws out a custom written code, causing for example an infinite loop - voila, we have breakpoints without having to mess with the microcontroller itself. We can even recover the register's content somehow, e.g. making the processor fetching from addresses depending on content of registers; and vice versa, we can relatively easily modify registers needed and then nicely jump back where we left out. Voila, what a nice monitor. Plus, we can run a full execution trace, if we want - after all it's trivial to log the addresses the processor was visiting recently... :-)

Unfortunately, stuff like this is not interesting anymore today... :-(

JW


List of 34 messages in thread
TopicAuthorDate
Debugging???            01/01/70 00:00      
   debugging tools in general            01/01/70 00:00      
      plus            01/01/70 00:00      
         Also willing to know...            01/01/70 00:00      
            Do You have a question?            01/01/70 00:00      
            only with an ICE (in- or external)            01/01/70 00:00      
               ICE (in- or external)??            01/01/70 00:00      
                  Elaboration on ICE needed            01/01/70 00:00      
                     some information            01/01/70 00:00      
                        How to write debugging codes?            01/01/70 00:00      
                           I guess two things mixed up            01/01/70 00:00      
                              Thank you..            01/01/70 00:00      
         whoops            01/01/70 00:00      
      sequence error            01/01/70 00:00      
      give ULTRAMON51 a try, if you can            01/01/70 00:00      
         an answqer, but not to the question            01/01/70 00:00      
            what is "full speed"?            01/01/70 00:00      
               how can a monitor "be involved" without affecting            01/01/70 00:00      
                  maybe you have a wrong notion of what a monitor is            01/01/70 00:00      
                     Actually ...            01/01/70 00:00      
                        FLASHMON and SoftICE            01/01/70 00:00      
                           That's fine if those are what you're using ...            01/01/70 00:00      
                              modern chips use internal FLASH...            01/01/70 00:00      
                                 Yes, they do ... BUT ...            01/01/70 00:00      
                                 ROM Emulator?            01/01/70 00:00      
                                    beyond ROM emulator            01/01/70 00:00      
                                       Now you're getting into ICE territory, Jan            01/01/70 00:00      
                                          Check this one out            01/01/70 00:00      
                        Not Full Speed            01/01/70 00:00      
                           If you'd tried it, you'd know ...            01/01/70 00:00      
                              Conditional Break Points            01/01/70 00:00      
               Who needs debugging?            01/01/70 00:00      
                  correction            01/01/70 00:00      
                  it depends how those pieces are stuck together            01/01/70 00:00      

Back to Subject List