Simon Barner
07bf5f443a
arm-jtag-ew: Provide armjtagew_speed_div() in order to fix interactive use of `adapter_khz'
2011-10-08 23:09:05 +02:00
Simon Barner
8b61ed2e95
arm-jtag-ew: Fix setting interface speed (2/2)
...
Interface expects speed in Hz, not kHz
- Ticket #34
2011-10-08 23:08:46 +02:00
Simon Barner
3977c5169b
arm-jtag-ew: Fix setting interface speed (1/2)
...
CMD_SET_TCK_FREQUENCY message length is 5, not 4
- Ticket: #34
2011-10-08 23:08:15 +02:00
Luca Bruno
4017af8492
Fixes and spellchecks for various Buspirate output messages
...
Signed-off-by: Luca Bruno <lucab@debian.org >
2011-09-11 00:07:54 +02:00
Richard Uhler
1411ad11c1
Implementation of a new jtag remote_bitbang driver.
...
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-02 16:50:01 +02:00
Martin Schmölzer
48e8d2d21c
ULINK driver: Remove typedefs in ulink.c
...
Signed-off-by: Martin Schmölzer <martin.schmoelzer@student.tuwien.ac.at >
2011-09-01 07:02:38 +02:00
Martin Schmölzer
70d9d808e5
ULINK driver: Remove typedefs in OpenULINK firmware: Use typedefs from 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-01 07:02:38 +02:00
Martin Schmölzer
ea7c87e5e7
ULINK driver: Remove typedefs in OpenULINK firmware USB descriptor structures
...
Signed-off-by: Martin Schmölzer <martin.schmoelzer@student.tuwien.ac.at >
2011-09-01 07:02:38 +02:00
Martin Schmoelzer
353362651f
ULINK driver: Update firmware image to reflect the latest changes in source code.
...
Signed-off-by: Martin Schmölzer <martin.schmoelzer@student.tuwien.ac.at >
2011-08-31 16:25:42 +02:00
Martin Schmoelzer
c331c9382f
ULINK driver: Implement variable TCK frequency in OpenOCD driver
...
Signed-off-by: Martin Schmölzer <martin.schmoelzer@student.tuwien.ac.at >
2011-08-31 16:25:42 +02:00
Martin Schmölzer
6446dbaacb
ULINK driver: Implement variable TCK frequency in OpenULINK firmware
...
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-31 16:25:41 +02:00
Martin Schmoelzer
c881fb8532
ULINK driver: Fix whitespace in OpenULINK firmware usb.c module (trivial)
...
Signed-off-by: Martin Schmölzer <martin.schmoelzer@student.tuwien.ac.at >
2011-08-31 16:25:41 +02:00
Martin Schmoelzer
d1bd5569b3
ULINK driver: Implement JTAG_PATHMOVE command
...
Signed-off-by: Martin Schmölzer <martin.schmoelzer@student.tuwien.ac.at >
2011-08-31 16:25:41 +02:00
Martin Schmölzer
118a9a9ca0
ULINK driver: Implement JTAG_STABLECLOCKS command
...
Signed-off-by: Martin Schmölzer <martin.schmoelzer@student.tuwien.ac.at >
2011-08-31 16:25:41 +02:00
Martin Schmölzer
b6e4d26695
ULINK driver: Implement command to manually force downloading firmware image from arbitrary location
...
Signed-off-by: Martin Schmölzer <martin.schmoelzer@student.tuwien.ac.at >
2011-08-31 16:25:41 +02:00
Martin Schmölzer
d01cbd7143
ULINK driver: Re-order queue functions to reflect the order in commands.h
...
Signed-off-by: Martin Schmölzer <martin.schmoelzer@student.tuwien.ac.at >
2011-08-31 16:25:41 +02:00
Martin Schmölzer
b6f8b2ab66
ULINK driver: Properly propagate return values in ulink_execute_queue()
...
Signed-off-by: Martin Schmölzer <martin.schmoelzer@student.tuwien.ac.at >
2011-08-31 16:25:41 +02:00
Martin Schmölzer
3633e8d7b8
ULINK driver: Update some comments, fix some coding mistakes
...
Signed-off-by: Martin Schmölzer <martin.schmoelzer@student.tuwien.ac.at >
2011-08-31 16:25:41 +02:00
simonqian.openocd
7e20eda944
vsllink driver compile fails with'vsllink_debug_buffer' defined but not used
...
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-31 16:22:00 +02:00
SimonQian
54fc164d3a
versaloon driver update
...
Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net >
2011-08-16 12:50:38 +01:00
Spencer Oliver
85cf298667
ftd2xx: fix build warnings
...
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-11 21:36:54 +01:00
Andreas Fritiofson
f25ffaf2b2
rlink: read only the expected number of bytes
...
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-10 06:52:09 +02:00
Andreas Fritiofson
0b64be2019
rlink: simplify and optimize queue fill level checks
...
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-10 06:52:09 +02:00
Andreas Fritiofson
d23d61a932
rlink: remove redundant text from log messages
...
__FILE__ and __LINE__ are already printed using the log macros.
Signed-off-by: Andreas Fritiofson <andreas.fritiofson@gmail.com >
2011-08-10 06:52:09 +02:00
Andreas Fritiofson
5f698273c2
rlink: remove duplicated code
...
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-10 06:52:09 +02:00
Andreas Fritiofson
5812ef2b73
rlink: fix reply counter to enable sending full buffers
...
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-10 06:52:09 +02:00
Andreas Fritiofson
6f1641a5cc
rlink: more indentation fixes
...
Remove unnecessary block scopes to reduce indentation level.
Signed-off-by: Andreas Fritiofson <andreas.fritiofson@gmail.com >
2011-08-10 06:52:08 +02:00
Andreas Fritiofson
068c9f266e
rlink: fix indentation errors
...
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-10 06:52:08 +02:00
Spencer Oliver
0ea76bc778
ftd2xx: handle FT_GetLatencyTimer bug in v1.04
...
Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net >
2011-07-12 15:51:18 +01:00
Spencer Oliver
b765688be6
busblaster: Fix warnings when building against D2XX
...
The default is -Werror, so warnings become errors.
Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net >
2011-07-12 14:40:19 +01:00
Steve Bennett
b238735f89
ft2232: Fix warnings when building against D2XX
...
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-07-12 12:58:28 +01:00
Martin Schmölzer
5141ab3e69
Include ULINK driver in src/jtag/drivers/Makefile.am
...
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-26 17:43:51 +02:00
Martin Schmölzer
3c3f3c4247
Add OpenULINK firmware
...
Build requires SDCC, the Small Device C Compiler.
2011-06-26 17:43:51 +02:00
Martin Schmölzer
03e4ae8481
Add source code for new ULINK driver
2011-06-26 17:43:50 +02:00
Øyvind Harboe
c8b5719802
transport: move files over to transport folder
...
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-13 15:51:04 +02:00
Rodrigo L. Rosa
7b0ead520d
cleanup trailing whitespaces
2011-06-12 11:18:27 +02:00
Rodrigo L. Rosa
56d3927abf
Added minimodule (ftdi) interface
2011-06-12 11:18:27 +02:00
Freddie Chopin
1cfb2287a6
Fix "unused variable" warnings (errors) detected with GCC 4.7.0 - leftover changes
2011-06-07 17:53:33 +02:00
Jonas Hörberg
e3f3f60a02
adapter speed: require init script setting and centralize activation from drivers to core.c
...
Signed-off-by: Jonas Hörberg <jhorberg@sauer-danfoss.com >
2011-05-01 00:38:04 +02:00
Damjan Marion
5d987bca9c
buspirate: fix building on some OSes
2011-04-26 11:55:54 +02:00
Jean-Christophe PLAGNIOL-VILLARD
13cf987bb8
jlink: jlink_debug_buffer use inline function when _DEBUG_USB_COMMS_ not define
...
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com >
Cc: Nicolas Ferre <nicolas.ferre@atmel.com >
Cc: Patrice Vilchez <patrice.vilchez@atmel.com >
2011-04-09 10:12:08 +02:00
Ali Lown
c7a17b8466
Buffering for up to 64 bytes in USB Blaster.
...
Uses a global buffer.
Add self to acknowledgements.
2011-04-08 18:26:09 +02:00
Ali Lown
24943498e6
Add support for LED to USB Blaster code.
2011-04-08 18:26:09 +02:00
Uwe Hermann
33a17fd359
Fix a bunch of typos.
...
Fix a bunch of typos.
Most are in code comments, so nothing should break. UNKOWN_COMMAND and
CMD_UNKOWN are not used elsewhere, so correcting the spelling should
also not break anything.
2011-03-17 07:25:25 +01:00
Jean-Christophe PLAGNIOL-VILLARD
8e85bb4eea
jlink: add Emulator configuration support
...
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com >
Cc: Nicolas Ferre <nicolas.ferre@atmel.com >
Cc: Patrice Vilchez <patrice.vilchez@atmel.com >
2011-03-13 14:55:20 +01:00
Jean-Christophe PLAGNIOL-VILLARD
2c4f7f1dd4
jlink: add detect hw type
...
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com >
Cc: Nicolas Ferre <nicolas.ferre@atmel.com >
Cc: Patrice Vilchez <patrice.vilchez@atmel.com >
2011-03-13 14:55:03 +01:00
Jean-Christophe PLAGNIOL-VILLARD
bce76b80cc
jlink: use tap buffer as 2k
...
as said in the datasheet Section 3.3.2 Organization of buffers
All buffers are big enough to hold 2 KByte of data.
this will double the speed of download
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com >
Cc: Nicolas Ferre <nicolas.ferre@atmel.com >
Cc: Patrice Vilchez <patrice.vilchez@atmel.com >
2011-03-13 14:54:50 +01:00
Jean-Christophe PLAGNIOL-VILLARD
952de89bfe
jlink: add capability dumper and command
...
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com >
Cc: Nicolas Ferre <nicolas.ferre@atmel.com >
Cc: Patrice Vilchez <patrice.vilchez@atmel.com >
2011-03-13 14:54:32 +01:00
Mathias K
0123985abc
ft2232: fix log message and change log output to debug
2011-03-03 23:03:34 +01:00
Jean-Christophe PLAGNIOL-VILLARD
0eed61b7c4
jlink: add jlink_pid to specify the pid to use
...
this will allow us to use multiple jlink at the same time as when
the USB-Address is specified the PID change from 0x0101 to
(0x101 + usb_adress)
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com >
2011-03-02 19:04:16 +01:00