Skip to main content

Debugging Overview

This page aims to provide an overview of how to debug the AVR-IoT Cellular Mini and the Sequans GM02S modem.

Sequans Documentation

Documentation from Sequans can be found on their website https://cloud.sequans.com. In order to get access, register with microchip as part of your username or specify in the confirmation email that you are using the AVR-IoT Cellular Mini to gain access. The AT command reference can be downloaded without registration here.

UART Bridge

A connectivity channel is required to debug the modem. Such a channel can be UART Bridge, allowing AT Commands are strings sent between the AVR-DB and GM02S. An example would be AT+CFUN=1, which initiates a cellular connection.AT Commands to be written directly to the modem.

  1. Download the uart_bridge.hex
  2. Drag & Drop the uart_bridge to the Curiosity Drive in Windows Explorer
  3. Use any serial communication software to send & receive messages
Unsupported Browser
Your browser does not support the online serial terminal. Supported browsers are Google Chrome, Microsoft Edge and Opera.

AT Command Reference

The complete AT command reference can be downloaded here.

DMLight Tool

DMLight is a tool from Sequans to debug their modems. It can be used to read the current state of the modem and read log messages. When posting an issue on the GitHub page, make sure to include this log.

How To: Basic Diagnostic Log

To generate a basic diagnostic log, do the following

  1. Install & Open the DMLight tool
  2. Use the UART Bridge and issue the AT+CFUN=1 command
    • The modem starts to search for an operator
  3. Disconnect the board from the UART Bridge (or any other serial terminal you might have used)
  4. In the DMLight tool, click Connect
    • The UART box should turn orange before a solid green.
    • The modem is operating successfully if the UART, SIM, and Network boxes are all green
  5. Start the log by clicking Start record
    • In the popup window, select where to store the log. Click Start! to start the recording
  6. Let it run for a while before clicking Stop record

DM Light