<feed xmlns='http://www.w3.org/2005/Atom'>
<title>OpenOCD/src/jtag/drivers, branch master</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>https://git.amat.us/openocd/atom/src/jtag/drivers?h=master</id>
<link rel='self' href='https://git.amat.us/openocd/atom/src/jtag/drivers?h=master'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/openocd/'/>
<updated>2020-03-14T19:16:42Z</updated>
<entry>
<title>drivers: xds110: Fix errors in routine that toggles</title>
<updated>2020-03-14T19:16:42Z</updated>
<author>
<name>Edward Fewell</name>
<email>efewell@ti.com</email>
</author>
<published>2020-03-06T20:39:14Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/openocd/commit/?id=a34c336cbf7dbe3540cbce59a9b10e81c28fa32a'/>
<id>urn:sha1:a34c336cbf7dbe3540cbce59a9b10e81c28fa32a</id>
<content type='text'>
TCK during nSRST assert/deassert code.

To support LPRF targets (CC13xx/CC26xx), TCK must be toggled
for 50 ms while nSRST is asserted and right after it is
released. This allows the core to halt in boot ROM before
code is run that might interfere with debug access.

The current routine has two issues. It shouldn't be run at
all if the target is using SWD. And the delay needs to
be a real-time 50 ms, so the number of TCK periods should
be calculated off the set speed.

Change-Id: If993031b84cf2a505ea67a6633602c4b01cd8e1e
Signed-off-by: Edward Fewell &lt;efewell@ti.com&gt;
Reviewed-on: http://openocd.zylin.com/5497
Tested-by: jenkins
Reviewed-by: Tomas Vanek &lt;vanekt@fbl.cz&gt;
</content>
</entry>
<entry>
<title>ftdi: flush mpsse queue after a level change on reset pins</title>
<updated>2020-03-12T10:05:09Z</updated>
<author>
<name>Antonio Borneo</name>
<email>borneo.antonio@gmail.com</email>
</author>
<published>2020-02-03T15:48:40Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/openocd/commit/?id=fbbfbb2516a58b2ab866d713ef18c0a210bb647b'/>
<id>urn:sha1:fbbfbb2516a58b2ab866d713ef18c0a210bb647b</id>
<content type='text'>
The function ftdi_set_signal() does not propagate the pin change
until next call to mpsse_flush(). Current code does not toggles
immediately the reset pins if polling is turned off.

Call mpsse_flush() at the end of ftdi_reset().
While there, remove the duplicated LOG message.

Change-Id: I79eacfe4fc32b5cdf2dc1b78f3660d96988466bc
Fixes: 8850eb8f2c51 ("swd: get rid of jtag queue to assert/deassert srst")
Reported-by: Leonard Crestez &lt;leonard.crestez@nxp.com&gt;
Signed-off-by: Antonio Borneo &lt;borneo.antonio@gmail.com&gt;
Reviewed-on: http://openocd.zylin.com/5431
Tested-by: jenkins
Reviewed-by: Leonard Crestez &lt;leonard.crestez@nxp.com&gt;
Reviewed-by: Tomas Vanek &lt;vanekt@fbl.cz&gt;
</content>
</entry>
<entry>
<title>jtag/drivers/openjtag: fix clang static analyzer warnings</title>
<updated>2020-03-07T15:29:24Z</updated>
<author>
<name>Tomas Vanek</name>
<email>vanekt@fbl.cz</email>
</author>
<published>2019-12-20T22:33:55Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/openocd/commit/?id=b07604cc6aacc5591afd281e0d65ab27280f19b4'/>
<id>urn:sha1:b07604cc6aacc5591afd281e0d65ab27280f19b4</id>
<content type='text'>
Change-Id: I900ce8157b3e220a4647871080bb9abc772446d1
Signed-off-by: Tomas Vanek &lt;vanekt@fbl.cz&gt;
Reviewed-on: http://openocd.zylin.com/5369
Tested-by: jenkins
Reviewed-by: Oleksij Rempel &lt;linux@rempel-privat.de&gt;
</content>
</entry>
<entry>
<title>drivers: Rename 'libusb1_common' to 'libusb_helper'</title>
<updated>2020-03-03T09:12:02Z</updated>
<author>
<name>Marc Schink</name>
<email>dev@zapb.de</email>
</author>
<published>2020-02-05T15:07:48Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/openocd/commit/?id=51dd4ce6bbc3c6f200001640f2cb1638b5185cb7'/>
<id>urn:sha1:51dd4ce6bbc3c6f200001640f2cb1638b5185cb7</id>
<content type='text'>
The name 'common' does not make sense anymore. While at it,
remove some unnecessary #includes.

Change-Id: If9798a5cce179438d89428a598d8ca05c8e5f20c
Signed-off-by: Marc Schink &lt;dev@zapb.de&gt;
Reviewed-on: http://openocd.zylin.com/5434
Tested-by: jenkins
Reviewed-by: Oleksij Rempel &lt;linux@rempel-privat.de&gt;
</content>
</entry>
<entry>
<title>drivers: libusb1_common code cleanup</title>
<updated>2020-03-03T07:24:33Z</updated>
<author>
<name>Marc Schink</name>
<email>dev@zapb.de</email>
</author>
<published>2020-02-05T14:50:31Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/openocd/commit/?id=93c6bf2cce5f23e37d4a1dd5136a40e74c69285c'/>
<id>urn:sha1:93c6bf2cce5f23e37d4a1dd5136a40e74c69285c</id>
<content type='text'>
Remove unncessary wrapper functions and 'jtag_' prefixes.

Change-Id: I0fd866ff1e1cf7386c4d58a808dfda2c1c0a1518
Signed-off-by: Marc Schink &lt;dev@zapb.de&gt;
Reviewed-on: http://openocd.zylin.com/5433
Tested-by: jenkins
Reviewed-by: Oleksij Rempel &lt;linux@rempel-privat.de&gt;
</content>
</entry>
<entry>
<title>remove libusb0_common support</title>
<updated>2020-03-03T06:48:43Z</updated>
<author>
<name>Oleksij Rempel</name>
<email>linux@rempel-privat.de</email>
</author>
<published>2020-02-03T18:44:40Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/openocd/commit/?id=8abe91cff960709ffd3ebbb9eb1dcf710dd83c1f'/>
<id>urn:sha1:8abe91cff960709ffd3ebbb9eb1dcf710dd83c1f</id>
<content type='text'>
Supporting two libusb versions provides additional development challenges
without additional advantage. In most cases we need to patch libusb0_common and
libusb1_common without real ability to test libusb0_common.

Change-Id: Icbb19c6809b14533fe2acf7a877377b3be4cbd61
Signed-off-by: Oleksij Rempel &lt;linux@rempel-privat.de&gt;
Reviewed-on: http://openocd.zylin.com/5432
Tested-by: jenkins
</content>
</entry>
<entry>
<title>coding style: fix space around pointer's asterisk</title>
<updated>2020-02-24T10:30:36Z</updated>
<author>
<name>Antonio Borneo</name>
<email>borneo.antonio@gmail.com</email>
</author>
<published>2019-05-05T19:26:56Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/openocd/commit/?id=e7306d361b5d503cf27dfb3dc69298ddad495f88'/>
<id>urn:sha1:e7306d361b5d503cf27dfb3dc69298ddad495f88</id>
<content type='text'>
The script checkpatch available in new Linux kernel offers an
experimental feature for automatically fix the code in place.
While still experimental, the feature works quite well for simple
fixes, like spacing.

This patch has been created automatically with the script under
review for inclusion in OpenOCD, using the command
	find src/ -type f -exec ./tools/scripts/checkpatch.pl \
	-q --types POINTER_LOCATION --fix-inplace -f {} \;
then manually reviewed.

OpenOCD coding style does not mention the space around pointer's
asterisk, so no check is enforced. This patch only makes the style
uniform across the files.

The patch only changes amount and position of whitespace, thus
the following commands show empty diff
	git diff -w
	git log -w -p
	git log -w --stat

Change-Id: Iefb4998e69bebdfe0d1ae65cadfc8d2c4f166d13
Signed-off-by: Antonio Borneo &lt;borneo.antonio@gmail.com&gt;
Reviewed-on: http://openocd.zylin.com/5197
Tested-by: jenkins
</content>
</entry>
<entry>
<title>stlink: add trace support in DAP direct mode</title>
<updated>2020-02-15T15:39:16Z</updated>
<author>
<name>Antonio Borneo</name>
<email>borneo.antonio@gmail.com</email>
</author>
<published>2019-07-18T13:14:34Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/openocd/commit/?id=ee56c502607760deb1b44b4ab06b1cb3a59029fe'/>
<id>urn:sha1:ee56c502607760deb1b44b4ab06b1cb3a59029fe</id>
<content type='text'>
Reuse the existing tracing functionality of HLA mode to support
tracing in DAP direct mode.

Change-Id: I75a01e88ba5d3e45717e4108b99697ac3225db9e
Signed-off-by: Antonio Borneo &lt;borneo.antonio@gmail.com&gt;
Reviewed-on: http://openocd.zylin.com/5409
Tested-by: jenkins
Reviewed-by: Oleksij Rempel &lt;linux@rempel-privat.de&gt;
</content>
</entry>
<entry>
<title>coding style: use ARRAY_SIZE() when possible</title>
<updated>2020-02-15T15:37:40Z</updated>
<author>
<name>Antonio Borneo</name>
<email>borneo.antonio@gmail.com</email>
</author>
<published>2019-05-06T10:50:44Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/openocd/commit/?id=1492a103db6174bd4d6994ea3487c096aef4560d'/>
<id>urn:sha1:1492a103db6174bd4d6994ea3487c096aef4560d</id>
<content type='text'>
We have the macro ARRAY_SIZE() already available. Use it!

Issue identified by checkpatch script from Linux kernel v5.1 using
the command

	find src/ -type f -exec ./tools/scripts/checkpatch.pl \
	-q --types ARRAY_SIZE -f {} \;

Change-Id: Ic7da9b710edf118eacb08f9e222f34208c580842
Signed-off-by: Antonio Borneo &lt;borneo.antonio@gmail.com&gt;
Reviewed-on: http://openocd.zylin.com/5198
Tested-by: jenkins
Reviewed-by: Tomas Vanek &lt;vanekt@fbl.cz&gt;
</content>
</entry>
<entry>
<title>jtag_vpi: added an option to stop simulation on exit</title>
<updated>2020-02-15T15:32:53Z</updated>
<author>
<name>Jan Matyas</name>
<email>matyas@codasip.com</email>
</author>
<published>2020-01-22T07:50:36Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/openocd/commit/?id=4882acef80d179628e31ee94e931f8fc2ac2698e'/>
<id>urn:sha1:4882acef80d179628e31ee94e931f8fc2ac2698e</id>
<content type='text'>
Command CMD_STOP_SIMU had been defined in jtag_vpi for a long time
(since the beginning?) but has not been utilized until now.
Its purpose is to signal to the jtag_vpi server (i.e. the RTL
simulation software) that the simulation shall be stopped.

This commit adds a TCL configuration command that selects whether
CMD_STOP_SIMU will be sent to the jtag_vpi server when OpenOCD is
about to exit. This functionality is off by default to maintain
identical behavior as in previous OpenOCD versions, unless the user
enables it explicitly.

Change-Id: If3894af6efa61038ccf6c9191f664e2128f2ef11
Signed-off-by: Jan Matyas &lt;matyas@codasip.com&gt;
Reviewed-on: http://openocd.zylin.com/5407
Tested-by: jenkins
Reviewed-by: Oleksij Rempel &lt;linux@rempel-privat.de&gt;
Reviewed-by: Antonio Borneo &lt;borneo.antonio@gmail.com&gt;
</content>
</entry>
</feed>
