Re: PCM Hammer fails on P12
Posted: Mon Feb 28, 2022 12:19 pm
well it'll be forever, because the watchdogs are happy. its not multi threaded, and when its in the uploaded kernel there is no OS, thus there is nothing else. the only possibility being the slave cpu, if its doing anything.
whats different about the eor is I guess is it depends what is on the pin. this is where I start guessing so big grain of salt here Im probably introducing more ideas that are not part of it.. but if the bit takes a moment to change, and if it is a physical bi-directional pin, maybe it switches slower or because it waits for the first change to stick before it tries again. Maybe it needs to be set/clear/set/clear and the hardware internally sees set/set/clear and crashes for my implementation, but it doesnt see the same with an eor (read/set/read/clear). Maybe longer sleep between watchdog polls would also fix it, or at least between calls to watchdog 2.
whats different about the eor is I guess is it depends what is on the pin. this is where I start guessing so big grain of salt here Im probably introducing more ideas that are not part of it.. but if the bit takes a moment to change, and if it is a physical bi-directional pin, maybe it switches slower or because it waits for the first change to stick before it tries again. Maybe it needs to be set/clear/set/clear and the hardware internally sees set/set/clear and crashes for my implementation, but it doesnt see the same with an eor (read/set/read/clear). Maybe longer sleep between watchdog polls would also fix it, or at least between calls to watchdog 2.