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

Back to Subject List

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


 
#168936 - It's not a replacement for the target
Responding to: ???'s previous message
Per Westermark said:
You are forgetting yourself.

You ask: "What AVR/805x board can provide all that for comparable cost?"

Irrelevant if my goal is to create a keyboard controller. I want a final product. An evaluation board with a gazillion features are of no use if the target hardware will never use any of them.

True enough, but ... why not use a keyboard encoder rather than an MCU?

Among other things, I work with CAN. What use is then that evaluation board if it doesn't have CAN?

Yes, there are things that aren't on THIS board, but, generally speaking, it's not likely a board with CAN will, after designing a board, and after omitting the GLCD, cost less than this one.

Testing is what you do all the way through the development of your firmware or hardware. It is not just something you do when you have a release candidate of hardware and/or firmware.

Not quite ... that may be trial, but it's certainly not testing.

About the board you did suggest. Throw away the LCD and the beeper, but add in CAN and some other features, and you will have something similar to one product I have developed the software for. Yes, the product do run Linux. But no, I'm not interested in running any development tools on it. No need to. TCP or BDM can be used if I want to debug in the hardware. Much of the software can be tested directly on a PC.

Firmware issues can be worked, to large extent, on a PC. Hardware and hardware/firmware integration issues, well, not so much. Please understand that I don't disagree with much of what you say, Per, but there's a distinct limit to the relative usefulness of PC-based tools. They may work fine for debugging your 'C' code, and for debugging your ASM, but, they unfortunately lack the ability to exercise firmware in an environment wherein there are actual external signals that occur at timings not readily simulated in a PC. I wish it weren't so, but the simulators are just to primitive, and the debugging tools are too limited in scope. The simulations are typically based on instruction cycle timings rather than hardware timings, and I've seen no simulators that do nanosecond-level timing analysis on MCU simulations. Just give ModelSim a try with an MCU core in FPGA sometime with external peripheral logic generating asynchronous signals to the core. There will be problems, not all of which are with the design of your system, that you'd never encounter in a PC-based debugging environment, yet you'd quickly encounter them in a hardware environment.

Coming from a 8051, that development board may look like "wow". It normally isn't. The development board is only useful if I am going to use a processor from that specific family and will use that processor with a reasonable amount of the peripherals that the board has. If not, then I may just as well get a reference design for the real processor and drop in the peripherals I need and order a couple of prototypes. If debugging, I would prefer to have gdb running on a PC, and not on the target. When compiling, I would prefer to have gcc compile on the PC, and either copy the binary to the target system, or let the target system export or import a file system.

If you want to give your code a trial on the "real" hardware, e.g. if you want to use SEEPROM, or any other feature specifically included on the development/trial board, you can do it on that board, patch it on that board if need be, and stimulate it with external signals. You can't do any of that on a PC in simulation. I wish that weren't the case, but, sadly, the folks who provide simulators generally aren't very thorough. PC-based debugging tools are pretty limited in scope, i.e. they don't really support debugging the hardware. How can you build confidence in hardware that has only been debugged in a simulator on a PC? I submit, a low-cost board like this one, and I'm sure there are others just as capable, allows you to do that. If you examine the available 805x, AVR, or PIC boards of the same sort, you'll find them wanting, and more costly, too.

Richard said:
Now, I don't sell these, nor do I even hold stock in the company, but it looks like a pretty inexpensive way to "get something out the door.

It is SOP to start from a reference design, if the resulting product is intended to be running Linux. And in that case, this board is just one out of hundreds of boards. For very small series, you may ship this kind of board in your product. For larger quantities, you want your own hardware that is custom-designed. And you want prototypes of that hardware as soon as possible. Quite often, these reference designs may contain peripherial components that have become obsolete, so if a product is intended to ship for a number of years, you want 100% control.

The majority of the published "reference designs" I've tried didn't even work properly. Often they're designed to demonstrate one specific feature and completely neglect the remaining functions. That was one of the problems I encountered with early ARM circuits.

One important thing is that the market is way smaller for high-end solutions. For each embedded system running Linux, you may find 10 or 100 or 1000 systems that are too small. There are a lot of situations when the total manufacturing cost has to be $10. This is doable with an ARM chip, but obviously not by basing the design on such a board.

I think you're missing my point. I agree that an OS like LINUX is inappropriate for the majority of embedded tasks. However, it's not inappropriate for hardware/software integration trials. I'm not convinced that this particular board is the ideal, and I'm still not convinced that it will replace all the benefits one can derive from PC-based tools, but it allows one to do things no PC environment can do. In that sense, it's just a means to an end, and LINUX, because it's open-source, provides not only the means to perform trials on the various hardware features and the underlying code, just to ensure their suitability for a given task, but also the means to develop confidence in the specific interactions between those hardware/firmware interaction problems no PC simulator can emulate.

That board may be very funny for a hobbyist, or for doing school projects, but a large percentage of commercial projects has completely different needs. And using cross-compilers really is no problem. It is normally an advantage.

Likewise, it enables one to do things no PC tool set alone can do. Cross-compilers do work, but the debugging/simulation tools are generally provided as an afterthought, doing crude simulation of a core based on instruction cycle timing rather than actual hardware timing constraints.

I don't really get why you, in some threads, can spend hours bashing C, because you are so convinced that a program written in C will require one step larger processor, adding cost and having your customer thinking you are incompetent. In a completely different thread - discussing the slowdown of this forum - you are ignoring comments that ARM9 or ARM11 or whatever are nice but a lot of the ARM work is with smaller systems. Now you seem very busy explaining why complete embedded Linux systems are a good way to develop our products. A huge percentage of ARM chips sold, are not capable of running Linux. And they are selected for the simple reason that they are cheaper. Way cheaper. That is money on the bottom line.

I understand why you find this curious. I'm not advocating that one should deploy the larger ARM in a target application. The board to which I referred is interesting to me because I use boards like that to perform proof-of-concept, which is one thing I often do. My emphasis on using this sort of board rather than PC-based tools is not because a PC-based simulator couldn't do what's necessary to simulate the hardware/software interactions, but because a PC-based simulator, as provided by various vendors of PC-based development tools, wouldn't do it, because the developers of that software don't approach the problem from the proper perspective. They're building an add-on for a cross-compiler, not an MCU-specific simulation suite that actually simulates the low-level behavior of the hardware. That would require a modification of their simulator for each and every MCU version, and they're just not that interested in providing such a tool.

The developers provide a tool capable doing some simulation because the marketing guys told them they have to have that feature. The marketing guys aren't smart and sophisticated enough to realize what a difference it makes having a real, low-level simulation of the core on which the code will be expected to run.

For companies like KEIL, the simulation and debugging are just a means of putting a check in the box on the list. They see it as a way to get past the purchasing department, and couldn't care less whether it is really helpful in getting the job done. Once deployed, management won't let the programmers "fix" it, since it's already "out there" and generating sales. The tech support guys, then, are doomed to spend the rest of the product's life either apologizing for, or lying about, the product.

RE



List of 132 messages in thread
TopicAuthorDate
Slowing down            01/01/70 00:00      
   Its because...            01/01/70 00:00      
      Never been a problem before            01/01/70 00:00      
         How many Questions can be asked?            01/01/70 00:00      
            This is why we need to diversify            01/01/70 00:00      
               Share all your embarassing illnesses            01/01/70 00:00      
                  poetry corner            01/01/70 00:00      
               diversification            01/01/70 00:00      
                  OK            01/01/70 00:00      
   I agree            01/01/70 00:00      
      Slow down?            01/01/70 00:00      
         School affects processor of choice for projects            01/01/70 00:00      
   Just wait another week or two ...            01/01/70 00:00      
   maybe            01/01/70 00:00      
      Atmel AVR            01/01/70 00:00      
      Aye, ... there's the rub ...            01/01/70 00:00      
         ARM competes with both 8-bit, 16-bit and 32-bit competitors            01/01/70 00:00      
            gcc isn't bad, but it doesn't match the code quality            01/01/70 00:00      
               gcc may catch up            01/01/70 00:00      
                  being unhappy with gcc            01/01/70 00:00      
                     They have different roots            01/01/70 00:00      
            It's all about cost            01/01/70 00:00      
               Diversity            01/01/70 00:00      
                  The jury is still out ...            01/01/70 00:00      
                     Everyones needs are different            01/01/70 00:00      
                        You can't "test" it that way            01/01/70 00:00      
                           Still, majority of embedded systems are small            01/01/70 00:00      
                              An evaluation board with a gazillion features are of no use            01/01/70 00:00      
                              It's not a replacement for the target            01/01/70 00:00      
                           none, but few care            01/01/70 00:00      
                              Compare its cost ...            01/01/70 00:00      
                                 Assuming that matters            01/01/70 00:00      
                                    Eval Board Cost irrelevant            01/01/70 00:00      
                                       Not likely, but possible            01/01/70 00:00      
                                    That's not why I use 'em            01/01/70 00:00      
                                       Then make one            01/01/70 00:00      
                                          and look at the cost!            01/01/70 00:00      
                                             what cost            01/01/70 00:00      
                                                Free!            01/01/70 00:00      
                                                   Can only confirm            01/01/70 00:00      
                                                      Sometimes it gives you insight            01/01/70 00:00      
                                                         Relations with distributors may affect freebies            01/01/70 00:00      
                                                            Perhaps, and because ...            01/01/70 00:00      
                                                               and so what            01/01/70 00:00      
                                                                  and so, I didn't take it            01/01/70 00:00      
                                                         Insight            01/01/70 00:00      
                                                            it reflects the manufacturer's attitude about his customer            01/01/70 00:00      
                                                   Just try to get one when you NEED it!            01/01/70 00:00      
                                    It's the platform ... not just the target.            01/01/70 00:00      
                        and '51s            01/01/70 00:00      
   Maybe all the brow beatings......            01/01/70 00:00      
      There are simple reasons            01/01/70 00:00      
         How to get good answers - Ask Questions The Smart Way            01/01/70 00:00      
      Which that attitude chris            01/01/70 00:00      
         Thanks for proving my point for me            01/01/70 00:00      
            Not so fast, Chris ...            01/01/70 00:00      
               Verbally beating them up is the only option.            01/01/70 00:00      
               You must be joking            01/01/70 00:00      
                  Nobody "lumped you in" ... except you            01/01/70 00:00      
                     Again you are wrong            01/01/70 00:00      
                        If you hadn't demonstrated your unwillingness to search            01/01/70 00:00      
                  A forum is not a tutorial            01/01/70 00:00      
            I didn't get where I am today...            01/01/70 00:00      
               You have good points, but think about this...            01/01/70 00:00      
                  Kids; homework            01/01/70 00:00      
            ASKING for help            01/01/70 00:00      
               Interesting but I must disagree.... to a point            01/01/70 00:00      
                  Examples?            01/01/70 00:00      
                     many moons ago before I worked were I do now            01/01/70 00:00      
                        Well, the reason you're "getting it" from me ...            01/01/70 00:00      
                  It's not a default response!            01/01/70 00:00      
                     i don't disagree.....            01/01/70 00:00      
                        code of how to post a question            01/01/70 00:00      
                           I get it....seriously            01/01/70 00:00      
                              Arguments doesn't add up with real world            01/01/70 00:00      
                                 Per, its not about the logic.....            01/01/70 00:00      
                                    Oh yes you did!            01/01/70 00:00      
                                    Illogical!            01/01/70 00:00      
                                       Its a resume.....            01/01/70 00:00      
                                          Key Skills            01/01/70 00:00      
                                             My view            01/01/70 00:00      
                                                Key skills...            01/01/70 00:00      
                                                decline in 8052.com traffic...            01/01/70 00:00      
                              not really 'grammar'            01/01/70 00:00      
      with Google, its difficult to wade through the material            01/01/70 00:00      
         I agree, but seriously.....            01/01/70 00:00      
            If it's overwhelming, you need to find another pursuit.            01/01/70 00:00      
               I really don't know what your problem is            01/01/70 00:00      
                  You haven't improved your syntax ...            01/01/70 00:00      
                     thanks for the chuckle            01/01/70 00:00      
                        I've been a teacher of English since 1952 when I learned it            01/01/70 00:00      
                           You aren't my father or teacher            01/01/70 00:00      
                              pray tell which dictionary has this            01/01/70 00:00      
                                 it doesn't            01/01/70 00:00      
                                    It seems as though the only one who's "uptight" is you            01/01/70 00:00      
                              To (sic) bad            01/01/70 00:00      
                                 And this is the petty stuff I'm talking about Andy            01/01/70 00:00      
                                    this is almost hilarious            01/01/70 00:00      
                                       bravo Erik            01/01/70 00:00      
                                          high standards???            01/01/70 00:00      
                                             You knew            01/01/70 00:00      
                                                I have no problem ...            01/01/70 00:00      
                                                   Guess this must be the only site you frequent            01/01/70 00:00      
                                                      Incorrect            01/01/70 00:00      
                                                         ...            01/01/70 00:00      
                                                      very well, thank you            01/01/70 00:00      
                                                      two wrongs does not make a right            01/01/70 00:00      
                                                         Well,            01/01/70 00:00      
                                                         Yes, but a.....            01/01/70 00:00      
                                    Goodness! You said you were done ...            01/01/70 00:00      
                                       Not for you to worry            01/01/70 00:00      
                                          There's another syntax error!            01/01/70 00:00      
                                             Your pathetic            01/01/70 00:00      
                                                was that deliberate...            01/01/70 00:00      
                                                   He's not that clever ... nor is he that well-versed            01/01/70 00:00      
                                                      Speak for yourself            01/01/70 00:00      
                                                Another syntax error!            01/01/70 00:00      
                                                   Again and again            01/01/70 00:00      
                                    If you think that's "petty"...            01/01/70 00:00      
                                       Apples and Oranges            01/01/70 00:00      
                                          All apples, to me            01/01/70 00:00      
                                             Whatever works for you I guess            01/01/70 00:00      
                                                all my programs are 0 warnings, 0 errors.            01/01/70 00:00      
                                                   Well I guess if it runs            01/01/70 00:00      
                                                      err            01/01/70 00:00      
                                                         fixed...            01/01/70 00:00      
                                                            Mud throwing            01/01/70 00:00      
                              You were defeated before you began, Chris            01/01/70 00:00      
            Missing the point            01/01/70 00:00      
               seconded            01/01/70 00:00      
            coming to think of it 'how' and 'what'            01/01/70 00:00      
   "How it's made"            01/01/70 00:00      

Back to Subject List