<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Home</title><link>https://sourceforge.net/p/stm32flash/wiki/Home/</link><description>Recent changes to Home</description><atom:link href="https://sourceforge.net/p/stm32flash/wiki/Home/feed" rel="self"/><language>en</language><lastBuildDate>Sat, 11 May 2024 08:24:21 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/stm32flash/wiki/Home/feed" rel="self" type="application/rss+xml"/><item><title>Home modified by Tormod Volden</title><link>https://sourceforge.net/p/stm32flash/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v16
+++ v17
@@ -102,6 +102,7 @@
 Find help on our [Hints] page about

 * GPIO sequences changes
+* Raspberry Pi 3 UART and pin control
 * Linux and CH340 USB-serial adapters
 * MacOSX and PL2303 USB-serial adapters

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Tormod Volden</dc:creator><pubDate>Sat, 11 May 2024 08:24:21 -0000</pubDate><guid>https://sourceforge.netf43252ef8a6f1c09d06813b4b27dc552e9b0f3e3</guid></item><item><title>Home modified by Tormod Volden</title><link>https://sourceforge.net/p/stm32flash/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v15
+++ v16
@@ -101,6 +101,7 @@
 # Help and hints #
 Find help on our [Hints] page about

+* GPIO sequences changes
 * Linux and CH340 USB-serial adapters
 * MacOSX and PL2303 USB-serial adapters

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Tormod Volden</dc:creator><pubDate>Mon, 29 Apr 2024 12:09:25 -0000</pubDate><guid>https://sourceforge.netdcaa7f1b4243dc75e24790fbd056acab70de4428</guid></item><item><title>Home modified by Tormod Volden</title><link>https://sourceforge.net/p/stm32flash/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v14
+++ v15
@@ -1,30 +1,11 @@
 # stm32flash#
 Open source cross platform flash program for the STM32 ARM microcontrollers using the built-in ST serial bootloader over UART or I2C

-stm32flash 0.6 was released 2021-02-12 and is available at 
-https://sourceforge.net/projects/stm32flash/files/
+Releases can be downloaded from https://sourceforge.net/projects/stm32flash/files/

-stm32flash 0.6 is a maintenance release with these highlights:
+stm32flash 0.7 was released 2022-03-26

- *  Many more devices supported G0/G4/F7/H7/L4 (various contributors)
- * GPIO sequencing reworked (Roman Savrulin)
- * Serial port handling improved (Mickael Gardet)
- * Many code improvements (Antonio Borneo)
- * Only erase needed pages if flashing from file (Tormod Volden)
-
-Please see the git log for all changes.
-
-stm32flash 0.5 was released 2016-02-11 and added:
-
- * support for multiple bank sizes
- * improved serial port support on Windows
- * improved erase functionality
- * improved hex parser
- * many new devices and device info corrections
-
-Thanks to Antonio Borneo and many other contributors (see git log and AUTHORS file)
-
-The 0.4 version is the work of Antonio Borneo and includes support for programming over I2C. See the included I2C.txt for more information. The code has been refactored to make it easier to add other transports.
+See the [ChangeLog] for details.

 ## Features ##

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Tormod Volden</dc:creator><pubDate>Sun, 27 Mar 2022 13:38:33 -0000</pubDate><guid>https://sourceforge.nete16a223a8adbe8751060ffba233544ffcf73c8fb</guid></item><item><title>Home modified by Tormod Volden</title><link>https://sourceforge.net/p/stm32flash/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v13
+++ v14
@@ -5,20 +5,24 @@
 https://sourceforge.net/projects/stm32flash/files/

 stm32flash 0.6 is a maintenance release with these highlights:
+
  *  Many more devices supported G0/G4/F7/H7/L4 (various contributors)
  * GPIO sequencing reworked (Roman Savrulin)
  * Serial port handling improved (Mickael Gardet)
  * Many code improvements (Antonio Borneo)
  * Only erase needed pages if flashing from file (Tormod Volden)
+
 Please see the git log for all changes.

 stm32flash 0.5 was released 2016-02-11 and added:
+
  * support for multiple bank sizes
  * improved serial port support on Windows
  * improved erase functionality
  * improved hex parser
  * many new devices and device info corrections
-thanks to Antonio Borneo and many other contributors (see git log and AUTHORS file)
+
+Thanks to Antonio Borneo and many other contributors (see git log and AUTHORS file)

 The 0.4 version is the work of Antonio Borneo and includes support for programming over I2C. See the included I2C.txt for more information. The code has been refactored to make it easier to add other transports.

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Tormod Volden</dc:creator><pubDate>Fri, 12 Feb 2021 21:19:18 -0000</pubDate><guid>https://sourceforge.netc7d440668c29889e1078ad6ad31a7b005fb8d392</guid></item><item><title>Home modified by Tormod Volden</title><link>https://sourceforge.net/p/stm32flash/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v12
+++ v13
@@ -42,7 +42,7 @@

 Usage synopsis:
 ~~~~
-stm32flash [-bvngfhc] [-[rw] filename] [tty_device | i2c_device]
+Usage: ./stm32flash [-bvngfhc] [-[rw] filename] [tty_device | i2c_device]
    -a bus_address  Bus address (e.g. for I2C port)
    -b rate     Baud rate (default 57600)
    -m mode     Serial port mode (default 8e1)
@@ -66,33 +66,47 @@
    -c      Resume the connection (don't send initial INIT)
            *Baud rate must be kept the same as the first init*
            This is useful if the reset fails
+   -R      Reset device at exit.
    -i GPIO_string  GPIO sequence to enter/exit bootloader mode
            GPIO_string=[entry_seq][:[exit_seq]]
-           sequence=[-]n[,sequence]
-   -R      Reset device at exit.
+           sequence=[[-]signal]&amp;amp;|,[sequence]
+
+GPIO sequence:
+   The following signals can appear in a sequence:
+     Integer number representing GPIO pin
+     'dtr', 'rts' or 'brk' representing serial port signal
+   The sequence can use the following delimiters:
+     ',' adds 100 ms delay between signals
+     '&amp;amp;' adds no delay between signals
+   The following modifiers can be prepended to a signal:
+     '-' reset signal (low) instead of setting it (high)

 Examples:
    Get device information:
-       stm32flash /dev/ttyS0
+       ./stm32flash /dev/ttyS0
      or:
-       stm32flash /dev/i2c-0
+       ./stm32flash /dev/i2c-0

    Write with verify and then start execution:
-       stm32flash -w filename -v -g 0x0 /dev/ttyS0
+       ./stm32flash -w filename -v -g 0x0 /dev/ttyS0

    Read flash to file:
-       stm32flash -r filename /dev/ttyS0
+       ./stm32flash -r filename /dev/ttyS0

    Read 100 bytes of flash from 0x1000 to stdout:
-       stm32flash -r - -S 0x1000:100 /dev/ttyS0
+       ./stm32flash -r - -S 0x1000:100 /dev/ttyS0

    Start execution:
-       stm32flash -g 0x0 /dev/ttyS0
+       ./stm32flash -g 0x0 /dev/ttyS0

    GPIO sequence:
-   - entry sequence: GPIO_3=low, GPIO_2=low, GPIO_2=high
-   - exit sequence: GPIO_3=high, GPIO_2=low, GPIO_2=high
-       stm32flash -R -i -3,-2,2:3,-2,2 /dev/ttyS0
+   - entry sequence: GPIO_3=low, GPIO_2=low, 100ms delay, GPIO_2=high
+   - exit sequence: GPIO_3=high, GPIO_2=low, 300ms delay, GPIO_2=high
+       ./stm32flash -i '-3&amp;amp;-2,2:3&amp;amp;-2,,,2' /dev/ttyS0
+   GPIO sequence adding delay after port opening:
+   - entry sequence: delay 500ms
+   - exit sequence: rts=high, dtr=low, 300ms delay, GPIO_2=high
+       ./stm32flash -R -i ',,,,,:rts&amp;amp;-dtr,,,2' /dev/ttyS0
 ~~~~

 # Bug reports and patches #
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Tormod Volden</dc:creator><pubDate>Fri, 12 Feb 2021 21:03:23 -0000</pubDate><guid>https://sourceforge.net7585d07f0b2aee5918ca1248e146bef1644c67cc</guid></item><item><title>Home modified by Tormod Volden</title><link>https://sourceforge.net/p/stm32flash/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v11
+++ v12
@@ -1,17 +1,23 @@
 # stm32flash#
 Open source cross platform flash program for the STM32 ARM microcontrollers using the built-in ST serial bootloader over UART or I2C

-stm32flash 0.5 was released 2016-02-11 and is available at 
+stm32flash 0.6 was released 2021-02-12 and is available at 
 https://sourceforge.net/projects/stm32flash/files/

-The 0.5 version adds
+stm32flash 0.6 is a maintenance release with these highlights:
+ *  Many more devices supported G0/G4/F7/H7/L4 (various contributors)
+ * GPIO sequencing reworked (Roman Savrulin)
+ * Serial port handling improved (Mickael Gardet)
+ * Many code improvements (Antonio Borneo)
+ * Only erase needed pages if flashing from file (Tormod Volden)
+Please see the git log for all changes.

+stm32flash 0.5 was released 2016-02-11 and added:
  * support for multiple bank sizes
  * improved serial port support on Windows
  * improved erase functionality
  * improved hex parser
  * many new devices and device info corrections
-
 thanks to Antonio Borneo and many other contributors (see git log and AUTHORS file)

 The 0.4 version is the work of Antonio Borneo and includes support for programming over I2C. See the included I2C.txt for more information. The code has been refactored to make it easier to add other transports.
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Tormod Volden</dc:creator><pubDate>Fri, 12 Feb 2021 20:57:26 -0000</pubDate><guid>https://sourceforge.netbb4033062240d7c2d93492946bb75d8c683b79b5</guid></item><item><title>Home modified by Tormod Volden</title><link>https://sourceforge.net/p/stm32flash/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v10
+++ v11
@@ -92,6 +92,7 @@
 # Bug reports and patches #
 Please file bugs and post patches in the official tracker https://sourceforge.net/p/stm32flash/tickets/

+There is also an stm32flash mailing list for discussion and announcements: https://lists.osmocom.org/mailman/listinfo/stm32flash
 # Help and hints #
 Find help on our [Hints] page about

@@ -99,6 +100,10 @@
 * MacOSX and PL2303 USB-serial adapters

 # Building from source #
-On most platforms just run "make" in the source folder. For building on Windows see also [Build].
+The code is hosted in git on SourceForge: 
+`git clone git://git.code.sf.net/p/stm32flash/code stm32flash`
+There is a git mirror on GitLab: https://gitlab.com/stm32flash/stm32flash
+
+On most platforms just run "make" in the source folder. For building on Windows see also [Build]. There is also autotools support.
 # Authors #
-stm32flash was originally written by Geoffrey McRae and is since 2012 maintained by Tormod Volden. See the git log for the many other contributors.
+stm32flash was originally written by Geoffrey McRae and is since 2012 maintained by Tormod Volden. See the git log or AUTHORS file for the many other contributors.
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Tormod Volden</dc:creator><pubDate>Sun, 15 Nov 2020 09:53:50 -0000</pubDate><guid>https://sourceforge.net8c9f2c21408b0d30ef1a054312fc65ef9c44909f</guid></item><item><title>Home modified by Tormod Volden</title><link>https://sourceforge.net/p/stm32flash/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v9
+++ v10
@@ -98,5 +98,7 @@
 * Linux and CH340 USB-serial adapters
 * MacOSX and PL2303 USB-serial adapters

+# Building from source #
+On most platforms just run "make" in the source folder. For building on Windows see also [Build].
 # Authors #
 stm32flash was originally written by Geoffrey McRae and is since 2012 maintained by Tormod Volden. See the git log for the many other contributors.
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Tormod Volden</dc:creator><pubDate>Sat, 23 Apr 2016 19:29:36 -0000</pubDate><guid>https://sourceforge.net4064f4dd343700ef93da6061422d1dd3fe1e1a97</guid></item><item><title>Home modified by Tormod Volden</title><link>https://sourceforge.net/p/stm32flash/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v8
+++ v9
@@ -1,4 +1,3 @@
-![ilovefs.org](http://fsfe.org/campaigns/ilovefs/artwork/graphics/ilovefs-banner-medium-en.png)
 # stm32flash#
 Open source cross platform flash program for the STM32 ARM microcontrollers using the built-in ST serial bootloader over UART or I2C

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Tormod Volden</dc:creator><pubDate>Tue, 16 Feb 2016 22:35:25 -0000</pubDate><guid>https://sourceforge.netd0ce63dd043a4bbfb89b57b8e85f2444c0a42062</guid></item><item><title>Home modified by Tormod Volden</title><link>https://sourceforge.net/p/stm32flash/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v7
+++ v8
@@ -1,3 +1,4 @@
+![ilovefs.org](http://fsfe.org/campaigns/ilovefs/artwork/graphics/ilovefs-banner-medium-en.png)
 # stm32flash#
 Open source cross platform flash program for the STM32 ARM microcontrollers using the built-in ST serial bootloader over UART or I2C

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Tormod Volden</dc:creator><pubDate>Sun, 14 Feb 2016 13:57:14 -0000</pubDate><guid>https://sourceforge.net9a66b213b60aded854371f6fecad71a67e5c91b3</guid></item></channel></rss>