Using AT+SYSMFG commands

banjoluck
Posts: 25
Joined: Fri Jul 29, 2022 5:11 pm

Using AT+SYSMFG commands

Postby banjoluck » Wed Jul 19, 2023 10:52 pm

Greetings,

We are using the ESP32 AT command firmware, v2.4.2.0 on the C3. We made a small change to the configuration to select the pins for the serial port. Otherwise, the configuration is 100% vanilla.

We'd like to use the AT+SYSMFG commands. The documentation states that this should return a namespace:

AT+SYSMFG?
+SYSMFG:<"namespace">
OK

When we run this command, we see

AT+SYSMFG?
ERROR

As far as we can tell, none of the SYSMFG command variants work. Do we need to do something else first, before these commands will work. We expect that the NVS data is initialized because we have systore enabled:

AT+SYSSTORE?
+SYSSTORE:1
OK

and we have setup WiFi, so at a minimum there should be WiFi parameters in NVS.

What must we do to enable this command?

Cheers

banjoluck
Posts: 25
Joined: Fri Jul 29, 2022 5:11 pm

Re: Using AT+SYSMFG commands

Postby banjoluck » Wed Jul 19, 2023 10:54 pm

One other thing. We poll for partitions:

at+sysflash?
+SYSFLASH:"ble_data",64,1,0x1f000,0x6000
+SYSFLASH:"server_cert",64,2,0x25000,0x2000
+SYSFLASH:"server_key",64,3,0x27000,0x2000
+SYSFLASH:"server_ca",64,4,0x29000,0x2000
+SYSFLASH:"client_cert",64,5,0x2b000,0x2000
+SYSFLASH:"client_key",64,6,0x2d000,0x2000
+SYSFLASH:"client_ca",64,7,0x2f000,0x2000
+SYSFLASH:"factory_param",64,8,0x31000,0x1000
+SYSFLASH:"wpa2_cert",64,9,0x32000,0x2000
+SYSFLASH:"wpa2_key",64,10,0x34000,0x2000
+SYSFLASH:"wpa2_ca",64,11,0x36000,0x2000
+SYSFLASH:"mqtt_cert",64,12,0x38000,0x2000
+SYSFLASH:"mqtt_key",64,13,0x3a000,0x2000
+SYSFLASH:"mqtt_ca",64,14,0x3c000,0x2000
+SYSFLASH:"fatfs",1,129,0x47000,0x19000

We don't see the NVS partition. Is this the problem?

Cheers

banjoluck
Posts: 25
Joined: Fri Jul 29, 2022 5:11 pm

Re: Using AT+SYSMFG commands

Postby banjoluck » Wed Jul 26, 2023 5:38 pm

We notice that SYSMFG is not listed in the output of AT+CMD?. What do we need to do to enable this command?

esp-at
Posts: 177
Joined: Mon May 09, 2022 3:00 am

Re: Using AT+SYSMFG commands

Postby esp-at » Mon Jul 31, 2023 3:48 am

Hello @banjoluck,

Different firmwares have different documentations. You should refer to https://docs.espressif.com/projects/esp ... index.html for v2.4.0.0/v2.4.2.0 firmwares.

AT+SYSMFG command is added after v3.1.0.0 version, so you can use latest v3.2.0.0 firmware to have a try.
ESP32-C3 v3.2.0.0 firmware: https://docs.espressif.com/projects/esp ... aries.html
ESP32-C3 v3.2.0.0 document: https://docs.espressif.com/projects/esp ... index.html

Who is online

Users browsing this forum: No registered users and 51 guests