Hi,
Freed GPIO 14 by unsoldering D6, which was done successfully by other users also to make this board compatible with JTAG debugging:
https://github.com/Xinyuan-LilyGO/TTGO-T-Display/issues/6#issuecomment-899104385 While uploading and debugging via serial works fine, trying to debug via hardware results in error message popping up: Unable to start debugging. GDB exited unexpectedly with exit code 1 (Ox1).
When trying to upload via hardware debugger (ESP Prog) I got initially the error message:
****[vMicro]**** Uploading App :Error: cpu0: xtensa_write_memory (line 802): DSR (FFFFFFFF) indicates target still busy!
After trying a few solutions it is now the following error code (see attached output files):
****[vMicro]**** Uploading App :Error: JTAG scan chain interrogation failed: all ones
Cabling and drivers should be okay as the same setup works fine with my Wemos Lolin (4MB) board.
I also checked the boards connection to GPIO 14 by connecting an LED and using it as an output.
(Of course the sketch I used to try hardware debugging/uploading does not use any of the GPIO’s 12 to 15 and only the ESP PROG is connected to these. In fact I use a simple blink sketch controlling GPIO 4 which is the LCD Backlight.)
I tried the following solutions without success: - trying different USB ports and cables
- trying a different ESP Prog Board
- updating Visual Micro and using different versions of board.txt file to enforce use of new open OCD version (see enclosed output files).
The DebugOpenOCD.log from the Build folder has only 1 line:
Unexpected command line argument: reset Hope this info is describing my problem well enough,
Thanks in advance for your help
Chris