>>>>> "Ray" == Ray Zhang <[email protected]> writes:
Ray> Hello everyone: I'm new here and not familiar with the ways
Ray> of how work is done here. I want to discuss a new kind of
Ray> way of improving the performance of openocd. Currently, all
Ray> JTAG/SWD low-level communication is done in openocd, on the
Ray> PC side. The debugger hardware is only a message
Ray> carrier. Many complex operations require long
Ray> read-judge-write operation in JTAG/SWD and require openocd to
Ray> send plunty of low-level data sequences through debugger,
Ray> where latency from USB communication reduces debug
Ray> performance. I am considering splitting openocd into two
Ray> parts, one part on PC handling GDB messages and high-level
Ray> debug operations, the other part on debug probes handling
Ray> low-level communications so debug probes can do lots of
Ray> things, reducing time delay and bringing better performance.
Ray> The preliminary idea is to remove all 'target' layers into
Ray> the embedded world and reduce 'jtag drivers' into one device
Ray> since this new software would only run on a specific
Ray> hardware. The new hardware would also be open source and the
Ray> MCU inside is powerful enough to handle target specific
Ray> processings. I have some knowledge in e&e and programming,
Ray> both on PC and embedded world, but before working on this I
Ray> want to know other expert's opinions and suggestions, and
Ray> know if someone would join. Thanks a lot. Ray Zhang
Hello Ray,
I think you want to reimplement the "H(igh) L(evel) A(dapter)"
approach already implemented. Some adapters already know how to handle
complex operations with few IO operations for some targets. However as
soon as you want to support the wide range of disjunct devices as
OpenOCD does, there are always targets where no high level algorithm is
available on that adapter for that device, no a fall back to simple
transactions is needed.
Regards
--
Uwe Bonnes [email protected]
Institut fuer Kernphysik Schlossgartenstrasse 9 64289 Darmstadt
--------- Tel. 06151 1623569 ------- Fax. 06151 1623305 ---------