access: allow hinting reads for dramatically impro...
by whitequark 6 years 9 months
access: allow hinting reads for dramatically improved performance.

The `hint` argument to `read` chooses the size of the buffer
submitted to the OS. It should be set to the amount of data expected
to be recived, and using it correctly is essential to avoid
FIFO underflows and poor performance.
e82ecabb
gateware.fx2: replace "non-streaming" FIFOs with "...
by whitequark 6 years 9 months
gateware.fx2: replace "non-streaming" FIFOs with "auto-flush" FIFOs.

The difference is that all FIFOs are now flush-capable, and
auto-flush FIFOs simply always assert flush. This means that applets
can flush on demand.

The manual-flush mode currently has an issue where if a flush is
asserted after all data is already transferred into the FX2 side
FIFO, the packet is not sent. Thus, it is not usable in general.
aa80b038
applet.jtag.pinout: also probe TRST# if pulldowns ...
by whitequark 6 years 9 months
applet.jtag.pinout: also probe TRST# if pulldowns are detected.

There is no need to probe it if it has a pullup or is Hi-Z because
we get all those to high before probing other pins.

Also write out the arguments to the `jtag` applet. This isn't
entirely correct as it'll break with indirect access, but it's good
enough for now.
60cf9599
applet.jtag.pinout: new applet.
by whitequark 6 years 9 months
4afd2fd7
applet.jtag.mips: add proper description.
by whitequark 6 years 9 months
51125112
applet.jtag.mips: implement all register writes.
by whitequark 6 years 9 months
applet.jtag.mips: implement all register writes.

This concludes the implementation of the MIPS EJTAG GDB remote
server.
b29c6e7d
arch.mips: reorganize.
by whitequark 6 years 9 months
9d6bdd96
applet.jtag.mips: implement software breakpoint su...
by whitequark 6 years 9 months
applet.jtag.mips: implement software breakpoint support.

Also display some cache info on PrAcc probe.
e18f3f1a
applet.jtag.mips: implement hardware breakpoint su...
by whitequark 6 years 9 months
applet.jtag.mips: implement hardware breakpoint support.
c4b89afb
applet.jtag.mips: implement memory writes.
by whitequark 6 years 9 months
287ee581
Report a bug