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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
06/06/11 16:41
Read: times


 
#182507 - RE: emulating the program in Keil step by step
Responding to: ???'s previous message
Kai Busuttil said:
It's a simple application really

Beware that many things can seem "simple" (sic) only because you have failed to appreciate the complexities!

I was staggered when I've found that in practice it didn't work (It does work well while emulating the program in Keil step by step)

Do you mean that in works in the Keil Simulator; ie, running on a PC?

When something works in a simulator, but not in your real hardware, that means that your simulation fails to correctly model some aspect(s) of your real hardware.

By far the commonest such aspect is the timing constraints.

Other possibilities include:

* Faults in your real hardware;

* Design flaws and/or errors in your real hardware;

* False assumptions in interpreting the results of the simulation;

* Errors in the inputs provided to the simulation.

it's supposed to be quick and dirty to get things done

"Quick and dirty" often ends up as just plain dirty.

Time invested up-front in proper analysis & design is far more likely to yield a usable result in a quicker overall time.

(I know...I know)

So don't do it, then!

The code I've written...

Unfortunately, the indentation seems to have gone completely haywire in your post!

This is probably because you have used TAB characters; the interpretation of TAB characters is totally non-portable.

Please re-post it, using only spaces - no TABs.



List of 7 messages in thread
TopicAuthorDate
Servo control blues            01/01/70 00:00      
   it would be nice ...            01/01/70 00:00      
       ... it would be better ...            01/01/70 00:00      
   RE: emulating the program in Keil step by step            01/01/70 00:00      
      something *looks* simple doesn't mean it *is* simple            01/01/70 00:00      
         Very few simple applications.            01/01/70 00:00      
            The 90:10 Rule again            01/01/70 00:00      

Back to Subject List