AT commands like ATW? / ATPM don’t work on my (brand-new, unflashed, unerased) BW16 board (connected to UART PB1 / PB2):
AT
argc=0
OK
[MEM] After do cmd, available heap 176544
ATS?
Unknown cmd:ATS?
[MEM] After do cmd, available heap 176544
ATW?
Unknown cmd:ATW?
[MEM] After do cmd, available heap 176544
ATPM=112233445566
Unknown cmd:ATPM=112233445566
[MEM] After do cmd, available heap 176544
Ameba_ATCMD_ESP is also no option as it does not support the ATPM command.
So what to do?
This is funny, according to AN0025 the command to change the MAC address is “ATWZ=write_mac[00e04c870102]”. According to AN0075 the command is “ATPM”. However - both commands do not work on my BW16:
ATPM=112233445566
Unknown cmd:ATPM=112233445566
[MEM] After do cmd, available heap 176544
ATWZ=write_mac[00e04c870102]
Unknown cmd:ATWZ=write_mac[00e04c870102]
[MEM] After do cmd, available heap 176544
ATWZ=read_mac
Unknown cmd:ATWZ=read_mac
[MEM] After do cmd, available heap 176544
My BW16 has
AT version: release/V4.18_P2.40.1
SDK version:amebad_v6.2C
Firmware version: release/V4.18_P6.3.1(Nov 17 2023-11:54:16)
Arch: RTL8720DX,NULL
Company: Ai-Thinker|B&T
I don’t understand your question concerning FreeRTOS or Arduino SDK. AT commands are simply sent to the board over serial connection to UART, you don’t need any SDK for this.