-->
Page 1 of 1

Debugging Arduino ESP8266 firmware

PostPosted: Fri Oct 27, 2017 6:44 am
by Mohamed Elhariry
Hello, how do you properly debug Arduino firmware, other than using printing statements?

Re: Debugging Arduino ESP8266 firmware

PostPosted: Sat Oct 28, 2017 3:05 am
by andre_teprom
With a LED ( Vague question, vague answer )

Re: Debugging Arduino ESP8266 firmware

PostPosted: Sat Oct 28, 2017 3:58 am
by McChubby007
I have been in the process of writing a trace recorder, which logs things into a memory buffer, this can then be printed (in a readable format) either to the serial out, or sent as a bitstream to a PC attached to the serial out which does the print formatting. Both methods also include a profiler. Doing in in this way allows data recording of an ISR as well as only placing a few microseconds overhead per log call. Let me know if you would like to know more. I have a working prototype and examples, but it is not yet finished. I envisage it will be made public open source when I'm done. It will have facilities like Percepio Tracealizer, just with a limited GUI to begn with.