??? 02/03/05 13:03 Read: times |
#86460 - you can't teach old dogs new tricks Responding to: ???'s previous message |
All and everything you want is available in various modern derivatives. e.g. many newer derivatives have a bit that tell whether a reset was power on or not (you'll want to reset the position or leave RAM alone). Also many of them have things like a watchdog ISR that is called before the reset if a timeout happen.
However, as we all know university professors are stuck in the past (most believe that 8255 is current technology) so you will probably have to create something like 4 RAM positions set to known values and on reset, if they are the expected values, the position should be true, if not is it unknown. I am horrified, but, sadly, not surprised that a university can even allow something without home switches, how would that work in the real world (to avoid a misunderstanding: I do not consider academe "the real world"). Erik |
Topic | Author | Date |
running code before reset!! | 01/01/70 00:00 | |
explain | 01/01/70 00:00 | |
What button? | 01/01/70 00:00 | |
to late | 01/01/70 00:00 | |
solutions | 01/01/70 00:00 | |
sort of | 01/01/70 00:00 | |
right ok | 01/01/70 00:00 | |
No, But | 01/01/70 00:00 | |
ill give the button a go | 01/01/70 00:00 | |
what is the problem? | 01/01/70 00:00 | |
Use nonvolatile memory | 01/01/70 00:00 | |
'Warm reset', 'Early power fail' | 01/01/70 00:00 | |
interesting | 01/01/70 00:00 | |
you can't teach old dogs new tricks | 01/01/70 00:00 | |
Hardware Reset? | 01/01/70 00:00 | |
bad idea | 01/01/70 00:00 | |
bad idea.......80% agree | 01/01/70 00:00 | |
May be is.. | 01/01/70 00:00 | |
hardware reset possible..![]() | 01/01/70 00:00 |