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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
Richard Erlacher
04/23/13 15:35
Modified:
  04/23/13 15:38

Read: 998 times
Denver, Co
USA


 
#189697 - Including code that wasn't absolutely necessary ...
Responding to: Joseph Hebert's previous message
This used to be a firing offense!

If you put in code on the off chance that memory might grow, or that a "feature" might be needed in the next revision, you're looking for trouble. The next rev just might be on a different MCU.

Aside from that, how can you ensure that the code won't be executed? Yes, you can simulate it. However, unless you test the circuit quite rigorously, stimulating all the inputs in random sequence, and automatically observing the response, you'll never be certain. The old saw was and is, "When in doubt, leave it out!"

Likewise, if you include support in the hardware for things not required in the objective spec's, well, see you down at the unemployment office!

RE

List of 36 messages in thread
TopicAuthorDate
8/32 bit musings      Erik Malund      03/07/13 08:56      
   Have you looked at the TI M4 Cortex versions?      Richard Erlacher      03/07/13 11:13      
      re:TI      Jacob Boyce      03/07/13 11:20      
         One man's "Flexible" is another man's "Cumbersome"      Andy Neil      03/07/13 14:17      
            flexibility ....      Erik Malund      03/07/13 14:30      
               several menus to get a cuppa       Andy Neil      03/08/13 00:13      
            re: experience      Jacob Boyce      03/08/13 07:42      
            'Unwanted' flexibility      Oliver Sedlacek      03/18/13 06:31      
               well, there is some help      Erik Malund      03/18/13 11:04      
                  SiLabs AppBuilder      Andy Peters      04/16/13 15:29      
                     sam e with freescale      Erik Malund      04/16/13 15:40      
                     Same with Cypress PSoC Creator      Andy Neil      04/17/13 01:48      
                        same ...      Andy Peters      04/17/13 11:12      
         Certainly a wry smile is needed       Jim Granville      03/07/13 20:59      
            It gets worse      Andy Neil      04/17/13 01:52      
   develop all, even small, new apps in 32 bits      Joseph Hebert      04/17/13 06:48      
      how ??      Andy Peters      04/17/13 11:21      
         cost      Joseph Hebert      04/17/13 11:28      
            re: cost      Andy Peters      04/17/13 12:05      
               cost analysis      Joseph Hebert      04/17/13 16:00      
         Money matters more to some than others      Jim Granville      04/17/13 14:47      
            RE: ARMs following Stellaris into early retirement      Andy Neil      04/18/13 03:21      
               as will we all (eventually)      Jim Granville      04/18/13 06:11      
            ARM in small packages      Maarten Brock      04/23/13 05:23      
      Scope of "all"      Andy Neil      04/18/13 03:25      
         Scope of "all"      Joseph Hebert      04/18/13 12:48      
            RE: a hypothesis that will withstand scrutiny      Andy Neil      04/18/13 12:50      
         RE: Superlatives are greatly over-used these days      Andy Neil      04/18/13 12:51      
      Software costs      Oliver Sedlacek      04/18/13 07:52      
         code reuse      Joseph Hebert      04/18/13 12:51      
            I find code reuse in embedded, at best, cumbersome      Erik Malund      04/18/13 14:56      
               Maybe it's because I don't use HLL, but ...       Richard Erlacher      04/18/13 23:12      
            Devils triangle      Oliver Sedlacek      04/23/13 09:06      
               I choose      Mahmood Elnasser      04/23/13 09:33      
               except ...        Joseph Hebert      04/23/13 13:03      
            Including code that wasn't absolutely necessary ...      Richard Erlacher      04/23/13 15:35      

Back to Subject List