I have some issues regarding the AT commands on the BU04.
Except a very few commands like AT+SETCFG=0,1,1,1 every othe command throws ERR. Even the AT command gives me an ERR
Does anyone know how to deal with this/had the same problem? I haven’t found any documentation on this or how to flash the firmware to the device…
Hi Malte,
Based on the official AT command manual for the BU04, here’s what’s likely going on and how to fix it:
The fact that AT+SETCFG=0,1,1,1 goes through but plain AT returns ERR strongly suggests the device has already been configured and saved, and is now running in normal UWB working mode where the AT framework is partially restricted. This is consistent with how the firmware behaves post-configuration.
First — Restore to Factory Mode
Send: AT+RESTORE
Expected: OK
This returns the device to factory state and should re-enable the full AT command set.
Second —Check & Reset the Working Mode
Send: AT+GETWORKMODE
Expected: workmode: 0 ← Normal mode
workmode: 1 ← Production test mode
If it returns workmode: 1, switch it back with:
Send: AT+SETWORKMODE=0
Expected: workmode: 0 / OK
Third 3 — Correct Your AT+SETCFG Syntax
Looking at your original command AT+SETCFG=0,1,1,1 — it’s actually missing one parameter. The correct format per the manual is:
AT+SETCFG=X1, X2, X3, 1, X4
AT+SETCFG=0,1,1,1,0
The missing X4 could itself be causing ERR on some firmware versions.
Flashing instructions and tooling can be found on the Ai-Thinker official docs page: