<feed xmlns='http://www.w3.org/2005/Atom'>
<title>OpenOCD, branch master</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>https://git.amat.us/openocd/atom/?h=master</id>
<link rel='self' href='https://git.amat.us/openocd/atom/?h=master'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/openocd/'/>
<updated>2020-03-16T15:26:03Z</updated>
<entry>
<title>flash/startup.tcl: add STM32G0 and G4 aliases</title>
<updated>2020-03-16T15:26:03Z</updated>
<author>
<name>Tarek BOCHKATI</name>
<email>tarek.bouchkati@gmail.com</email>
</author>
<published>2020-03-01T21:38:50Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/openocd/commit/?id=dca1c6ca1f78a6a89e4274e409ff822d655add6b'/>
<id>urn:sha1:dca1c6ca1f78a6a89e4274e409ff822d655add6b</id>
<content type='text'>
STM32G0 and G4 uses the same flash driver as the stm32l4x

Change-Id: Ic1c4be70aaee809536912e0390f07893efb9a082
Signed-off-by: Tarek BOCHKATI &lt;tarek.bouchkati@gmail.com&gt;
Reviewed-on: http://openocd.zylin.com/5482
Tested-by: jenkins
Reviewed-by: Tomas Vanek &lt;vanekt@fbl.cz&gt;
</content>
</entry>
<entry>
<title>Flash driver for STM32G0xx and STM32G4xx</title>
<updated>2020-03-16T15:25:10Z</updated>
<author>
<name>Andreas Bolsch</name>
<email>hyphen0break@gmail.com</email>
</author>
<published>2018-12-16T16:30:41Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/openocd/commit/?id=ba131f30a0798d97729f9517c136d32f58f57571'/>
<id>urn:sha1:ba131f30a0798d97729f9517c136d32f58f57571</id>
<content type='text'>
Flash module of STM32G0/G4 family is quite similar to the one of
STM32L4, so only minor changes are required, in particular
adaption of flash loader to Cortex-M0. Register addresses
passed to flash loader to simplify integration of L5.
Added re-probe after option byte load.
Added flash size override via cfg file.
WRPxxR mask now based on max. number of pages instead of fixed 0xFF,
as G4 devices fill up unused bits with '1'.
Sizes in stm32l4_probe changed to multiples of 1kB.

Tested with Nucleo-G071RB, G030J6, Nucleo-G431RB and Nucleo-G474RE.
Gap handling in G4 Cat. 3 dual bank mode tested with STM32G473RB.
This handling isn't optimal as the bank size includes the
size of the gap. WB not tested.

Change-Id: I24df7c065afeb71c11c7e96de4aa9fdb91845593
Signed-off-by: Andreas Bolsch &lt;hyphen0break@gmail.com&gt;
Reviewed-on: http://openocd.zylin.com/4807
Tested-by: jenkins
Reviewed-by: Tarek BOCHKATI &lt;tarek.bouchkati@gmail.com&gt;
Reviewed-by: Tomas Vanek &lt;vanekt@fbl.cz&gt;
</content>
</entry>
<entry>
<title>tcl/target: Fix naming of RZ/A1 SoC</title>
<updated>2020-03-14T20:39:47Z</updated>
<author>
<name>Marek Vasut</name>
<email>marek.vasut@gmail.com</email>
</author>
<published>2020-02-08T06:02:28Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/openocd/commit/?id=e03de33c412b366f3dd45c447410dcc1df3b4b82'/>
<id>urn:sha1:e03de33c412b366f3dd45c447410dcc1df3b4b82</id>
<content type='text'>
The RZ/A1 is not part of the R-Car family, but is rather an RZ family.
Fix the naming.

Change-Id: I5f882b2467e87e534e0f1c827554e664a7d55664
Signed-off-by: Marek Vasut &lt;marek.vasut@gmail.com&gt;
Reviewed-on: http://openocd.zylin.com/5445
Tested-by: jenkins
Reviewed-by: Oleksij Rempel &lt;linux@rempel-privat.de&gt;
</content>
</entry>
<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>target/cortex_a: add hypervisor mode</title>
<updated>2020-03-12T10:11:19Z</updated>
<author>
<name>Antonio Borneo</name>
<email>borneo.antonio@gmail.com</email>
</author>
<published>2019-06-25T14:01:38Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/openocd/commit/?id=b5d2b1224fed3909aa3314339611ac5ac7ab0f82'/>
<id>urn:sha1:b5d2b1224fed3909aa3314339611ac5ac7ab0f82</id>
<content type='text'>
Hypervisor mode is present only if the optional virtualization
extensions are available. Moreover, virtualization extensions
require that also security extensions are implemented.

Add the required infrastructure for the shadowed registers in
hypervisor mode.
Make monitor shadowed registers visible in hypervisor mode too.
Make hypervisor shadowed registers visible in hypervisor mode
only.
Check during cortex_a examine if virtualization extensions are
present and then conditionally enable the visibility of both
hypervisor and monitor modes shadowed registers.

Change-Id: I81dbb1ee8baf4c9f1a2226b77c10c8a2a7b34871
Signed-off-by: Antonio Borneo &lt;borneo.antonio@gmail.com&gt;
Reviewed-on: http://openocd.zylin.com/5261
Tested-by: jenkins
</content>
</entry>
<entry>
<title>armv7a: access monitor registers only with security extensions</title>
<updated>2020-03-12T10:10:33Z</updated>
<author>
<name>Antonio Borneo</name>
<email>borneo.antonio@gmail.com</email>
</author>
<published>2019-06-24T16:28:31Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/openocd/commit/?id=6900c5af4ec3f6df52227169d7d897eb14a44bca'/>
<id>urn:sha1:6900c5af4ec3f6df52227169d7d897eb14a44bca</id>
<content type='text'>
Accordingly to ARM DDI 0406C at B1.5, the security extensions for
armv7a are optional extensions and can be detected by reading
ID_PFR1.
The monitor mode is part of the security extensions and the shadow
registers "sp_mon", "lr_mon" and "spsr_mon" are only present with
the security extensions.

Read the register ID_PFR1 during cortex_a examine, determine if
security extension is present and then conditionally enable the
visibility of the monitor mode shadow registers.

Change-Id: Ib4834698659046566f6dc5cd35b44de122dc02e5
Signed-off-by: Antonio Borneo &lt;borneo.antonio@gmail.com&gt;
Reviewed-on: http://openocd.zylin.com/5259
Tested-by: jenkins
</content>
</entry>
<entry>
<title>target/armv4_5: remove unused macro</title>
<updated>2020-03-12T10:09:15Z</updated>
<author>
<name>Antonio Borneo</name>
<email>borneo.antonio@gmail.com</email>
</author>
<published>2019-06-24T16:45:11Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/openocd/commit/?id=9626402c5a65423d4e4e9091f710b542522ca125'/>
<id>urn:sha1:9626402c5a65423d4e4e9091f710b542522ca125</id>
<content type='text'>
The macro ARMV4_5_CORE_REG_MODENUM() is unused.
Remove it!

Change-Id: I183df57bd86c9428710ea3583e43fba88fd26e0a
Signed-off-by: Antonio Borneo &lt;borneo.antonio@gmail.com&gt;
Reviewed-on: http://openocd.zylin.com/5260
Tested-by: jenkins
Reviewed-by: Muhammad Omair Javaid &lt;omair.javaid@linaro.org&gt;
</content>
</entry>
<entry>
<title>arm: Use different enum for core_type and core_mode</title>
<updated>2020-03-12T10:05:42Z</updated>
<author>
<name>Antonio Borneo</name>
<email>borneo.antonio@gmail.com</email>
</author>
<published>2019-06-24T15:15:33Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/openocd/commit/?id=fba438fde7355bcbe5fb4dc0ce712665d3d8a6da'/>
<id>urn:sha1:fba438fde7355bcbe5fb4dc0ce712665d3d8a6da</id>
<content type='text'>
The fields core_type and core_mode use the same enum arm_mode
but encode different information, making the code less immediate
to read.

Use a different enum arm_core_type for the field core_type.
The code behavior is not changed.

Change-Id: I60f2095ea6801dfe22f6da81ec295ca71ef90466
Signed-off-by: Antonio Borneo &lt;borneo.antonio@gmail.com&gt;
Reviewed-on: http://openocd.zylin.com/5258
Tested-by: jenkins
</content>
</entry>
<entry>
<title>arm: fix reg num for Monitor mode</title>
<updated>2020-03-12T10:05:30Z</updated>
<author>
<name>Antonio Borneo</name>
<email>borneo.antonio@gmail.com</email>
</author>
<published>2019-06-24T10:17:17Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/openocd/commit/?id=f447c31b30f805725b7a09d51d786c88de4b7a4f'/>
<id>urn:sha1:f447c31b30f805725b7a09d51d786c88de4b7a4f</id>
<content type='text'>
Commit 2efb1f14f611 ("Add GDB remote target description support
for ARM4") inserts two additional registers "sp" and "lr" in the
table arm_core_regs[], thus shifting by two the position of the
last three registers already present
	"sp_mon" moved from index 37 to 39
	"lr_mon" moved from index 38 to 40
	"spsr_mon" moved from index 39 to 41
Part of the code is updated (e.g. enum defining ARM_SPSR_MON and
array arm_mon_indices[]), but it's missing the update of mapping
in armv4_5_core_reg_map[].

Fix armv4_5_core_reg_map[].

Change-Id: I0bdf766183392eb738206b876cd9559aacc29fa0
Signed-off-by: Antonio Borneo &lt;borneo.antonio@gmail.com&gt;
Fixes: 2efb1f14f611 ("Add GDB remote target description support for ARM4")
Reviewed-on: http://openocd.zylin.com/5257
Tested-by: jenkins
</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>
</feed>
