how would I go about debugging the Ringo firmware code with an ESP-Prog? Iād love to get step-by-step debugging, which would simultaneously help me peruse your solution.
Can this be done, and should the ESP-Prog just be hooked to the correct pins on the brain-board? Can the pins even be used, as they are soldered (and perhaps already in use).
I see in your code(Makerphone.cpp) that you have a lot of debug prints to the serial, but surely this isnāt the only way to proceed or the way youāve worked in developing the OSā¦?
Ringo is one of our older devices, from way back before we upgraded our development process, so the code is a bit cluttered.
The JTAG interface on ESP32 uses GPIO pins 12, 13, 14, and 15 for debugging, some of which are already in use on the Ringo. If youād like to use a JTAG debugger, youād need to desolder those pins on the brain board, solder them onto your debugger, and also change the code so those pins arenāt used anywhere.
Am I going at this correctly, and would you have some tips on locating the right references in the firmware code? Iāve only found references to these pins in gpio.h and fastpin_esp32.h, but not in the Ringo firmware itself. Can I safely skip modifying the firmware? Not worried about kernel panics, I just donāt want to fry the phone.
Hi and thanks for your response. I understand. Could you tell me what the exact make and model of the brain board is, so I could get another copy to work on with the debugging? Is it some version of of the WeMos Lolin32 or totally custom?