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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
09/04/07 11:35
Read: times


 
#143983 - but how do you generate the interrupt?
Responding to: ???'s previous message
Keep in mind that I prefer not to use a PC and software running on it to perform a debug session. Assume I'm using a terminal.

Now, how do you propose to make a series of breakpoints work in the way you suggest?

Yes, 10K rewrites ... how many rewrites does it take to trace through a 1k-byte code segment containing N passes through M loops? Isn't a trace just a series of repeated and moved breakpoints? If so, then there would be N rewrites per opcode per pass through each loop. There might be another way, but I've not yet seen it.

Jan Waclawek said:

This is absolutely the same kind of monitor as you advocate to use (except in the limited code space you couldn't fit the fancy stuff like disassembly or fancy registers display, so you need to offload it to the PC).


The monitor I prefer is 8KB in size and uses no "fancy" display or display features. It DOES, however, assemble and disassemble code. Since the DS89C450 has 64KB of FLASH code space, I have no problem with code size ... yet.

Are you suggesting one should ship such a monitor as part of the deliverable code? I would normally be hostile to such a notion. I don't allow code that isn't directly traceable to a system requirement to be incorporated in a deliverable code set. In many cases, the serial ports aren't even used.

RE



List of 35 messages in thread
TopicAuthorDate
What are your favorite debugging tools?            01/01/70 00:00      
   The Brains            01/01/70 00:00      
      The brain is a valuable tool, but ...            01/01/70 00:00      
         Hardware issues with LPC chips            01/01/70 00:00      
            but they do have self-rewriteable FLASH...            01/01/70 00:00      
               That isn't much of a help in debugging            01/01/70 00:00      
                  why?            01/01/70 00:00      
                     CAUTION!            01/01/70 00:00      
                        trace in monitor            01/01/70 00:00      
                           but how do you generate the interrupt?            01/01/70 00:00      
                              trace, limited resources            01/01/70 00:00      
                                 We're in different situations, I suppose.            01/01/70 00:00      
                                    tracing and simple stepping...            01/01/70 00:00      
                                       no good            01/01/70 00:00      
                                          this is where you lose me ...            01/01/70 00:00      
                                             simple, you do not know it is there            01/01/70 00:00      
                                                we have been discussing this many times            01/01/70 00:00      
                                                   Ave you ever looked at a "bondout" version?            01/01/70 00:00      
                                                      for a plain static code breakpoint...            01/01/70 00:00      
                                                      I do not know, and neither care, but they do!            01/01/70 00:00      
      %$#@! double-post ... sorry!            01/01/70 00:00      
   Selection of tools            01/01/70 00:00      
      Crash Barrier E5            01/01/70 00:00      
         LPT revisited            01/01/70 00:00      
            Dongle            01/01/70 00:00      
   printf()            01/01/70 00:00      
   my absolute favorite and an answer            01/01/70 00:00      
      yes, but is it really worth the money?            01/01/70 00:00      
         I know of no ICE that uses .lst files            01/01/70 00:00      
            now you know            01/01/70 00:00      
               try phrasing it differently            01/01/70 00:00      
   Will call Acqura            01/01/70 00:00      
      metalink            01/01/70 00:00      
         Yes, I have used it many times            01/01/70 00:00      
   an extra port pin and some serial out code            01/01/70 00:00      

Back to Subject List