FMLR Breakout Board€¦ · 2 Detailed Description This section will guide you through the initial...

9
FMLR Breakout Board High Performance LoRaWAN® Development Board Quickstart Guide Miromico AG - Gallusstrasse 4 - CH-8006 Zurich – Switzerland Revision 1.025 1/9

Transcript of FMLR Breakout Board€¦ · 2 Detailed Description This section will guide you through the initial...

Page 1: FMLR Breakout Board€¦ · 2 Detailed Description This section will guide you through the initial setup of the FMLR Breakout Board. 2.1 Prerequisites The FMLR Breakout Board needs

FMLR Breakout BoardHigh Performance LoRaWAN® Development Board

Quickstart Guide

Miromico AG - Gallusstrasse 4 - CH-8006 Zurich – Switzerland

Revision 1.025

1/9

Page 2: FMLR Breakout Board€¦ · 2 Detailed Description This section will guide you through the initial setup of the FMLR Breakout Board. 2.1 Prerequisites The FMLR Breakout Board needs

About this Document

Title FMLR Breakout Board

Subtitle High Performance LoRaWAN® Development Board

Document Type Quickstart Guide

Revision 1.025

Date 22.11.19

Document Status Preliminary

Contents

1 Overview.................................................................................................................................................. 31.1 Connectors and UI................................................................................................................................ 31.2 Pinout.................................................................................................................................................... 42 Detailed Description................................................................................................................................. 52.1 Prerequisites.......................................................................................................................................... 52.2 Powering on the Device........................................................................................................................52.3 Programming the Device......................................................................................................................52.4 Programming by USB (UART)................................................................................................................62.5 Flashing Firmware with development tool............................................................................................62.6 Rebooting the Device........................................................................................................................... 62.7 Debugging the Device by USB (UART).................................................................................................6

We reserve the right to make technical changes, which serve to improve the product, without prior notification.

SAFETY-CRITICAL, MILITARY, AND AUTOMOTIVE APPLICATIONS DISCLAIMER: Miromico products are not designed for and will not be used in connection with any applications where the failure of such products would reasonably be expected to result in significant personal injury or death (“Safety-Critical Applications”) without an Miromico officer's specific written consent. Safety-Critical Applications include, without limitation, life support devices and systems, equipment or systems for the operation of nuclear facilities and weapons systems. Miromico products are not designed nor intended for use in military or aerospace applications or environments. Miromico products are not designed nor intended for use in automotive applications unless specifically designated by Miromico as automotive-grade.

Miromico AG - Gallusstrasse 4 - CH-8006 Zurich – Switzerland

Revision 1.025

2/9

Page 3: FMLR Breakout Board€¦ · 2 Detailed Description This section will guide you through the initial setup of the FMLR Breakout Board. 2.1 Prerequisites The FMLR Breakout Board needs

1 Overview

1.1 Connectors and UI

Function DescriptionFMLR Module FMLR Module

TAG Connect Programming Interface for Tag Connect and Miromico programing adaptor

For more information on the FMLR Module, please refer the the respective datasheets, found on the Miromico website:

https://miromico.ch/wp-content/uploads/2018/12/FMLR_61_x_RSS3-3.pdf

https://miromico.ch/wp-content/uploads/2018/12/FMLR-72-x-32L0-2.pdf

Note:

This Quickstart Guide is aimed at the FMLR-72-x-32L0-xx. Please inquire for information on othermodules.

Miromico AG - Gallusstrasse 4 - CH-8006 Zurich – Switzerland

Revision 1.025

3/9

Page 4: FMLR Breakout Board€¦ · 2 Detailed Description This section will guide you through the initial setup of the FMLR Breakout Board. 2.1 Prerequisites The FMLR Breakout Board needs

1.2 Pinout

Pin Details Min Max Unit

All Min / Max Voltage on All Pins -0.3 3.6 V

3V3 Input / Output Voltage Pin -0.3 3.6 V

VBUS Input / Output Voltage Pin -0.3 5.5 V

Warning:

Do not exceed the above mentioned max. voltage values

Miromico AG - Gallusstrasse 4 - CH-8006 Zurich – Switzerland

Revision 1.025

4/9

Page 5: FMLR Breakout Board€¦ · 2 Detailed Description This section will guide you through the initial setup of the FMLR Breakout Board. 2.1 Prerequisites The FMLR Breakout Board needs

2 Detailed Description

This section will guide you through the initial setup of the FMLR Breakout Board.

2.1 Prerequisites

The FMLR Breakout Board needs some additional equipment before it can be used:

• FMLR Module

• Pin headers

• STLink V2

• FTDI-Cable

• Tag connect cable

• Interconnect board

• Soldering equipment

2.2 Prepare the Device

Before the FMLR Breakout Board can be properly used, some hardware preparations have to be conducted.

First, an FMLR Module has to be soldered onto the breakout board. Use the prepared spaceon the top of the board (see Overview) and make sure all the pins are connected, as shown in the image below.

Next, the pin headers have to be soldered onto the FMLR Module. This enables the use of a breadboard to connect to each pin individually.

Warning:

Make sure no neighboring pins are accidentally connected and cause a short circuit!

Miromico AG - Gallusstrasse 4 - CH-8006 Zurich – Switzerland

Revision 1.025

5/9

Page 6: FMLR Breakout Board€¦ · 2 Detailed Description This section will guide you through the initial setup of the FMLR Breakout Board. 2.1 Prerequisites The FMLR Breakout Board needs

2.3 Debug Connection

In order to view the debugging output of the FMLR Module, you need a suitable terminal application. We recommend YAT.

You can download the latest version from the YAT website:

https://sourceforge.net/projects/y-a-terminal/

1. Plug the FTDI cable into your computers USB port

2. Plug the FTDI cable into the interconnect board

3. Connect the TAG-connect cable to the interconnect board

4. Connect the TAG-connect to the FMLR Breakout Board

5. Start YAT

6. Start a new terminal (might happen on its own)

Miromico AG - Gallusstrasse 4 - CH-8006 Zurich – Switzerland

Revision 1.025

6/9

Page 7: FMLR Breakout Board€¦ · 2 Detailed Description This section will guide you through the initial setup of the FMLR Breakout Board. 2.1 Prerequisites The FMLR Breakout Board needs

7. Choose the right Port Name for your device (found in the device manager on Windows, use “dmesg | grep tty” on Linux)

8. Ensure to set the baudrate, databits, parity and stopbits to the right values (see screenshot below)

You should now be able to see the debug output of the FMLR Module as soon as you poweron the device and you can communicate with it via its AT command interface. See the documentation of the respective module for more information.

Alternatively to using the TAG-connect adapter, you may use the DBGRX and DBGTX pins to directly connect the device to a serial port.

2.4 Powering on the Device

To power on the FMLR Breakout Board, after connecting it to a computer via the Interconnect board, you can simply connect the power pins of the Interconnect board and press the reset button.

Alternatively, you can directly connect the 3V3 pin to a 3.3 V power source and at least one of the GND pins to ground.

Note:

Ensure your power supply is capable of delivering at least 0.5A

2.5 Programming the Device

The FMLR Module can be programmed with a “ready-to-go” firmware (e.g. .hex-files) or by uploading and debugging your own firmware.

For uploading existing firmware you need to use the “FLASHER-STM32” Software.

You can download the latest version from the STMicroelectronics website: https://www.st.com/en/development-tools/flasher-stm32.html

For uploading and debugging your own firmware we recommend using TrueSTUDIO® for STM32.

You can download the latest version from the Atollic website:

https://atollic.com/truestudio/

Miromico AG - Gallusstrasse 4 - CH-8006 Zurich – Switzerland

Revision 1.025

7/9

Page 8: FMLR Breakout Board€¦ · 2 Detailed Description This section will guide you through the initial setup of the FMLR Breakout Board. 2.1 Prerequisites The FMLR Breakout Board needs

2.6 Programming by UART

1. Connect your ST-Link V2 to the Interconnect board and your computer

2. Additionally connect everything as described in 2.3

3. Connect your power supply (3.3V, min. 0.5A) to the BM (Boot Mode) pin

4. Reset the device while the BM pin is connected (you can remove the connection after resetting is done)

5. Start the «FLASHER-STM32” software as administrator

6. Set the right Port Name for your device

7. Press Next

8. You should see the following message when the tool recognizes the used ST-Microcontroller on the Module

Miromico AG - Gallusstrasse 4 - CH-8006 Zurich – Switzerland

Revision 1.025

8/9

Page 9: FMLR Breakout Board€¦ · 2 Detailed Description This section will guide you through the initial setup of the FMLR Breakout Board. 2.1 Prerequisites The FMLR Breakout Board needs

9. Click Next in the next window that shows up and do not change any parameters

10. Check the “Download to device” option and select your .hex file you want to flash onto the device

11. Check the “Erase necessary pages” option and click on “Next”

12. The flash progress is complete once the following message appears

2.7 Flashing Firmware with development tool

Please see the documentation for your specific software development tool.

2.8 Rebooting the Device

Reboot the device using the reset button on the Interconnect bard or by connecting your power supply to the RES# pin.

Notes:

Miromico AG - Gallusstrasse 4 - CH-8006 Zurich – Switzerland

Revision 1.025

9/9