Open eccoecco opened 1 year ago
Rudimentary tests now that #3 is now functional show that the patch allows a Windows port of OpenOCD and RecycleJTAG on an LPC845 can identify an ESP32 board.
$ ./openocd.exe -f interface/buspirate.cfg -c 'buspirate port COM4' -c 'transport select jtag'
Open On-Chip Debugger 0.12.0+dev-01082-g1ebeb97b0-dirty (2023-03-02-07:57)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
srst_only separate srst_gates_jtag srst_open_drain connect_deassert_srst
jtag
Info : Listening on port 6666 for tcl connections
Info : Listening on port 4444 for telnet connections
Info : Buspirate JTAG Interface ready!
Info : Note: The adapter "buspirate" doesn't support configurable speed
Warn : There are no enabled taps. AUTO PROBING MIGHT NOT WORK!!
Info : JTAG tap: auto0.tap tap/device found: 0x120034e5 (mfg: 0x272 (Tensilica), part: 0x2003, ver: 0x1)
Info : JTAG tap: auto1.tap tap/device found: 0x120034e5 (mfg: 0x272 (Tensilica), part: 0x2003, ver: 0x1)
Warn : AUTO auto0.tap - use "jtag newtap auto0 tap -irlen 5 -expected-id 0x120034e5"
Warn : AUTO auto1.tap - use "jtag newtap auto1 tap -irlen 5 -expected-id 0x120034e5"
Warn : gdb services need one or more targets defined
Things look promising!
Will close after actually using this for programming and debugging works.
I've converted a lot of the termios/POSIX calls to their Win32 equivalents, but need to test in anger to make sure that everything works (e.g. reasonable timeouts, good behaviour on USB serial ports).