# EMW3290系列模组固件烧录方法
#模块简介
- EMW3290模组是MOC108和blueNRG双芯片双天线的combo模组,两个芯片之间通过串口通讯,预留烧录引脚和wifi模块的用户串口;
- 蓝牙芯片用STlink进行调试和烧录,wifi芯片通过MOC108烧录盒子进行烧录;
#蓝牙芯片读取和烧录介绍
#STlink安装
官网下载链接:https://www.st.com/zh/development-tools/stsw-link004.html (opens new window)
安装之后运行如下:
模块的PIN 17 18 19 20引脚分别为ST-CLK ST-DIO VCC,GND引脚,与ST-link工具的对应引脚链接之后重新上电,即可在上位机软件中读取到芯片flash的内容。
此时可保存为二进制文件,方便定位问题。
另外可通过Target中的不同选项对芯片进行烧录,擦除等操作。
#wifi芯片读取和烧录介绍
参考MOC108的介绍,无需多言。
#模块QC功能介绍
#触发方式
同时拉低BOOT和STATUS引脚
#打印示例
==== MXCHIP Manufacture Test ==== Serial Number: 0000.0000.0003 App CRC: 9162 Bootloader Version: 1.1.0 Library Version: moc108.002 APP Version: MiCO BLE Hello Peripheral Demo MICO_BLE_PERIPHERAL_DEMO_1_0, build at 13:35:21 Apr 3 2018 Driver: moc108_wlan MAC: D0-BA-E4-E0-04-2C Scan AP Success: SSID: , RSSI: -43 SSID: mxchip-office, RSSI: -44 SSID: mxchip-guest, RSSI: -45 SSID: IoT-2.4G, RSSI: -50 SSID: AosIOT_JS, RSSI: -53 SSID: , RSSI: -54 SSID: mxchip-guest, RSSI: -55 SSID: lora_test, RSSI: -55 SSID: CMHI-Kktt, RSSI: -55 SSID: mxchip-office, RSSI: -55 SSID: Comfort_test, RSSI: -56 SSID: ChinaNet-VY3W, RSSI: -57 SSID: AP073, RSSI: -57 SSID: snowyang, RSSI: -61 SSID: mxchip-office, RSSI: -61 SSID: , RSSI: -61 SSID: mxchip-vpn3_2.4GHz, RSSI: -62 SSID: mxchip-guest, RSSI: -62 SSID: mxchip-office, RSSI: -62 SSID: , RSSI: -64 SSID: mxchip-guest, RSSI: -64 SSID: AP077, RSSI: -64 SSID: mxchip-guest, RSSI: -67 SSID: , RSSI: -67 SSID: yhb2, RSSI: -74 SSID: mxchip-office, RSSI: -74 SSID: yhb4, RSSI: -75 SSID: AP076, RSSI: -75 SSID: , RSSI: -75 SSID: mxchip-office, RSSI: -75 SSID: mxchip-office, RSSI: -78 SSID: , RSSI: -82 Local Bluetooth Address: D0-BA-E4-E0-04-2D BLE Scan Success: ADDR:F0-18-98-8F-FD-AC , RSSI:-74 ADDR:7B-7D-73-E4-F9-EB , RSSI:-82 ADDR:58-06-D3-93-FA-FB , RSSI:-74 ADDR:F9-21-31-7C-68-F5 , RSSI:-85 ADDR:71-A5-ED-63-BC-99 , RSSI:-77 ADDR:6D-53-72-F5-37-26 , RSSI:-87 ADDR:3C-22-FB-84-17-C4 , RSSI:-81
如果蓝牙固件烧录异常,比如固件不完整,则会导致QC打印异常。
==== MXCHIP Manufacture Test ==== Serial Number: 0000.0000.0003 App CRC: 9162 Bootloader Version: 1.1.0 Library Version: moc108.002 APP Version: MiCO BLE Hello Peripheral Demo MICO_BLE_PERIPHERAL_DEMO_1_0, build at 13:35:21 Apr 3 2018 Driver: moc108_wlan MAC: D0-BA-E4-E0-04-2C Scan AP Success: SSID: AosIOT_JS, RSSI: -39 SSID: WZH, RSSI: -46 SSID: AP073, RSSI: -51 SSID: IoT-2.4G, RSSI: -52 SSID: CMHI-Kktt, RSSI: -54 SSID: mxchip-guest, RSSI: -54 SSID: mxchip-office, RSSI: -55 SSID: , RSSI: -55 SSID: lora_test, RSSI: -56 SSID: mxchip-office, RSSI: -56 SSID: mxchip-guest, RSSI: -56 SSID: ChinaNet-VY3W, RSSI: -56 SSID: , RSSI: -57 SSID: mxchip-guest, RSSI: -57 SSID: , RSSI: -58 SSID: mxchip-office, RSSI: -58 SSID: mxchip-vpn3_2.4GHz, RSSI: -60 SSID: snowyang, RSSI: -61 SSID: AP077, RSSI: -61 SSID: MXCHIP-EDU, RSSI: -61 SSID: AP-079, RSSI: -62 SSID: BAT_xps, RSSI: -64 SSID: Comfort_test, RSSI: -64 SSID: yhb4, RSSI: -67 SSID: mxchip-office, RSSI: -68 SSID: mxchip-vpn1, RSSI: -68 SSID: yhb3, RSSI: -70 SSID: , RSSI: -71 SSID: mxchip-guest, RSSI: -71 SSID: yhb2, RSSI: -73 SSID: ap052, RSSI: -75 SSID: mxchip-office, RSSI: -76 Setting BD_ADDR failed! BLE Scan failed!
#文档变更记录
版本 | 变更内容 | 变更时间 |
V1.0 | 初版 | 2023.01.11. |
End.