DA16200 Thing Plus Hookup Guide

Pages
Contributors: santaimpersonator, MAKIN-STUFF
Favorited Favorite 0

Example: Serial Debug Interface

The serial debug interface provides users with a console to access many of the basic functions of the DA16200MOD, such as provisioning the WiFi connection or uploading new firmware. Once users have connected their board to their computer, they will need to open a serial terminal can connect to the DA16200MOD module's serial debug interface. The terminal serial port should be configured for 230400 bps (8-N-1):

  • Baud Rate: 230400 bps
  • Data Bits: 8
  • Parity: None
  • Stop Bits: 1
  • Flow Control (HW/SW): None
Troubleshooting Tips:
  • If the COM port isn't available, make sure that the driver for the CH340 is installed.
  • If users don't see a splash screen or [/DA16200] # prompt, try hitting the Enter (or Return) key.
  • Otherwise, double check that the RTC switch is in the 3V position.

splash screen
Splash screen for the DA16200. (Click to enlarge)

WiFi Configuration

Follow the instructions below, to configure the WiFi connection to the DA16200 Thing Plus:

  1. From the [/DA16200] # prompt, enter setup.
  2. Users will then be prompted Stop all services for the setting. Are you sure ? [Yes/No] :.
    • Select yes, by returning y.
  3. After, country code list will be displayed and users will be prompted for their country code.
    • Users that live in the USA should enter us for their country code.
  4. Users will then be prompted to select a WiFi mode.
    • Select 1 to configure the DA16200 Thing Plus for station mode.
  5. A list of available networks will then be displayed and users will be prompted to select an option.
    • Users should enter the number of the network, which they would like to use.
  6. Users will be prompted if they want to set advanced WiFi configuration.
    • Enter n to skip this step.
  7. The WiFi connection settings will be displayed and users will be asked to confirm the configuration.
    • If the settings are correct, enter y to confirm the configuration.
  8. Users will be asked to select a connection type.
    • Enter a to select an automatic DHCP IP address.
  9. Users will be prompted to confirm the configuration.
    • Enter y to confirm the configuration.
  10. Lastly, users will be prompted about the SNTP Client and Dialog DPM (Dynamic Power Management).
    • Enter n for both of these options.

Once completed, the DA16200 will automatically reboot. After the splash screen, users should see a statement declaring that the board is in station mode (System Mode : Station Only (0)), which is eventually followed by a print out of information about the WiFi connection.

Upload New Firmware

Follow the instructions below, to upload new firmware to the DA16200 Thing Plus:

  1. From the [/DA16200] # prompt, enter reset to enter the MROM command mode.
  2. Another splash screen will be displayed followed by the [MROM] # prompt.
  3. To specify the memory location of where the new firmware is uploaded to the DA16200MOD, use the loady command.
    • For the second bootloader firmware image (FBOOT), use the loady boot or loady 0 command.
    • For the main firmware image (FRTOS):
      • Use the loady 23000 command (for slot 1).
      • Use the loady 1e2000 command (for slot 2).
  4. Upload the new firmware using Y-Modem.
    • For Windows Tera Term:
      1. From the File menu, select Transfer > YMODEM > Send.
        y-modem send
      2. Navigate to where the firmware image is stored, choose the required firmware image and start the download.
    • For Linux minicom:
      1. Press Ctrl+A+S and select ymodem from the menu.
      2. Navigate to where the firmware image is stored, choose the required firmware image and start the download.