How to flash NT Modules: Difference between revisions

From STorM32-BGC Wiki
Jump to navigation Jump to search
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
This page is for instructions on how to flash NT modules with a NT firmware.  
This page is for instructions on how to flash NT modules with a NT firmware.  


Proprietary NT modules (such as those from [https://www.ensys.lt/ ensys]) may require different procedures and/or firmware, please see the producer's documentation.
Proprietary NT modules (such as those from [https://www.ensys.lt/ ensys]) may require different procedures and/or firmware, please see the vendor's documentation.


== Updating NT Firmware ==
== Updating NT Firmware ==
Line 11: Line 11:
If your NT module has not yet been flashed with a NT firmware, or runs a different firmware because e.g. you're modding some piece of hardware to become a NT module, then one needs to resort to grass roots flashing methods for flashing the NT firmware (first-time flashing). For details see here:  
If your NT module has not yet been flashed with a NT firmware, or runs a different firmware because e.g. you're modding some piece of hardware to become a NT module, then one needs to resort to grass roots flashing methods for flashing the NT firmware (first-time flashing). For details see here:  


* [[Flashing OlliW's NT Modules|OlliW's NT Modules]]
* [[Flashing the Mini CC3D Atom|Mini CC3D Atom]]
* [[Flashing the Mini CC3D Atom|Mini CC3D Atom]]
* [[Flashing the CC3D Atom|CC3D Atom]]
* [[Flashing the CC3D Atom|CC3D Atom]]
* [[Flashing OlliW's NT Modules|OlliW's NT Modules]]


==== General Comments on the First-Time Flashing Process ====
==== General Comments on the First-Time Flashing Process ====
Line 19: Line 19:
In general, the STM32 micro-controllers which are used in the NT modules (and STorM32 boards) provide two different built-in methods for flashing firmware:  
In general, the STM32 micro-controllers which are used in the NT modules (and STorM32 boards) provide two different built-in methods for flashing firmware:  


# via the serial system bootloader using a USB-TTL adapter
# via the serial system bootloader using the STorM32 board (or a USB-TTL adapter)
# via SWD using a ST-Link programmer
# via SWD using a ST-Link programmer


Not all methods are available for every NT module. All "OlliW" NT modules can be flashed by method 1, the "bigger" ones also by method 2. When a non-NT piece of hardware such as the CC3D Atom is modded, then the situation becomes very depending on the particular piece of hardware used.
Not all methods are available for every NT module. All "OlliW" NT modules can be flashed by method 1, some of them also by method 2. When a non-"OlliW" piece of hardware such as the CC3D Atom is modded, then the situation becomes very depending on the particular piece of hardware used.


Method 1 is most convenient in the sense that only a USB-TTL adapter is needed as additional hardware, which likely is already available (e.g. for flashing v1.x STorM32 main boards). However, the grain of salt, one needs access to the BOOT0 pin, as it needs to be (temporarily) shortened to GND for method 1 to work, but this pin is not always available. This is so for instance for the Mini CC3D Atom.
Method 1 is most convenient, only the STorM32 board (or a USB-TTL adapter) is needed. However, the grain of salt, one needs access to the BOOT0 pin on the NT module, as it needs to be (temporarily) shortened to GND for method 1 to work, but this pin is not always available. This is so for instance for the Mini CC3D Atom.


Method 2 requires a dedicated ST-Link programmer as additional hardware. It is cheaply available, but nevertheless it is an additional piece of hardware. Also, the module must offer access to the SWD pins, which are not available on every board.
Method 2 requires a dedicated ST-Link programmer as additional hardware. It is cheaply available, but nevertheless it is an additional piece of hardware. Also, the NT module must offer access to the SWD pins, which are not available on every board.

Latest revision as of 08:07, 27 October 2018

This page is for instructions on how to flash NT modules with a NT firmware.

Proprietary NT modules (such as those from ensys) may require different procedures and/or firmware, please see the vendor's documentation.

Updating NT Firmware

If your NT module runs already a NT firmware, this is the canonical procedure for upgrading:

First-Time Flashing

If your NT module has not yet been flashed with a NT firmware, or runs a different firmware because e.g. you're modding some piece of hardware to become a NT module, then one needs to resort to grass roots flashing methods for flashing the NT firmware (first-time flashing). For details see here:

General Comments on the First-Time Flashing Process

In general, the STM32 micro-controllers which are used in the NT modules (and STorM32 boards) provide two different built-in methods for flashing firmware:

  1. via the serial system bootloader using the STorM32 board (or a USB-TTL adapter)
  2. via SWD using a ST-Link programmer

Not all methods are available for every NT module. All "OlliW" NT modules can be flashed by method 1, some of them also by method 2. When a non-"OlliW" piece of hardware such as the CC3D Atom is modded, then the situation becomes very depending on the particular piece of hardware used.

Method 1 is most convenient, only the STorM32 board (or a USB-TTL adapter) is needed. However, the grain of salt, one needs access to the BOOT0 pin on the NT module, as it needs to be (temporarily) shortened to GND for method 1 to work, but this pin is not always available. This is so for instance for the Mini CC3D Atom.

Method 2 requires a dedicated ST-Link programmer as additional hardware. It is cheaply available, but nevertheless it is an additional piece of hardware. Also, the NT module must offer access to the SWD pins, which are not available on every board.