- Tue Jul 07, 2015 2:54 pm
#22721
Do you know how to program? Do you understand the code that you have been using? If asked, could you make modifications to it?
The reason that I ask this, is that if the answer is yes ... then we can suggest some debugging techniques and tips. For example, if we are assuming that the watch dog timer is the issue, then I'd suggest commenting out areas of code that would appear to take elapsed time before returning control. If we keep doing this until the program runs without resetting, then we will have identified the area where too much time is being spent. Once we know the problematic area, then we can start thinking about solutions.
Assuming you have code that takes "X" units of time where "X" > "Max Time" then we could potentially split that into two units of code which take "Y" and "Z" where both "Y" < "Max Time" and "Z" < "Max Time" and then execute "Y", return to OS, execute "Z", return to OS. Depending on the story, this might solve the puzzle.
Free ESP8266 book available for download
here.