In my application, a cofunction loops for about one second and that cofunction is triggered every 5 minutes or when the rabbit is restarted. The cofunction builds a packet of data from the memory. Sometimes, the packet is corrupted.
If the rabbit is unplugged while the cofunction is running, is it possible that a write to xmem or an index increment is omitted, making the packet corrupted?
If it is the case, I can restart the packet building if it is interrupted by a power off. Do I have to use coreset at startup or does the cofunction resets at the beginning when I reboot (RAM is protected by battery in my system)?
If I run the program in debug mode and use the “reset program” menu, is it the same as unplugging the rabbit and rebooting?
Thanks,