Updating the Firmware of NT Modules: Difference between revisions

From STorM32-BGC Wiki
Jump to navigation Jump to search
Line 21: Line 21:
The connections between adapter and NT module are shown in the scheme below.
The connections between adapter and NT module are shown in the scheme below.


:[[File:Storm32-nt-imu-updating-firmware-01.jpg|640px]]
:[[File:Storm32-nt-firmware-updating-02.jpg|640px]]


'''3.''' Connect the USB-TTL adapter to the computer and open the GUI.
'''3.''' Connect the USB-TTL adapter to the computer and open the GUI.

Revision as of 08:04, 27 November 2015

All NT Modules can be updated with a new firmware using the procedure below.

Comment: Updating implies that the module has a NT firmware running. If the module has never been flashed with a NT firmware before, or runs a different firmware, you must first do a "First Time Flashing". Please consult the respective wiki pages.

Updating Procedure

1. You need a USB-TTL adapter with a FTDI chip set, CH340 chip set, or properly configured CP2102 (not PL2303). Ensure that it is working (drivers installed, etc.).

Comment: To avoid confusion some explanation: For flashing the main STorM32 controller board USB adapters with either FTDI, CH4340, or CP2102 chip sets can be used without issues, while for flashing NT modules only FTDI and CH340 adapters work out of the box. CP2102 adapters need some configuration to handle the high baudrate of the NT bus, see How to configure CP2102 USB adapters for high baud rates. USB adapters with PL2303 chips NEVER work since they don't provide TTL levels.

2. Connect the USB-TTL adapter to the NT bus connector.

GND -> connect it to GND of the USB-TTL adapter
Tx -> connect it to Rx of the USB-TTL adapter
Rx -> connect it to Tx of the USB-TTL adapter
VCC -> connect it to power from the USB-TTL adapter

The connections between adapter and NT module are shown in the scheme below.

Storm32-nt-firmware-updating-02.jpg

3. Connect the USB-TTL adapter to the computer and open the GUI.

4. Go to the [GUI:Flash Firmware] tab as seen below. Choose the firmware in the [GUI:STorM32-BGC board] combo box field, or via the [GUI:Selected Firmware Hex File] text field. Select "System Bootloader @ UART1" in the [GUI:STM32 Programmer] field, and the [GUI:Com Port] associated with your USB-TTL adapter. Ensure that the "Use NT boot mode" check box is checked.

File:GUI Flash 1.jpg

5. Hit the [GUI:Flash Firmware] button. A DOS box will open, and the firmware will be flashed.

GUI Flash 2.jpg