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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
02/14/12 15:00
Read: times


 
#185936 - Where you sit determines what you see.
Responding to: ???'s previous message
Erik Malund said:
On the contrary, using a "classic" debug monitor - and getting to understand its requirements & limitations - would be a significant learning curve!
I'm not sure I can give you that last one, Andy. Now, I've used monitors for several decades, and have got to admit, I am comfortable with 'em


You are arguing against a "learning curve" and, in doing so, recommend another "learning curve". That YOU are "comfortable with 'em" does not mean it is the right choice for a beginner.

You're right, of course, but I maintain that it's just one learning curve versus two or more, and, in the case in which the learner is trying to learn the intimate details of the processor core, the one, which is easily handled with the monitor, is plenty. Now, if the goal is to approach all of the learner's programming problems from a high-level language, which has to go through a compiler that arranges low-level instructions in a way totally transparent to the user, well, it won't be as helpful.

I would say that, if different, the learning curve for a monitor will be steeper than the learning curve for a "live" debugger, be it ICE, JTAG or whatever.

I'd have to disagree. There aren't many monitor commands to learn, and finding one's way around the innards of the chip via JTAG is not so simple either. I will admit that one would, in any case, have to learn one's way around the innards of the chip, no matter how one gains access. The monitor, however, works with chips that provide no hardware debugging features, and, being "free", costs WAY less than an ICE.

Now, Andy made it clear that this O/P said he was pretty familiar with the KEIL environment. How that mates up with his initial claim at being new to this area of endeavor puzzles me a bit.

a "live debugger" does not affect the locations etc of your code and thus saves you the "learning curve" of how to make your thing work with a "monitor".

Agreed, but it's little help with a chip that doesn't have debug support in hardware.

So if you want to roam with the dinosaurs, go ahead, but please do not insist it is "easier to learn"

Erik

That's where we'll have to agree to disagree. I find using a monitor very straightforward, probably because of my many years' experience with 'em. The result is that I know what to expect of 'em, and what to do in order to make 'em do what I want. You, on the other hand, have relied on hardware debugging capabilities for as long as I've followed your writings in this forum. Clearly, you know what it can do for you and how to exploit that. Naturally, you see things from the viewpoint of one who's been doing things this way for years.

As I often say, "Where you sit determines what you see."

I would point out, though, that neither approach provides much help with respect to the O/p's original problem, which was selecting and learning about a "small, modern" 805x chip available in through-hole packaging. The little ones lack enough code space to support development with the aid of a monitor, nor do they generally provide debug support of any sort. The newer SiLabs parts, however, do provide it. That might make the choice easier.

RE



List of 61 messages in thread
TopicAuthorDate
Which modern small 8051 should I use?            01/01/70 00:00      
   addition            01/01/70 00:00      
      contradicting yourself.            01/01/70 00:00      
      Get on with SiLabs            01/01/70 00:00      
         Thanks for all of your input!            01/01/70 00:00      
            power miser            01/01/70 00:00      
               Re: Power Miser            01/01/70 00:00      
            Still Need the SiLabs Adapter            01/01/70 00:00      
      Why?            01/01/70 00:00      
   RE: 8-bit 8051            01/01/70 00:00      
      SiLabs is sometimes a bit slow ...            01/01/70 00:00      
         RE: "slow"?            01/01/70 00:00      
            Well ... It might have been coincidental ...            01/01/70 00:00      
   AT89S2051/4051 or ATLP2052/4052            01/01/70 00:00      
      and lose all the goodies            01/01/70 00:00      
         Onewire debug?            01/01/70 00:00      
            tradeoffs            01/01/70 00:00      
               Is a hobbyist not extremely likely to gain            01/01/70 00:00      
                  JTAG            01/01/70 00:00      
                     cost to debug            01/01/70 00:00      
                        cost of AVR debugging "dongle"            01/01/70 00:00      
                  You have to ask yourself ...            01/01/70 00:00      
                     Beginners have even more reason for debug cells, i.e. ICE            01/01/70 00:00      
                     WHAT, exactly, is a hobbyist likely to gain from built-in de            01/01/70 00:00      
                        I still think it 6 one way and half-a-dozen the other            01/01/70 00:00      
                           why go old fashioned            01/01/70 00:00      
                              Where you sit determines what you see.            01/01/70 00:00      
                     exactly this            01/01/70 00:00      
                        Those are all things the monitor allows            01/01/70 00:00      
                           please explain how the monitor allows ...            01/01/70 00:00      
                              Monitors really not good choice for new designs/developers            01/01/70 00:00      
                                 Describing Richards preferences            01/01/70 00:00      
                              It doesn't help with 'C' code at all            01/01/70 00:00      
                                 maybe not using that word            01/01/70 00:00      
                     "Small" 8051            01/01/70 00:00      
                        RE: "Small" 8051            01/01/70 00:00      
                        Productivity/quality really important for hobbyists too            01/01/70 00:00      
                        the calculation            01/01/70 00:00      
                           True cost comes in maintainance            01/01/70 00:00      
                              I totally agree, however            01/01/70 00:00      
                           Ratio?            01/01/70 00:00      
                              all numbers are arbitrary            01/01/70 00:00      
                                 but it's good to be ...            01/01/70 00:00      
                                    Not needed            01/01/70 00:00      
                              A couple of things ...            01/01/70 00:00      
                                 RE: A couple of things ...            01/01/70 00:00      
                                 neither does a SILabs toolstick            01/01/70 00:00      
                                    Starting out, the old-reliable antiques are very easy            01/01/70 00:00      
                                       Wrong conceptual level for majority of needs            01/01/70 00:00      
                                       only somewhat true            01/01/70 00:00      
                        First, Define Icc and Code Size Targets            01/01/70 00:00      
                           It's more complicated than that            01/01/70 00:00      
                           that is not enough            01/01/70 00:00      
                              that is not enough            01/01/70 00:00      
                                 which was what I posted            01/01/70 00:00      
                                    ROFL            01/01/70 00:00      
                                    Not a simple formula!            01/01/70 00:00      
                  power            01/01/70 00:00      
                     OCD != Emulation            01/01/70 00:00      
               the particular hobbyist in question            01/01/70 00:00      
                  It does allow him to maintain separation from the hardware            01/01/70 00:00      

Back to Subject List