Is there any easy way to calculate the correct sizes needed for the HW/SW/Slack stacks in the compiler? Reason I ask is i ran into a weird bug on a very complex program that I had written that every great once in awhile the FLASH will "deprogram" itself.
Hard to explain, but it all works fine but one random day itll crash and burn hard with no response, as if it wasnt programmed. Reflashing the micro via MCS bootloader brings it back online.
I am using BOD, etc.. So I am beginning to suspect a stack issue and its returning into the wrong entry point of an instruction causing a mis-interpretation and maybe its mistaking a jump for an SPM or something weird.
Any ideas?
[b:2c31aa0c48][color=red:2c31aa0c48](BASCOM-AVR version : 2.0.7.7 )[/b:2c31aa0c48][/color:2c31aa0c48]
↧