Data Sheet

EMW3076 Series Wireless Module Data Manual
Copyright of Shanghai MXCHIP Information Technology Co., Ltd.
2
Work Mode Selection
After reset, the module will enter different working states, some of which are realized by code in hardware
or ROM, which is called hardware working mode; some are realized by firmware programmed in the
module, which is called firmware working mode. The hardware working mode cannot be modified, and
the firmware working mode can achieve different functions depending on the firmware being
programmed. The firmware provided by MXCHIP usually defines some working modes to facilitate
production and testing. After the module is started, first perform hardware initialization, select the
hardware working mode, and then boot the firmware to select the firmware working mode.
Figure 3 Module Startup Process
Hardware Working Mode Selection
The hardware working modes are as follows:
Flash Boot Mode: Boots the code stored on the Flash.
UART Boot Mode: After downloading the code from UART1 (P2, P3) to SRAM, boot the code saved
in SRAM.
Flash Program Mode: The working mode of programming the Flash inside the chip directly. Not
recommended, this article does not introduce.
Table 4 Hardware Working Mode Selection
Hardware working mode
P10SEL3
P15SEL2
P14SEL1
P16SEL
Flash Boot Mode
0
0
0
0
UART Boot Mode
0
0
1
0
Flash Program Mode
1
0
0
1
Note: If P10, P14, P15, P16 are at a level other than the above list, the chip will enter other unknown
modes of operation. The pin does not have external interference and is driven low by default.
Firmware Working Mode Selection
The firmware working mode is determined by the firmware being burned. The working mode described
below is a commonly used function in the firmware provided by MXCHIP and is for reference only. Before
the final production, if these functions are useful, a verification test is required. The firmware works in
the following modes:
Normal: The application runs normally.
Bootloader: Runs and remains in the bootloader. The bootloader can be used to update the
application, as described in Section 6.2.