# EMC3380系列模组固件烧录方法

#一、工作模式说明:

模块工作模式

PB1(BOOT)-Pin37

PB23(status)-Pin5

PA7(LOG-TX)-PIN19

Normal

1

不检测

1

ATE

0

1

不检测

QC

0

0

不检测

ImageTool-download

1

1

0

jlink-download

不检测

不检测

不检测

#二、夹具示图

说明,

  1. 红框中上边的拨码按键为status,下边的拨码按键为boot。拨码按键靠左为拉低,靠右为拉高。
  2. 通过一根USB线在电脑上虚拟两个串口,分别对应模块的用户串口和debug串口。

#三、烧录指导

#3.1 jlink烧录

#3.1.0 接线示意图

#3.1.1 软件及配置参考

参考以下链接

https://www.yuque.com/docs/share/b6b4dbb8-24a2-431c-b1d5-7099e57a1809?# (opens new window) 《常用工具及软件的环境配置》

#3.1.2 软件使用

jlink烧录工具配合mflash软件

#3.2 imagetool工具

#3.2.0 接线方式

#3.2.1 软件下载

📎MX131x烧录工具.zip

#3.2.2 触发方式

  1. debug-TX拉低上电
  2. 恢复debug-TX与TTL小板的连接

模块示意图

#3.2.3 烧录示意图

  • CHip选择 8721D

#四、QC模式

#4.0 接线示意图

#4.1 作用

通过比对打印信息,用来判断烧录的固件是否正确,以及射频工作是否正常。

#4.2 触发方式

Boot引脚和status引脚拉低,串口(用户串口,debug串口都可以)波特率115200

#4.3 打印示例

==== MXCHIP Manufacture Test ====
Serial Number: 0000.0000.A225
App CRC: 7DE7
Bootloader Verson: Bootloader
Library Version: v6.0-20-g3dd9912
APP Version: MXOS OS at_basic_2.2.5, build at 18:59:33 Feb 19 2020
Driver: mx3380-x
MAC: B0-F8-93-84-FF-4B
Local Bluetooth Address: B0-F8-93-00-A8-67
BLE scan complete
  ADDR: 7b:9c:fc:a2:f0:c3, RSSI: -100
  ADDR: 76:da:11:14:c5:47, RSSI: -104
Scan AP Success:
  SSID: mxchip-guest, RSSI: -66
  SSID: mxchip-office, RSSI: -67
  SSID: mxchip-office, RSSI: -74
  SSID: mxchip-guest, RSSI: -78
  SSID: Tenda_908020_5G, RSSI: -81
  SSID: mxchip-office, RSSI: -82
  SSID: mxchip-guest, RSSI: -82
  SSID: snowyang_5G, RSSI: -86
  SSID: test_zhy, RSSI: -92
  SSID: ABCDEFG, RSSI: -94
  SSID: Xiaomi_bat111, RSSI: -94
  SSID: mxchip-office, RSSI: -96
  SSID: , RSSI: -97
  SSID: mxchip-guest, RSSI: -98
  SSID: Tenda_908020, RSSI: -107
  SSID: , RSSI: -108
  SSID: mxchip-office, RSSI: -109
  SSID: mxchip-guest, RSSI: -109
  SSID: mxchip-guest, RSSI: -110
  SSID: mxchip-office, RSSI: -111
  SSID: , RSSI: -111

#五、ATE模式

模块生产测试使用,不做描述。

#文档变更记录

版本

更新内容

更新时间

V1.0

初版

2020/10/20

V1.1

完善工作模式说明

2021/2/25

V1.2

添加接线示意图

2021/12/13