<feed xmlns='http://www.w3.org/2005/Atom'>
<title>OpenOCD/contrib, branch mips-hack</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>https://git.amat.us/openocd/atom/contrib?h=mips-hack</id>
<link rel='self' href='https://git.amat.us/openocd/atom/contrib?h=mips-hack'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/openocd/'/>
<updated>2015-11-26T12:19:22Z</updated>
<entry>
<title>Improve J-Link driver and introduce libjaylink.</title>
<updated>2015-11-26T12:19:22Z</updated>
<author>
<name>Marc Schink</name>
<email>openocd-dev@marcschink.de</email>
</author>
<published>2014-10-20T17:18:38Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/openocd/commit/?id=442f1540d5066b9ef091cab677b505f2c8196313'/>
<id>urn:sha1:442f1540d5066b9ef091cab677b505f2c8196313</id>
<content type='text'>
This patch uses libjaylink which is a library to access J-Link
devices. As other tools which are not in the scope of OpenOCD also
need to access J-Link devices a library is used. A firmware upgrade
tool and an advanced configuration tool for J-Link devices are under
development.

Further versions of libjaylink will support additional features
OpenOCD could benefit from. This includes TCP/IP as additional
possibility to connect to J-Link devices as well as power tracing and
device internal communication. The latter is used to access
peripherals on some development boards (e.g EFM32 STK and DVK).

Integration of libjaylink is realized with a git submodule like
jimtcl. As libjaylink depends on libusb-1.0 only, no additional
dependency is introduced for OpenOCD.

All low-level JTAG and SWD implementations of the current driver are
left untouched and therefore no incompabilities are to be expected.

Improvements of this patch:

 * Support for more USB Product IDs, including those with the new
   scheme (0x10xx). The corresponding udev rules are also updated.
 * Device selection with serial number and USB address.
 * Adaptive clocking is now correctly implemented and only usable for
   devices with the corresponding capability.
 * The target power supply can now be switched without the need for
   changing configuration and power cycling the device.
 * Device configuration is more restrictive and only allowed if the
   required capabilities are available.
 * Device configuration now shows the changes between the current
   configuration of the device and the values that will be applied.
 * Device configuration is verified after it is written to the device
   exactly as the vendor software does.
 * Connection registration is now handled properly and checks if the
   maximum number of connections on a device is reached. This is also
   necessary for devices which are attached via USB to OpenOCD as
   some device models also support connections on TCP/IP.
 * Serial Wire Output (SWO) can now be captured. This feature is not
   documented by SEGGER however it is completely supported by
   libjaylink.

This patch and libjaylink were tested on Ubuntu 14.04 (i386),
Debian 7 (amd64), FreeBSD 10.0 (amd64) and Windows XP SP3 (32-bit)
with the following device and target configurations:

 * JTAG: J-Link v8.0, v9.0 and v9.3 with AT91SAM7S256
 * SWD: SiLabs EFM32 STK 3700 (EFM32GG990F1024)
 * SWD: J-Link v8.0, v9.0 and v9.3 with EFM32GG990F1024
 * SWD: XMC 2Go (XMC1100)
 * SWD: XMC1100 Boot Kit (XMC1100)
 * SWD: IAR Systems / Olimex Eval Board (LPC1343F)
 * SWD: Nordic Semiconductor nRF51 Dongle (nRF51422)
 * SWD: SiLabs EZR32 WSTK 6220A (EZR32WG330FG60G)

Except for Windows XP all builds are tested with Clang in addition to
GCC. This patch and libjaylink are not tested on OSX yet.

Change-Id: I8476c57d37c6091c4b892b183da682c548ca1786
Signed-off-by: Marc Schink &lt;openocd-dev@marcschink.de&gt;
Reviewed-on: http://openocd.zylin.com/2598
Tested-by: jenkins
Reviewed-by: Andreas Färber &lt;afaerber@suse.de&gt;
Reviewed-by: Paul Fertser &lt;fercerpav@gmail.com&gt;
Reviewed-by: Freddie Chopin &lt;freddie.chopin@gmail.com&gt;
</content>
</entry>
<entry>
<title>niietcm4: support for NIIET's Cortex-M4 microcontrollers</title>
<updated>2015-11-26T12:17:25Z</updated>
<author>
<name>Bogdan Kolbov</name>
<email>kolbov@niiet.ru</email>
</author>
<published>2015-10-13T06:19:25Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/openocd/commit/?id=ae2142d5a220a0e8eec3bceb499782ce53596f35'/>
<id>urn:sha1:ae2142d5a220a0e8eec3bceb499782ce53596f35</id>
<content type='text'>
This adds docs, example config, flash driver.
Driver is only supports K1921VK01T model for now.

Change-Id: I135259bb055dd2df1a17de99f066e2b24eae1b0f
Signed-off-by: Bogdan Kolbov &lt;kolbov@niiet.ru&gt;
Reviewed-on: http://openocd.zylin.com/3011
Tested-by: jenkins
Reviewed-by: Freddie Chopin &lt;freddie.chopin@gmail.com&gt;
</content>
</entry>
<entry>
<title>flash: New driver for XMC4xxx microcontroller family</title>
<updated>2015-11-11T12:08:35Z</updated>
<author>
<name>Jeff Ciesielski</name>
<email>jeffciesielski@gmail.com</email>
</author>
<published>2015-01-22T02:57:59Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/openocd/commit/?id=33b048d456e24b9944ff2261cf26b05d630bdd41'/>
<id>urn:sha1:33b048d456e24b9944ff2261cf26b05d630bdd41</id>
<content type='text'>
This is a complete flash driver for the Infineon XMC4xxx family of
microcontrollers, based on the TMS570 driver by Andrey Yurovsky.
The driver attempts to discover the particular variant of MCU via a
combination of the SCU register (to determine if this is indeed an
XMC4xxx part) and the FLASH0_ID register (to determine the variant).
If this fails, the driver will not load.
The driver has been added to the README and documentation.

Tests:
* Hardware: XMC4500 (XMC4500_relax), XMC4200 (XMC4200 enterprise)
* SWD + JTAG
* Binary: 144k, 1M

Note:
* Flash protect only partly tested. These parts only allow the flash
  protection registers (UCB) to be written 4 times total, and my devkits
  have run out of uses (more on the way)

Future Work:
* User 1/2(permalock) locking support via custom command
* In-memory flash loader bootstrap (flashing is rather slow...)

Change-Id: I1d3345d5255d8de8dc4175cf987eb4a037a8cf7f
Signed-off-by: Jeff Ciesielski &lt;jeffciesielski@gmail.com&gt;
Signed-off-by: Andreas Färber &lt;afaerber@suse.de&gt;
Reviewed-on: http://openocd.zylin.com/2488
Tested-by: jenkins
Reviewed-by: Paul Fertser &lt;fercerpav@gmail.com&gt;
</content>
</entry>
<entry>
<title>Add handling for STM32L4.</title>
<updated>2015-10-30T23:20:29Z</updated>
<author>
<name>Uwe Bonnes</name>
<email>bon@elektron.ikp.physik.tu-darmstadt.de</email>
</author>
<published>2015-08-22T16:36:52Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/openocd/commit/?id=ddc3317c54c3f2327cdd07d87f997197200a385e'/>
<id>urn:sha1:ddc3317c54c3f2327cdd07d87f997197200a385e</id>
<content type='text'>
Option handling not yet implemented.
Change-Id: I5a11ef3221896cb02babe4e6e71073c43aa8740b
Signed-off-by: Uwe Bonnes &lt;bon@elektron.ikp.physik.tu-darmstadt.de&gt;
Reviewed-on: http://openocd.zylin.com/2941
Tested-by: jenkins
Reviewed-by: Spencer Oliver &lt;spen@spen-soft.co.uk&gt;
</content>
</entry>
<entry>
<title>stm32f2x: Add memory barrier needed for STM32F7 flashing.</title>
<updated>2015-10-30T17:52:50Z</updated>
<author>
<name>Uwe Bonnes</name>
<email>bon@elektron.ikp.physik.tu-darmstadt.de</email>
</author>
<published>2015-08-17T13:17:32Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/openocd/commit/?id=bb25049c39b6a7c9d163057be6e4c1c7a65c8209'/>
<id>urn:sha1:bb25049c39b6a7c9d163057be6e4c1c7a65c8209</id>
<content type='text'>
Change-Id: I44fca55c46fc8f960ba46a0604692ce98909face
Signed-off-by: Uwe Bonnes &lt;bon@elektron.ikp.physik.tu-darmstadt.de&gt;
Reviewed-on: http://openocd.zylin.com/2939
Tested-by: jenkins
Reviewed-by: Andreas Fritiofson &lt;andreas.fritiofson@gmail.com&gt;
</content>
</entry>
<entry>
<title>flash/nor/jtagspi: add JTAGSPI driver</title>
<updated>2015-08-06T12:14:08Z</updated>
<author>
<name>Robert Jordens</name>
<email>jordens@gmail.com</email>
</author>
<published>2015-07-01T09:18:46Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/openocd/commit/?id=d25355473da9a925a696183a9947aac292cd2f60'/>
<id>urn:sha1:d25355473da9a925a696183a9947aac292cd2f60</id>
<content type='text'>
Many FPGA board speak JTAG and have a SPI flash for their bitstream
attached to them. The SPI flash is programmed by first uploading a
proxy bitstream to the FPGA that connects the JTAG interface to the
SPI interface if the IR contains a certain USER instruction. Then the
SPI flash can be erase, written, read directly through the JTAG DR.

The JTAG and SPI signaling is compatible. Such a proxy bitstream only
needs to connect TDO-MISO, TDI-MOSI, TCK-CLK, and the activate the
chip select when the IR contains the special instruction and the JTAG
state machine is in the DR-SHIFT state.

Change-Id: Ibc21d793a83b36fa37e2704966aa5c837c4dd0d2
Signed-off-by: Robert Jordens &lt;jordens@gmail.com&gt;
Reviewed-on: http://openocd.zylin.com/2844
Tested-by: jenkins
Reviewed-by: Spencer Oliver &lt;spen@spen-soft.co.uk&gt;
</content>
</entry>
<entry>
<title>udev: Add J-Link on-board nRF51-DK</title>
<updated>2015-08-06T12:08:10Z</updated>
<author>
<name>Kyle Manna</name>
<email>kyle@kylemanna.com</email>
</author>
<published>2015-05-17T18:11:15Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/openocd/commit/?id=6f1f5703beb3c8f6d6aa68e15ed3d2d7bc58959b'/>
<id>urn:sha1:6f1f5703beb3c8f6d6aa68e15ed3d2d7bc58959b</id>
<content type='text'>
* Add USB VID and PID for the J-Link interface running on the Nordic
  Semiconductor nRF51-DK.  Also tested with debug out port to debug
  external boards.
* Fixes permissions problems.

Change-Id: I01ffc3150fa2af92d399b50e0195dc255a40ec42
Signed-off-by: Kyle Manna &lt;kyle@kylemanna.com&gt;
Reviewed-on: http://openocd.zylin.com/2774
Tested-by: jenkins
Reviewed-by: Spencer Oliver &lt;spen@spen-soft.co.uk&gt;
</content>
</entry>
<entry>
<title>contrib/itmdump: add a hack to allow direct dumping of specific SWIT, fix timestamp</title>
<updated>2015-04-16T19:25:30Z</updated>
<author>
<name>Paul Fertser</name>
<email>fercerpav@gmail.com</email>
</author>
<published>2015-02-09T13:51:33Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/openocd/commit/?id=e7e13965782a114cca369a71382cd2dd2a7b8da0'/>
<id>urn:sha1:e7e13965782a114cca369a71382cd2dd2a7b8da0</id>
<content type='text'>
Currently itmdump is not a production-quality code hence this hack
seems to be appropriate.

More robust handling is possible with libswo-based swodec tool that's
available from http://git.zapb.de/ .

This adds a new command line option -d N where N is a stimulus number
you want to dump (counting from 1).

The idea here is that if you're interested to live-monitor just a
single stimulus port, you can use this utility directly. If one wants
to demultiplex the TPIU stream, the following is proposed:

1. Use https://gitorious.org/multiplex/multiplex utility that can
accept binary data from a file/pipe/stdin and arbitrary number of TCP
connections. It simply mirrors all the incoming data to all the
accepted connections;

2. Use socat to connect itmdump to the proxy mentioned in 1. and then
either dump the results to separate files or share via their dedicated
TCP ports.

Example script (inspired by http://openocd.zylin.com/#/c/1662/ ,
enables and disables specific itm ports on demand):

for i in `seq 0 31`; do
  while true; do
    socat -U TCP-LISTEN:$((8000+$i)),reuseaddr \
             SYSTEM:"echo itm port $i on | nc -q0 localhost 4444 &gt; /dev/null; nc localhost 7777 | stdbuf -oL itmdump -d$((i+1))"
    echo itm port $i off | nc -q0 localhost 4444 &gt; /dev/null
  done &lt; /dev/null &gt;&amp;0 2&gt;&amp;0 &amp;
done

Change-Id: Iaeb102436eaa5b106002083f2ffe758fb7bd83e5
Signed-off-by: Paul Fertser &lt;fercerpav@gmail.com&gt;
Reviewed-on: http://openocd.zylin.com/2537
Tested-by: jenkins
</content>
</entry>
<entry>
<title>rtos: add instructions and helper code to make FreeRTOS work again</title>
<updated>2015-04-16T19:23:46Z</updated>
<author>
<name>Andreas Fritiofson</name>
<email>andreas.fritiofson@gmail.com</email>
</author>
<published>2015-04-16T11:08:14Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/openocd/commit/?id=9dfb58e802787b1dcee756cdf963a7a2ac808eca'/>
<id>urn:sha1:9dfb58e802787b1dcee756cdf963a7a2ac808eca</id>
<content type='text'>
Run-time tested with FreeRTOS V8.1.2 (current version).

For the time being I propose this way of dealing with RTOSes that do
not export necessary information on their own.

I also suggest implementing a similar scheme for ChibiOS, exporting
the necessary struct fields' offsets via an OpenOCD-specific helper.

Change-Id: Iacf8b88004d62206215fe80011fd7592438446a3
Signed-off-by: Paul Fertser &lt;fercerpav@gmail.com&gt;
Signed-off-by: Andreas Fritiofson &lt;andreas.fritiofson@gmail.com&gt;
Reviewed-on: http://openocd.zylin.com/2347
Tested-by: jenkins
</content>
</entry>
<entry>
<title>contrib/itmdump: fix UB in show_swit, and few compile warnings</title>
<updated>2015-03-09T06:32:17Z</updated>
<author>
<name>Paul Fertser</name>
<email>fercerpav@gmail.com</email>
</author>
<published>2015-02-06T15:28:56Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/openocd/commit/?id=01b42b2e7c0d2a0419548f0a270705dc19baca34'/>
<id>urn:sha1:01b42b2e7c0d2a0419548f0a270705dc19baca34</id>
<content type='text'>
Change-Id: I1c5c99f190f7b4d405dc6fa06533e7ff37a652ec
Signed-off-by: Paul Fertser &lt;fercerpav@gmail.com&gt;
Reviewed-on: http://openocd.zylin.com/2533
Tested-by: jenkins
Reviewed-by: Uwe Bonnes &lt;bon@elektron.ikp.physik.tu-darmstadt.de&gt;
Reviewed-by: Spencer Oliver &lt;spen@spen-soft.co.uk&gt;
</content>
</entry>
</feed>
