====== 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)*
AT+SYSDBG=UMAC,0 *(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)
AT+JTAG=0 (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)
AT+TX_PWR_SUPER=0 (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