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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
06/17/05 16:02
Read: times


 
#95192 - Original question
Responding to: ???'s previous message
I agree, in priciple, with what's said here, with the exception that I don't generally put my debugger in the target system. When I'm using a resident debugger in an environment where socketed ROM's and RAM's are present, as is normally the case when using commercial, off-the-shelf MCU boards, I generally use the debugger to make determinations about the optimal order of certain processes when running within that environment, and, frequently, this means controlling two or more systems at once.

Often enough, the task requires a mechanical process to be operating at the same time, and that is controlled by code residing in one or more of the MCU's. Often, the rate, or point in time, within the sequence, at which communication between MCU's takes place is critical. That can be juggled by the debugger. I generally download the resident code to the host PC, replace the Target ROM with a battery-backed RAM, upload the resident code, which now can be "tweaked". The code is patched such that the resident debugger gains control of the system on reset but can still run the code where it normally lives. Under normal circumstances, the UART used to serve the debugger doesn't exist in or is not used by the target system's code. In some cases, the debugger can live in a vacant ROM space on the target board. In others, it has to live within the debug-MCU. It must, of course, be a device that exhibits precisely the same timing as the target MCU, but have larger on-board memory space. Most of the time, however, it simply exists in an external ROM. Since it's not used in the target system except for these process-synchronization "tweaks," it's not necessary to have it resident in the deliverable code.

As I've written before, debugging is not testing. Testing takes place with the deliverable code and other code in the target system. Test procedures are designed to exercise/stress the system-under-test in a way that will exhibit it has met design criteria. Debugging is a process of eliminating the code's failures to meet these criteria.

The size of the debugger can be arbitrary, so long as it leaves sufficient code space for the target code in its entirety. The size of the target memory, however, doesn't require space for the debugger. The physical implementation may limit the flexibility of application of the debugger. That has to be taken into consideration when the initial hardware configuration is chosen.

RE

List of 115 messages in thread
TopicAuthorDate
Full-function debugger?            01/01/70 00:00      
   Keil uVision?            01/01/70 00:00      
      Full-function resident debuger            01/01/70 00:00      
         Oh...            01/01/70 00:00      
   Proteus6 or ISIS 5.2 Professional            01/01/70 00:00      
      full-function resident debugger            01/01/70 00:00      
         Like a Dream!            01/01/70 00:00      
   paulmon?            01/01/70 00:00      
   many possibilities            01/01/70 00:00      
      resident monitor vs. simulator/ICE            01/01/70 00:00      
         pray tell which            01/01/70 00:00      
         Nonsense!            01/01/70 00:00      
   best rethink this ...            01/01/70 00:00      
      comments            01/01/70 00:00      
      Nonsense!            01/01/70 00:00      
      Slow?            01/01/70 00:00      
         there's the rub...            01/01/70 00:00      
            I think I know what you're asking for            01/01/70 00:00      
               so what if JTAG is dead slow            01/01/70 00:00      
                  exactly            01/01/70 00:00      
                  full function debugger            01/01/70 00:00      
               Full-Function debug monitor            01/01/70 00:00      
                  answers and questions            01/01/70 00:00      
                     Full-Function debugger            01/01/70 00:00      
                  Does size matter??            01/01/70 00:00      
                     Full-Function resident debug monitor            01/01/70 00:00      
                  JTAG is the INTERFACE ..            01/01/70 00:00      
                     Full-Function resident debug monitor            01/01/70 00:00      
            You Call That Convenient???            01/01/70 00:00      
               A Men !!!            01/01/70 00:00      
                  sadly not            01/01/70 00:00      
                     be specific            01/01/70 00:00      
                        specifics            01/01/70 00:00      
                        Specifics....            01/01/70 00:00      
               Full Function Resident Debugger            01/01/70 00:00      
   JTAG vs On-Chip Debug            01/01/70 00:00      
   Full-Function Resident Debug Monitor            01/01/70 00:00      
      fried baloney            01/01/70 00:00      
         full-function debugger            01/01/70 00:00      
            a few questions            01/01/70 00:00      
               Full-Function resident debug monitor            01/01/70 00:00      
                  Still don't see why it needs to be...            01/01/70 00:00      
                     Full-Function resident debug monitor            01/01/70 00:00      
                        nope.            01/01/70 00:00      
                           Full-function resident debug monitor            01/01/70 00:00      
                              NASA            01/01/70 00:00      
                                 Full-function resident debug monitor            01/01/70 00:00      
                                    JTAG ?            01/01/70 00:00      
                                       Sometimes not            01/01/70 00:00      
                                       JTAG            01/01/70 00:00      
                                    OH!            01/01/70 00:00      
                                       Synchronization            01/01/70 00:00      
                                          what does that have to do with            01/01/70 00:00      
                                             synchronization            01/01/70 00:00      
                                                that is not "synchronization"            01/01/70 00:00      
                                                   synchronization            01/01/70 00:00      
                                                      more            01/01/70 00:00      
                                                         and more            01/01/70 00:00      
                                                            re: and more (was "Synchronization:)            01/01/70 00:00      
                                                         re: more (was Synchronization)            01/01/70 00:00      
                                                            ask about sim, get answer about mon            01/01/70 00:00      
                                                               simulator vs. debugger            01/01/70 00:00      
                                                                  The end            01/01/70 00:00      
                                                                     thank goodness!            01/01/70 00:00      
                        ancient?            01/01/70 00:00      
                  different targets            01/01/70 00:00      
                     Full-function resident debug monitor            01/01/70 00:00      
                        I know what that is            01/01/70 00:00      
      But Why?            01/01/70 00:00      
         Full-function debugger            01/01/70 00:00      
            limitatitions?            01/01/70 00:00      
   to Richard            01/01/70 00:00      
      full-function resident debug monitor            01/01/70 00:00      
         Time Warp            01/01/70 00:00      
            Multiple target            01/01/70 00:00      
               Full-function resident debug monitor            01/01/70 00:00      
            Full Function resident debug monitor            01/01/70 00:00      
               This is a discussion forum            01/01/70 00:00      
                  Problem in resolution            01/01/70 00:00      
                     Off-Topic!            01/01/70 00:00      
               So you got a free bonus!            01/01/70 00:00      
                  beating a dead horse            01/01/70 00:00      
         seek and ye shall find            01/01/70 00:00      
   Dunfield Development Systems ??            01/01/70 00:00      
      Full-Function Debug Monitor            01/01/70 00:00      
   Some barebone monitors            01/01/70 00:00      
      BASIC            01/01/70 00:00      
         BASIC ???            01/01/70 00:00      
            Not pretending it is            01/01/70 00:00      
            on BASIC            01/01/70 00:00      
               Acorn ?            01/01/70 00:00      
                  asm in basic            01/01/70 00:00      
      Full function resident debug monitor            01/01/70 00:00      
         source            01/01/70 00:00      
            Full function resident debugger C-source            01/01/70 00:00      
            Giving away source            01/01/70 00:00      
               of course you would            01/01/70 00:00      
                  Ha            01/01/70 00:00      
                     Poor DA A            01/01/70 00:00      
                        Here is my stock            01/01/70 00:00      
                           DA A            01/01/70 00:00      
      seasoned hands??            01/01/70 00:00      
         ROM-emulator + debug monitor            01/01/70 00:00      
         In ROM monitor.            01/01/70 00:00      
            emulators            01/01/70 00:00      
         Seasoned hands            01/01/70 00:00      
      BASIC - and - MONITOR-51            01/01/70 00:00      
   Timer 0 isr howto            01/01/70 00:00      
      to Jonzon Yeow            01/01/70 00:00      
   back to the original question            01/01/70 00:00      
      There's an echo in here...            01/01/70 00:00      
         sorry for not crediting you            01/01/70 00:00      
      XCHD instructions.            01/01/70 00:00      
      Original question            01/01/70 00:00      
   re;synchronization            01/01/70 00:00      

Back to Subject List