# Firmware Download
AT firmware is a software instruction system developed by MXCHIP, which runs on Wi-Fi or Wi-Fi/BT wireless modules. Through this instruction, users can quickly add wireless communication functions to embedded devices, greatly shorten the development cycle, and achieve rapid listing.
When using the AT command system, you should first burn the AT firmware into the wireless module. For different models of modules, the corresponding firmware is different and the burning method is different.
#Modify AT default configuration
Firmware after version A248 supports setting default configurations through scripts.
Please unzip the compressed package above, enter the directory after decompression, enter command line mode, and run Python 3 at_ Config.py.
At present, this script can only modify the default configuration of uart. Please enter baudrate, format time, and format length in sequence.
- If you do not want to modify them, simply enter a space to proceed to the next setting item.
- If you need to make changes, enter the desired value and press Enter.
After inputting several projects, a kvro.bin file will be generated in this directory. Just burn this bin file to the corresponding module's kvro partition.
The addresses of the KVRO partitions for several modules are shown in the table below.
emw3080 | emc3080 | emc3280 | emc3380 | emc3290 |
0x14000 | 0xC000 | 0x17E000 | 0x17E000 | 0x17E000 |
#A276
Modification:
- Add command:AT+BMTU?
AT+BMTU
Function:query the MTU of BLE.
Query Command: | AT+BMTU? |
Response: | +BMTU:<MTU> |
Parameter: | MTU: the MTU value of BLE, which defaults to 185. When a BLE connection is established, it returns the MTU value negotiated with the remote end. The maximum data length that AT+BSEND can send cannot exceed the MTU value. |
emw3080 | emc3080 | emc3280 | emc3380 | emc3290 | emc3020 |
#A275
Modification::
- Add command:AT+FILELOADHEADER
- Fixed the issue where AT+HTTPHEADER was configured with a long header, which may cause memory overflow during HTTP access
- Fixed the underlying bug of BLE602 and resolved the issue of possible data errors in the HTTP download of EMC3020.
emw3080 | emc3080 | emc3280 | emc3380 | emc3290 | emc3020 |
#A274
Modification::
- Update mxos.
- The mx1310 series supports sending UDP multicast packets over IPv6.
- Modifying the TCP Server switch does not control the LED properly.
emw3080 | emc3080 | emc3280 | emc3380 | emc3290 | emc3020 |
#A273
Modification:
- Add the following commands:
- AT+TCPIPLED
- AT+WIFILED
- AT+CIPCFGSAVE
- If TCPIP is configured as TCP Server, when there is no client connection, add the return local port when obtaining the status through CIPSTAT3. The following "0.0.0.0,4000" is the added line, where 4000 is the port of this TCP Server.
- +CIPSTATUS:tcp_server,0
- 0.0.0.0,0,4000
emw3080 | emc3080 | emc3280 | emc3380 | emc3290 | emc3020 |
#A272
Modification:
- Support emc3020
- Add HTTP command used to post and get HTTP,get more here:https://mxchip.yuque.com/eta6h0/xy11tp/rn8xiv#Gm17L (opens new window).
- Add IP address configure query command:AT+WJAPIP=? and AT+WSAPIP=?.
emw3080 | emc3080 | emc3280 | emc3380 | emc3290 | emc3020 |
#A271
Modification:
1. Optimize the code and disable mdns in SoftAP mode to save memory, leaving approximately 6K more memory than before.
2. Not applying for tcpip memory without configuring tcpip can save approximately 4K of memory.
3. Fix mx1300 may crash when connected to certain routers
emw3080 | emc3080 | emc3280 | emc3380 | emc3290 |
#A270
Modification:
1. Add the command AT+HOSTNAME
Function:Set the name of the module displayed under the router, which defaults to mxchip. For example, if AT+HOSTNAME=microwave, the router will display 'no microwave' below. Note that this command must be set up before the WiFi connection is successful to take effect.
emw3080 | emc3080 | emc3280 | emc3380 | emc3290 |
#A269
Modification::
1. Fix the issue where the AT firmware of emc3080 may crash when connected to a WPA3 router.
emw3080 | emc3080 | emc3280 | emc3380 | emc3290 |
#A268
Modification:
Fixed the issue of crashing when using passive mode to download files using AT+FILELOADQ to exit the download.
emw3080 | emc3080 | emc3280 | emc3380 | emc3290 |
#A267
Modification:
- Add events for SMART network success and failure, respectively:+SMARTEVENT: SUCCESS and+SMARTEVENT: FAIL.
- After the BLE network is completed, whether successful or unsuccessful, the BLE connection will be closed. If you want to reconfigure the network, you need to issue a new network command to start it.
emw3080 | emc3080 | emc3280 | emc3380 | emc3290 |
#A266
Modification:
- Fix the issue of stack overflow when starting SoftAP through AT+WSAP.
- Fix the issue where starting MQTT with the start command after MQTT is disconnected may not be successful
- Fix the issue where MQTT may not immediately disconnect after being kicked by the server.
- Modify the broadcast packet content of BLE distribution network, remove the local name field of the broadcast packet, and have the scan response notify you of your name, which will be configured with the device name. The default ble device name is changed from MXCHIP to MX.
emw3080 | emc3080 | emc3280 | emc3380 | emc3290 |
#A265
Modification:
- Add the stack space of MQTT to avoid the possibility of stack overflow causing MQTT to be unable to connect.
emw3080 | emc3080 | emc3280 | emc3380 | emc3290 |
#A264
Modification:
- Optimize system memory: Reduce stack space for MX1300 system tasks, reduce stack space for AT tasks, optimize memory for load certificates, and reduce stack space for BLE.
- Release firmware closes CLI to save more memory.
emw3080 | emc3080 | emc3280 | emc3380 | emc3290 |
#A263
Modification:
- Optimize system memory to ensure that BLE and MQTT can work simultaneously.
- Modify MQTTCAVERSIFY=? The content of the reply should be ON or OFF after the colon, with the first representing CA verify and the second representing client CA verify. ON means to verify, and OFF means not to verify.
AT+MQTTCAVERIFY=?
+MQTTCAVERIFY: ON, OFF
emw3080 | emc3080 | emc3280 | emc3380 | emc3290 |
#A262
Modification:
- If the MQTT server is using an IP address, SNI is not used during TLS connections to avoid the problem of MQTT connection failure caused by checking SNI.
emw3080 | emc3080 | emc3280 | emc3380 | emc3290 |
#A261
Modification:
- Fix the issue of hardfault during AT+FILELOADR execution before FILEDLOAD.
- Fix the issue that If MQTT parameters are not saved, there may be some issues with incorrect states
- Add instruction AT+URLOTA=<URL of ota bin>to perform OTA on the module.
- Fix the issue that while fast WiFi on/off and socket on/off at the same time, crashes may be caused.
emw3080 | emc3080 | emc3280 | emc3380 | emc3290 |
#A260
Modification:
- Add udp_ multicast function. The usage method is similar to broadcast, except that the type of CIPSTART is udp_ multicast, and the remote domain needs to be set to the IPv4 multicast IP address,such as: AT+CIPSTART=1, udp_ Multicast, 224.0.0.2511511815118.
emw3080 | emc3080 | emc3280 | emc3380 | emc3290 |
#A259
Modification:
- Correct the problem that unable to send IPv6 multicast address during udp_broadcast.
- Simultaneously output the release version of the firmware, and the compressed file containing the release file name is the release version, with the logs removed.
emw3080 | emc3080 | emc3280 | emc3380 | emc3290 |
#A258
Modification:
- Fix the issue where the module may restart when the MQTT connection is disconnected by the server.
- Add that BLE network distribution mode can set partial content of broadcast packets.
emw3080 | emc3080 | emc3280 | emc3380 | emc3290 |
#A256
- MQTT supports wildcards.
- Fix the bug where NTP does not work in emc3080 module.
emw3080 | emc3080 | emc3280 | emc3380 | emc3290 |
#A255
The AT+WJAPIP instruction can obtain IPv4 and IPv6 addresses.
emw3080 | emc3080 | emc3280 | emc3380 | emc3290 |
#A254
- Fix the issue of TCP Server not supporting IPv6.
- The maximum waiting time for AT+WSCAN has been increased to 10 seconds.
emw3080 | emc3080 | emc3280 | emc3380 | emc3290 |
#A252
Fix the problem that WiFi cannot be connected after BLE distribution network.
emw3080 | emc3080 | emc3280 | emc3380 | emc3290 |
#A251
The Combo module supports Master mode.
For the usage of Master, please refer to the example of BLE usage
emw3080 | emc3080 | emc3280 | emc3380 | emc3290 |
#A250
AT+IPSTART command, for udp_ Broadcast type, with the default destination address using the remote domain parameter.
Tips: If remote domain is an illegal IP address, use IPv4's 255.255.255.255 as the default destination address.
emw3080 | emc3080 | emc3280 | emc3380 | emc3290 |
#A249
Supports TCPIP configuration for IPv6 connections.
emw3080 | emc3080 | emc3280 | emc3380 | emc3290 |
#A248
Support modifying the default configuration of AT through scripts, and currently implement configuration modification of uart through scripts.
#A247
Fix the problem where MQTT connections with certificates are configured and reconnection is prone to failure due to disconnection
emw3080 | emc3080 | emc3280 | emc3380 | emc3290 |
#A246
- Update MXOS
- Fix the problem where Softap in MX1300 failed to send UDP broadcasts.
emw3080 |
#A245
Update log:Fix the problem that mx1310 will fail to send udp broadcast data in Softap mode.
emw3080 | emc3080 | emc3280 | emc3380 | emc3290 |
#A244
Update log:
- Fix the problem that the last part of the file cannot be downloaded in passive mode when downloading files via HTTP.
- Optimize the success rate of WiFi station mode networking.
emw3080 | emc3080 | emc3280 | emc3380 | emc3290 |
#A240
Update log:Fix the problem that SSL certificates may cause load errors.
emw3080 | emc3080 | emc3280 | emc3380 | emc3290 |
#A239
Update log:Fix the problem that returned by the AT+SSLCERTGET command.
emw3080 | emc3080 | emc3280 | emc3380 | emc3290 |
#A238
Update Log: Optimize the response speed of TCP clients calling CIPSTOP when reconnecting.
emw3080 | emc3080 | emc3280 | emc3380 | emc3290 |
#A237
Update Log:
1.Fix the problem that the MQTT command, which may cause the system to crash.
2.Solve the problem that MQTT continuously uses the CPU for invalid retries when wifi is unavailable.
emw3080 | emc3080 | emc3280 | emc3380 | emc3290 |
#A236
Update Log: Fix the problem that the IP address of softap/station is not saved.
emw3080 | emc3080 | emc3280 | emc3380 | emc3290 |
#A235
Update Log:
Add 2 AT commands: 1)AT+WJAPIPAUTO; 2)AT+WJAPRSI.
The description is as follows:
#AT+WJAPIPAUTO
Parameter: ON/OFF.
Function: Configured to link the router with a static IP address.
Description: If the station is configured to link the router with a static IP address, the AT firmware will automatically use the last three bytes of the MAC address as the last three bits of the IP address. The first bit is the configured static IP address.
#AT+WJAPRSI
Parameter: number.
Function: Set reconnection times.
Description: When the station link is broken, the previously linked AP will be retried for number of times before a wifi scan is performed to obtain a new AP, which can be appropriately reduced by three seconds.
emw3080 | emc3080 | emc3280 | emc3380 | emc3290 |
#A233_ComboA229
Update Log: Solve the problem that frequent TCP server switching may fail
emw3080 | emc3080 | emc3280 | emc3380 | emc3290 |
#A232_ComboA228
Update Log: Solve the problem that MQTT short lines do not reconnect after 20 seconds.
emw3080 | emc3080 | emc3280 | emc3380 |
#A231_ComboA227
Update Log:
Optimize the stability under the coexistence mode of Station+SoftAP , and the SoftAP can be switched on and off repeatedly.
emw3080 | emc3080 | emc3280 | emc3380 |
comboA227_emc3080.zip |
#A230_ComboA226
Update Log:
1. When the udp broadcast type sends data, the destination IP address is always the broadcast IP address.
2. Add AT instructions related to http download.
emw3080 | emc3080 | emc3280 | emc3380 |
#A229_ComboA224
Update Log:
1. Fix the bug that the program crash when inputting unrecognized instructions
2. Fix that the AT+WJAPQ instruction does not generate a station_ down event
emw3080 | emc3080 | emc3280 | emc3380 |
History AT Firmware Download:
Model | Version | Download | Series Rate (bps) |
EMW3070/3072/3076 | v2.2.1 | 115200 | |
EMW3060 | v2.1.3 | 115200 | |
EMW3080 | v2.1.4 | 115200 | |
EMW3166 | v2.1.2 | 115200 | |
EMW3239 | v2.1.2 | 115200 | |
EMW3165 | v2.1.2 | 115200 | |
EMW3031 | v2.1.2 | 115200 |
Tips:
- For firmware burning methods, please refer to the txt documentation in the download package.
- AT instructions communicate with the MCU through the user serial port.