bfwolf Regular Member
 Joined: 03/01/2025 Location: GermanyPosts: 51 |
Posted: 10:13am 22 Jan 2025 |
|
|
|
Silly question: Why not use a dedicated RAM area and store different values there (depending on the desired state) with a CRC or "checksum" above them? Then "destroy" these values after the evaluation.
After power-on, there are very likely random values in this RAM area and the CRC or "checksum" would then be incorrect and you would recognize this. You can also ensure that in "startup" after reset or watchdog the values are "destroyed" or overwritten by other defined values with the correct CRC or "checksum" and thus recognize that something like this was happening.
You just have to find a RAM area that has a fixed address and is not affected by MMBasic.
bfwolf |