<feed xmlns='http://www.w3.org/2005/Atom'>
<title>OpenOCD/src/flash, branch master</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>https://git.amat.us/openocd/atom/src/flash?h=master</id>
<link rel='self' href='https://git.amat.us/openocd/atom/src/flash?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>flash/stm32h7x: fix bank sizes for devices with trimmed flash</title>
<updated>2020-03-10T20:18:47Z</updated>
<author>
<name>Tarek BOCHKATI</name>
<email>tarek.bouchkati@gmail.com</email>
</author>
<published>2020-02-07T11:52:14Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/openocd/commit/?id=123e10288df62e6f66426cdab7adb93fd7348d5f'/>
<id>urn:sha1:123e10288df62e6f66426cdab7adb93fd7348d5f</id>
<content type='text'>
STM32H7yxxI: dual independent 1 MByte banks
STM32H7yxxG: dual independent 512 Kbyte banks
STM32H7yxxB: single 128 Kbyte bank

where y = [4/5] or [A/B]

references: (documents are available in www.st.com)
 - STM32H7[4/5]x[G/I] : DS12110 Rev 7
    &gt;&gt; 3.3.1 Embedded Flash memory
 - STM32H750xB : RM0433 Rev 6
    &gt;&gt; Table 11. Flash memory organization on STM32H750xB devices
 - STM32H7[A/B]x[B/G/I] : RM0455 Rev 3
    &gt;&gt; 4.3.4 Flash memory architecture and usage


Change-Id: Ic9346964ef2554abf47f5832e25adfdc77bd323e
Signed-off-by: Tarek BOCHKATI &lt;tarek.bouchkati@gmail.com&gt;
Reviewed-on: http://openocd.zylin.com/5442
Tested-by: jenkins
Reviewed-by: Christopher Head &lt;chead@zaber.com&gt;
</content>
</entry>
<entry>
<title>flash/nor: update support for TI MSP432 devices</title>
<updated>2020-03-07T15:32:24Z</updated>
<author>
<name>Edward Fewell</name>
<email>efewell@ti.com</email>
</author>
<published>2020-02-28T22:56:11Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/openocd/commit/?id=82a5c55dc357b042b6755b343c920baebd410874'/>
<id>urn:sha1:82a5c55dc357b042b6755b343c920baebd410874</id>
<content type='text'>
Added fixes for issues found in additional code reviews.

Fixed host Endianness issues with using buffer reads
and writes instead of the *_u32 variants.

Changed code that tried to ID banks by hardcode
bank_number values to use instead the bank base
address. This fixes problems using configurations
with multiple devices.

Note that this replaces Change 4786 which has
been abandoned because of extensive changes to
the code to stop IDing banks by name.  And I
think I really messed up a rebase/merge on the
document file.

Tested on MSP432P401R, MSP432P4111, and MSP432E401Y
Launchpads.

Change-Id: Id05798b3aa78ae5cbe725ee762a164d673ee5767
Signed-off-by: Edward Fewell &lt;efewell@ti.com&gt;
Reviewed-on: http://openocd.zylin.com/5481
Tested-by: jenkins
Reviewed-by: Tomas Vanek &lt;vanekt@fbl.cz&gt;
</content>
</entry>
<entry>
<title>bluenrg-x: simplyfied the driver</title>
<updated>2020-03-07T15:31:09Z</updated>
<author>
<name>luca vinci</name>
<email>luca.vinci@st.com</email>
</author>
<published>2020-01-08T09:15:40Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/openocd/commit/?id=e9932ef23d4af8466e724b7603549778fb93c294'/>
<id>urn:sha1:e9932ef23d4af8466e724b7603549778fb93c294</id>
<content type='text'>
Adopted only fast algorithm for flash programming:
- write_word and write_byte methods have been removed.
- start and end write alignments have been defined.
Moved flash controller registers offsets in a common file
shared with the flash algorithm.
- the flash base address is passed to the flash algorithm
  as a parameter.
Removed unused functions

Change-Id: I80aeab3994e477044bbcf02e66d9525dae0cb491
Signed-off-by: luca vinci &lt;luca.vinci@st.com&gt;
Reviewed-on: http://openocd.zylin.com/5393
Tested-by: jenkins
Reviewed-by: Tomas Vanek &lt;vanekt@fbl.cz&gt;
Reviewed-by: Michele Sardo &lt;msmttchr@gmail.com&gt;
</content>
</entry>
<entry>
<title>bluenrg-x: added support for BlueNRG-LP device</title>
<updated>2020-03-07T15:31:02Z</updated>
<author>
<name>luca vinci</name>
<email>luca.vinci@st.com</email>
</author>
<published>2019-11-05T07:45:04Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/openocd/commit/?id=6bc0a77a6e1a1146c44785812595250857fc7307'/>
<id>urn:sha1:6bc0a77a6e1a1146c44785812595250857fc7307</id>
<content type='text'>
Extended bluenrg-x flash driver with BlueNRG-LP flash controller.
Changes include:
- register set for the flash controller
- made software structure prone to support more easily future devices
- updated target config file

Change-Id: I2e2dc70db32cf98c62e3a43f2e44a4600a25ac5b
Signed-off-by: luca vinci &lt;luca.vinci@st.com&gt;
Reviewed-on: http://openocd.zylin.com/5343
Tested-by: jenkins
Reviewed-by: Tomas Vanek &lt;vanekt@fbl.cz&gt;
</content>
</entry>
<entry>
<title>helper/binarybuffer: fix clang static analyzer warnings</title>
<updated>2020-03-07T15:30:05Z</updated>
<author>
<name>Tomas Vanek</name>
<email>vanekt@fbl.cz</email>
</author>
<published>2019-12-20T22:56:08Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/openocd/commit/?id=a2e822834df52efef5e1bbcb91a6eb1afbf102db'/>
<id>urn:sha1:a2e822834df52efef5e1bbcb91a6eb1afbf102db</id>
<content type='text'>
Writing bits to an uninitialized buffer generated false warnings.
Zero buffers before setting them by buf_set_u32|64()
(do it only if bit-by-bit copy loop is used,
zeroed buffer is not necessary if a fast path write is used)

Change-Id: I2f7f8ddb45b0cbd08d3e249534fc51f4b5cc6694
Signed-off-by: Tomas Vanek &lt;vanekt@fbl.cz&gt;
Reviewed-on: http://openocd.zylin.com/5383
Tested-by: jenkins
Reviewed-by: Andreas Fritiofson &lt;andreas.fritiofson@gmail.com&gt;
</content>
</entry>
<entry>
<title>flash/nor/numicro: use flash infrastructure to align write</title>
<updated>2020-03-07T15:29:03Z</updated>
<author>
<name>Tomas Vanek</name>
<email>vanekt@fbl.cz</email>
</author>
<published>2019-12-20T22:26:51Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/openocd/commit/?id=c84f75de81ecd70afad0dd66dedd9daa27421fe0'/>
<id>urn:sha1:c84f75de81ecd70afad0dd66dedd9daa27421fe0</id>
<content type='text'>
The aligning code generated a clang static analyzer warning and
imposed huge memory leak. This part of code was removed and
flash infrastructure to alignment is used instead.

Not tested on hw!

Change-Id: I7c71da87547e71d595a7e7071ae5adcc1cecc827
Signed-off-by: Tomas Vanek &lt;vanekt@fbl.cz&gt;
Reviewed-on: http://openocd.zylin.com/5367
Tested-by: jenkins
Reviewed-by: Oleksij Rempel &lt;linux@rempel-privat.de&gt;
</content>
</entry>
<entry>
<title>flash/nor/fm4,tms470: fix clang static analyzer warnings</title>
<updated>2020-03-07T15:28:53Z</updated>
<author>
<name>Tomas Vanek</name>
<email>vanekt@fbl.cz</email>
</author>
<published>2019-12-20T22:23:26Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/openocd/commit/?id=e1051e1090d4dce0e45d428345015af285a21d7e'/>
<id>urn:sha1:e1051e1090d4dce0e45d428345015af285a21d7e</id>
<content type='text'>
Change-Id: I18c1501918d40453fea6aeeb6f035e46d41fc524
Signed-off-by: Tomas Vanek &lt;vanekt@fbl.cz&gt;
Reviewed-on: http://openocd.zylin.com/5366
Tested-by: jenkins
Reviewed-by: Oleksij Rempel &lt;linux@rempel-privat.de&gt;
</content>
</entry>
<entry>
<title>src/flash/nor/at91sam3|4l|7: fix clang static analyzer warnings</title>
<updated>2020-03-07T15:28:40Z</updated>
<author>
<name>Tomas Vanek</name>
<email>vanekt@fbl.cz</email>
</author>
<published>2019-12-20T22:18:37Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/openocd/commit/?id=b8524295002076a3f0e9e2211298a69a6ba9d858'/>
<id>urn:sha1:b8524295002076a3f0e9e2211298a69a6ba9d858</id>
<content type='text'>
Change-Id: I5cd2b2ebb2bd1980bdd1632b5c35bda9718a1089
Signed-off-by: Tomas Vanek &lt;vanekt@fbl.cz&gt;
Reviewed-on: http://openocd.zylin.com/5365
Tested-by: jenkins
Reviewed-by: Oleksij Rempel &lt;linux@rempel-privat.de&gt;
</content>
</entry>
</feed>
