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 16:47
Read: times


 
#144003 - We're in different situations, I suppose.
Responding to: ???'s previous message
Jan Waclawek said:
Richard Erlacher said:
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.

Do you mean a real VT52 or alike? That's no better to carry around than a PC... :-)

OK I was joking. I see the merit of being independent of OS and similar stuff - have you ever heard me praising BASIC52? :-)

Well, it's worth considering. Most of my clients have terminals that they use to "talk" to other hardware of one sort or another. A few have PC's, but the physical location of a desktop is often an issue. Sometimes the office personnel just don't like sharing. I have to make the system accessible via means already present in the shop, if that's possible. Keep in mind that many of my app's are machines used in manufacturing. These have, in the typical case, been in production use since the late '70's, and we're just keeping them in use until it can't be done any longer, by which time the owner will probably retire. That's why I'm focused on DIP-40 and PLCC-44 packaging for my "upgrades." I can drop in a DS89C4x0 and immediately improve performance and increase on-board code space.

In some cases, the main problem is that the external EPROMs are too slow, hence, have to be replaced by faster versions. Since, back in '79, the biggest readily available EPROM was a 2732, in a 24-pin package, and since those were 250 ns or slower, it's often an issue "haywiring" the board to accept a bigger part. If I need an ICE, I still have the old Intel MDS with the ICE-51, though I haven't used it in over a decade.

Since a terminal, normally not an ANSI type, but a TVI9xx, typically, that's what I use, and that's what I intend for the client to use when he's doing his own work on the system.

Richard Erlacher said:
Isn't a trace just a series of repeated and moved breakpoints?

No. I've repeated it already, please reread carefully. For single-step and tracing, you DON'T need to place a breakpoint-jump into the code.

That's a reference to an earlier comment in this thread. I'd be interested in how this is done. I've often wondered how this is done in the 805x context, since it hasn't got a software-generated-interrupt instruction. Can you point me to a detailed description?

Richard Erlacher said:
The monitor I prefer is 8KB in size[...]

That's quite prohibitive for the OP's applications, where both mentioned derivatives have... guess... 8kB of code FLASH... :-)

1kB is a maximum target. In this case, even the ascii output of numbers sounds like an unaffordable luxury...

No doubt! Not all free tools will work in all applications. I'd like very much to put together a complete debugging tool set that my clients can use once I'm no longer available, but I doubt they'd be willing both to pay for such a tool and to learn to use it, considering few of them are much younger than I.

Richard Erlacher said:
Are you suggesting one should ship such a monitor as part of the deliverable code?


No, contrary. As I said, I did not understand your remark. You were stating that I should deliver the same thing I was debugging - I deduced from this, that you suggest to include the monitor.

Well, we're in agreement on that. I contend that there should be no development-related "tracks" in the code to be delivered, not even one byte.

JW


Fortunately, I've not yet been forced to deal with this headache. It would trouble my clients in these long-term manufacturing installations to see me show up with a notebook PC and an external ICE, since they're not easily motivated to buy something and then learn to use it. I'm not going to be around forever, nor are they, and they just want their businesses, which have been limping along for a decade or so, using the old technology as best they can, knowing their manufacturing will eventually move to Asia where shop labor costs <<$10 a day rather than >>$20 per hour. Justifying what we old-timers think of as a significant outlay and an associated (painful) learning curve, to someone who figures he'll be out of business in a year or five, is not so easy.

Keep in mind that, here in the U.S, we are operating in a declining economy, where, in 30 years, most of the capital will be held by a tiny minority, ~100 or so, of currently well-connected persons, and the rest of the populace, particularly those currently focused on fun, fun, fun, and material toys, etc, will be working for 4th-world wages because they need to eat. The remainder, unable to get those low-wage jobs, will be out in the streets with their knives and guns, hunting one another for food.

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