Age | Commit message (Collapse) | Author |
|
Change-Id: I8861e825f9c84525e0c09c3adaa3fe300640770d
Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
Reviewed-on: http://openocd.zylin.com/21
Tested-by: Spencer Oliver <spen@spen-soft.co.uk>
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
|
|
- Ticket: #35
|
|
|
|
TAP initialization).
This prevents rare communication errors during startup.
|
|
|
|
|
|
of `adapter_khz'
|
|
Interface expects speed in Hz, not kHz
- Ticket #34
|
|
CMD_SET_TCK_FREQUENCY message length is 5, not 4
- Ticket: #34
|
|
Signed-off-by: Luca Bruno <lucab@debian.org>
|
|
The driver sends ascii encoded bitbang commands over unix sockets or TCP to
another process. This driver is useful for debugging software running on
processors which are being simulated.
|
|
Signed-off-by: Martin Schmölzer <martin.schmoelzer@student.tuwien.ac.at>
|
|
stdint.h (uint8_t, uint16_t) instead of custom typedefs in shorttypes.h (u8, u16, ...)
Signed-off-by: Martin Schmölzer <martin.schmoelzer@student.tuwien.ac.at>
|
|
Signed-off-by: Martin Schmölzer <martin.schmoelzer@student.tuwien.ac.at>
|
|
code.
Signed-off-by: Martin Schmölzer <martin.schmoelzer@student.tuwien.ac.at>
|
|
Signed-off-by: Martin Schmölzer <martin.schmoelzer@student.tuwien.ac.at>
|
|
Also, speed up jtag_clock_tck() significantly (150 kHz -> 375 kHz)
Signed-off-by: Martin Schmölzer <martin.schmoelzer@student.tuwien.ac.at>
|
|
Signed-off-by: Martin Schmölzer <martin.schmoelzer@student.tuwien.ac.at>
|
|
Signed-off-by: Martin Schmölzer <martin.schmoelzer@student.tuwien.ac.at>
|
|
Signed-off-by: Martin Schmölzer <martin.schmoelzer@student.tuwien.ac.at>
|
|
from arbitrary location
Signed-off-by: Martin Schmölzer <martin.schmoelzer@student.tuwien.ac.at>
|
|
Signed-off-by: Martin Schmölzer <martin.schmoelzer@student.tuwien.ac.at>
|
|
Signed-off-by: Martin Schmölzer <martin.schmoelzer@student.tuwien.ac.at>
|
|
Signed-off-by: Martin Schmölzer <martin.schmoelzer@student.tuwien.ac.at>
|
|
USB communication is handled by code under versaloon directory.
So _DEBUG_USB_COMMS_ should not be used in vsllink.c.
Attachment is the patch.
|
|
Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
|
|
Due to build warnings introduced in newer versions of ftd2xx we
use strings to report errors rather than result codes. This also
gives us the same behaviour as libftdi.
Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
|
|
After correcting the reply size counter, it should be safe to rely on it
for the number of bytes expected in the USB read, instead of reading the
endpoint maximum. This doesn't make things go any faster but it's nicer and
removes the local buffer.
Signed-off-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
|
|
Add a helper function for running the queue if it would overflow otherwise.
Use it to simplify the queue fill level checks and optimize in a few cases
that would previously run the queue prematurely.
Signed-off-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
|
|
__FILE__ and __LINE__ are already printed using the log macros.
Signed-off-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
|
|
After the reply_index handling is fixed, there's no need to special case
the out scan.
Signed-off-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
|
|
dtc_queue.reply_index was wrongly being increased during out scans, causing
the queue to be sent before the out buffer was full. This patch increases
raw upload speed by 50% or so.
Signed-off-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
|
|
Remove unnecessary block scopes to reduce indentation level.
Signed-off-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
|
|
Indentation was inconsistent and some lines not indented at all. Quickfix
using Eclipse's auto-indentation.
Signed-off-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
|
|
if tap enable/disable failed then a warning was written to the log, but JIM_OK was returned. if using openocd via a TCP interface to the TCL port, there is no way to catch that the command failed (it didn't enable the tap, so it failed)
now it return an error if it fails.
|
|
Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
|
|
The default is -Werror, so warnings become errors.
Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
|
|
The default is -Werror, so warnings become errors
Signed-off-by: Steve Bennett <steveb@workware.net.au>
Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
|
|
A new variable "nobase_dist_pkglib_DATA" is introduced to install
the OpenULINK firmware image to $PREFIX/lib/openocd/OpenULINK/ulink_firmware.hex
Also, the variable "EXTRA_DIST" is used to include the OpenULINK firmware source
in the OpenOCD source distribution.
|
|
|
|
Build requires SDCC, the Small Device C Compiler.
|
|
|
|
Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
|
|
than jtag (if defined).
|
|
as we introduce swd and jtag as two transports, we want
to start up with a new transport folder to organize the
code a bit.
|
|
|
|
|
|
|
|
changes
|
|
drivers to core.c
Signed-off-by: Jonas Hörberg <jhorberg@sauer-danfoss.com>
|