aboutsummaryrefslogtreecommitdiff
path: root/src/jtag
AgeCommit message (Collapse)Author
2011-10-14arm-jtag-ew: whitespace cleanupSpencer Oliver
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>
2011-10-08arm-jtag-ew: Send GDB keep_alive() messages when logging USB communicationSimon Barner
- Ticket: #35
2011-10-08arm-jtag-ew: FormattingSimon Barner
2011-10-08arm-jtag-ew: In armjtagew_init(), set initial JTAG speed to 32 kHz (before ↵Simon Barner
TAP initialization). This prevents rare communication errors during startup.
2011-10-08arm-jtag-ew: Emit a warning if interface firmware version != 1.6Simon Barner
2011-10-08arm-jtag-ew: Declare interface as `jtag_only'Simon Barner
2011-10-08arm-jtag-ew: Provide armjtagew_speed_div() in order to fix interactive use ↵Simon Barner
of `adapter_khz'
2011-10-08arm-jtag-ew: Fix setting interface speed (2/2)Simon Barner
Interface expects speed in Hz, not kHz - Ticket #34
2011-10-08arm-jtag-ew: Fix setting interface speed (1/2)Simon Barner
CMD_SET_TCK_FREQUENCY message length is 5, not 4 - Ticket: #34
2011-09-11Fixes and spellchecks for various Buspirate output messagesLuca Bruno
Signed-off-by: Luca Bruno <lucab@debian.org>
2011-09-02Implementation of a new jtag remote_bitbang driver.Richard Uhler
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.
2011-09-01ULINK driver: Remove typedefs in ulink.cMartin Schmölzer
Signed-off-by: Martin Schmölzer <martin.schmoelzer@student.tuwien.ac.at>
2011-09-01ULINK driver: Remove typedefs in OpenULINK firmware: Use typedefs from ↵Martin Schmölzer
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>
2011-09-01ULINK driver: Remove typedefs in OpenULINK firmware USB descriptor structuresMartin Schmölzer
Signed-off-by: Martin Schmölzer <martin.schmoelzer@student.tuwien.ac.at>
2011-08-31ULINK driver: Update firmware image to reflect the latest changes in source ↵Martin Schmoelzer
code. Signed-off-by: Martin Schmölzer <martin.schmoelzer@student.tuwien.ac.at>
2011-08-31ULINK driver: Implement variable TCK frequency in OpenOCD driverMartin Schmoelzer
Signed-off-by: Martin Schmölzer <martin.schmoelzer@student.tuwien.ac.at>
2011-08-31ULINK driver: Implement variable TCK frequency in OpenULINK firmwareMartin Schmölzer
Also, speed up jtag_clock_tck() significantly (150 kHz -> 375 kHz) Signed-off-by: Martin Schmölzer <martin.schmoelzer@student.tuwien.ac.at>
2011-08-31ULINK driver: Fix whitespace in OpenULINK firmware usb.c module (trivial)Martin Schmoelzer
Signed-off-by: Martin Schmölzer <martin.schmoelzer@student.tuwien.ac.at>
2011-08-31ULINK driver: Implement JTAG_PATHMOVE commandMartin Schmoelzer
Signed-off-by: Martin Schmölzer <martin.schmoelzer@student.tuwien.ac.at>
2011-08-31ULINK driver: Implement JTAG_STABLECLOCKS commandMartin Schmölzer
Signed-off-by: Martin Schmölzer <martin.schmoelzer@student.tuwien.ac.at>
2011-08-31ULINK driver: Implement command to manually force downloading firmware image ↵Martin Schmölzer
from arbitrary location Signed-off-by: Martin Schmölzer <martin.schmoelzer@student.tuwien.ac.at>
2011-08-31ULINK driver: Re-order queue functions to reflect the order in commands.hMartin Schmölzer
Signed-off-by: Martin Schmölzer <martin.schmoelzer@student.tuwien.ac.at>
2011-08-31ULINK driver: Properly propagate return values in ulink_execute_queue()Martin Schmölzer
Signed-off-by: Martin Schmölzer <martin.schmoelzer@student.tuwien.ac.at>
2011-08-31ULINK driver: Update some comments, fix some coding mistakesMartin Schmölzer
Signed-off-by: Martin Schmölzer <martin.schmoelzer@student.tuwien.ac.at>
2011-08-31vsllink driver compile fails with'vsllink_debug_buffer' defined but not usedsimonqian.openocd
USB communication is handled by code under versaloon directory. So _DEBUG_USB_COMMS_ should not be used in vsllink.c. Attachment is the patch.
2011-08-16versaloon driver updateSimonQian
Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2011-08-11ftd2xx: fix build warningsSpencer Oliver
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>
2011-08-10rlink: read only the expected number of bytesAndreas Fritiofson
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>
2011-08-10rlink: simplify and optimize queue fill level checksAndreas Fritiofson
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>
2011-08-10rlink: remove redundant text from log messagesAndreas Fritiofson
__FILE__ and __LINE__ are already printed using the log macros. Signed-off-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
2011-08-10rlink: remove duplicated codeAndreas Fritiofson
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>
2011-08-10rlink: fix reply counter to enable sending full buffersAndreas Fritiofson
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>
2011-08-10rlink: more indentation fixesAndreas Fritiofson
Remove unnecessary block scopes to reduce indentation level. Signed-off-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
2011-08-10rlink: fix indentation errorsAndreas Fritiofson
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>
2011-08-09fix tapenabler return codeRodrigo L. Rosa
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.
2011-07-12ftd2xx: handle FT_GetLatencyTimer bug in v1.04Spencer Oliver
Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2011-07-12busblaster: Fix warnings when building against D2XXSpencer Oliver
The default is -Werror, so warnings become errors. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2011-07-12ft2232: Fix warnings when building against D2XXSteve Bennett
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>
2011-06-26Include ULINK driver in src/jtag/drivers/Makefile.amMartin Schmölzer
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.
2011-06-26Include ULINK driver in src/jtag/interfaces.cMartin Schmölzer
2011-06-26Add OpenULINK firmwareMartin Schmölzer
Build requires SDCC, the Small Device C Compiler.
2011-06-26Add source code for new ULINK driverMartin Schmölzer
2011-06-17build: add missing files from dist releaseSpencer Oliver
Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2011-06-16ADAPTER: Fixed transport selection mechanism to support transports other ↵Tomek CEDRO
than jtag (if defined).
2011-06-13transport: move files over to transport folderØyvind Harboe
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.
2011-06-12cleanup trailing whitespacesRodrigo L. Rosa
2011-06-12Added minimodule (ftdi) interfaceRodrigo L. Rosa
2011-06-07Silence -O3 warningØyvind Harboe
2011-06-07Fix "unused variable" warnings (errors) detected with GCC 4.7.0 - leftover ↵Freddie Chopin
changes
2011-05-01adapter speed: require init script setting and centralize activation from ↵Jonas Hörberg
drivers to core.c Signed-off-by: Jonas Hörberg <jhorberg@sauer-danfoss.com>