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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
06/25/07 15:31
Read: times


 
#141233 - Re: OH?
Responding to: ???'s previous message
Well before anyone could sensibly answer those questions, you'd need to define exactly what is different about your debugging version and your production version.

Erik Malund said:
What if some of your testing is inserting 'wild' values using the ICE?


I don't know, what if? Configure and use the ICE properly and it won't happen. Perhaps an example so I can understand what you're talking about?

Erik Malund said:
What if you get a report of this pesky "about once a day ..." and your debuggin version run flawlessly.


Then clearly, you need to perform some detailed tests with your production version and consider ways of getting useful information out of the tests without using an ICE.

Erik Malund said:
What does it help that "There is a difference between debugging and testing" if you can not debug an error found in testing?


Well it wouldn't help at all which is why your code and procedures should be structured so you CAN debug an error found in testing.

I'm not really sure what your argument is Erik. If you can't fit unoptimized code into the available space or if it is not fast enough, then you have to optimize it. You have no choice other than going for a bigger/faster chip, which is a nice defeatist way of increasing unit cost.

If you do optimze, then an ICE isn't likely to work well, so you have to look to other methods for debugging and testing. That's just a given.

If the kind of problems you're talking about cause so much hassle, then I'm sorry to say it sounds like you're not approaching testing properly.

Out of curiosity Erik, what language do you develop most your firmware in?

Matt.


List of 15 messages in thread
TopicAuthorDate
stepping throught "c" code            01/01/70 00:00      
   Optimizations.            01/01/70 00:00      
   Optimization Level ?            01/01/70 00:00      
      Yep, very likely the optimization            01/01/70 00:00      
         Fly what you debug; Debug what you fly            01/01/70 00:00      
            Fly what you TEST; TEST what you fly            01/01/70 00:00      
               It's about time            01/01/70 00:00      
                  OH?            01/01/70 00:00      
                     Re: OH?            01/01/70 00:00      
                        If you have a very complicated calculation            01/01/70 00:00      
                           break it up            01/01/70 00:00      
                              I give up            01/01/70 00:00      
                                 Nevermind            01/01/70 00:00      
      Debugging problems            01/01/70 00:00      
         Update            01/01/70 00:00      

Back to Subject List