User Tools

Site Tools


software:firmware:2.x:at-commands:debugging

Debug Commands

This page documents AT commands for debugging, system information, firmware upgrade, and device control for HaLow firmware 2.x modules.

AT+SYSCFG โ€“ View Device Parameters

Execute:

AT+SYSCFG

Response:

  • Displays current device parameters*

Notes:

  • Use to check module configuration and status

AT+FWUPG โ€“ Serial Port Firmware Upgrade

Execute:

AT+FWUPG

Response:

CCCCCCCCCC

*(module enters upgrade mode)*

Notes:

  • Use xmodem-compatible terminal tools (SecureCRT, Xshell) to upload firmware

AT+LOADDEF โ€“ Restore Factory Settings

Execute:

AT+LOADDEF=1

Notes:

  • Resets module to default factory configuration

AT+SYSDBG โ€“ Enable Debug Output

Set Debug Printing:

AT+SYSDBG=LMAC,1

*(turn on LMAC debug)*

<code>AT+SYSDBG=UMAC,0</code> *(turn off UMAC debug)*

Response:

OK

Parameters:

  • XXX = `LMAC` (air interface) or `UMAC` (protocol stack)
  • VALE = 0 (off) or 1 (on)

AT+RST โ€“ Device Restart

Execute:

AT+RST

Notes:

  • Performs a soft reset of the device

AT+JTAG โ€“ Enable/Disable Debug Port

Set:

AT+JTAG=1

(enable)

<code>AT+JTAG=0</code> (disable)

Response:

OK

Notes:

  • Required for using an external debugger

AT+TX_PWR_SUPER โ€“ Set SUPER PWR

Query:

AT+TX_PWR_SUPER=?

Set:

AT+TX_PWR_SUPER=1

(enable)

<code>AT+TX_PWR_SUPER=0</code> (disable)

Response:

tx pwr super enable or tx pwr super disable

Notes:

  • Controls super power mode
  • Enabled by default in normal mode, disabled in test mode

AT+VERSION โ€“ Check Firmware Version

Query:

AT+VERSION

Response:

+VERSION:v2.4.1.3-34690, app:0

Notes:

  • Format: v[main].[branch].[patch].[bridge], app:[value]
  • Use to verify firmware compatibility and features
software/firmware/2.x/at-commands/debugging.txt ยท Last modified: by sarahrose

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki