# EMW3165/3166 Firmware Download

This article applies to the all bin firmware burning of EMW3165/3166/3239.

  • The main control chip of EMW3165 uses STM32F411;
  • The main control chip of EMW3166/3239 uses STM32F412.

#1. Burn Tool

  1. JLink emulator(V8 or V9)
  2. An EMW3166 development board or user designed working circuit
  3. JLink driver (synchronous with built-in JFlash software)

#2. Burning Step

1. PC side installation: JLink driver, synchronization will install JFlash software on the PC side, as shown in the following figure: Open Windows Start ->All Programs, and you can find it.

2.Prepare a JLink emulator and connect it to the PC and module.

3. Open the JFlash software, open Option ->Project Settings, and set the parameters as follows:

The setting steps and each page are as follows:

(1) Firstly, select the MCU model corresponding to the module, as shown in the following figure: EMW3166/3239 selects STM32F412RG, and EMW3165 selects STM32F411RE.

(2) The Device page is the default setting and does not need to be changed:

(3) Select the SWD in target interfac page, and select 4000 kHz for speed.

(4)The Flash page is the default setting and does not need to be modified:

(5)The Production page is the default setting and does not need to be modified.

  1. In the JFlash software, select Target ->Connect to connect to the JLink emulator. If successful, the display will be as shown in the following figure.

  1. In the JFlash software, select: File ->Open date file, Open your all. bin path and select the firmware file.

6.Select: Target ->Auto to start burning firmware into the module.

  1. After the burning is completed, the prompt is successful.

8.At this point, you can disconnect the JLink emulator and restart the module.

#Update

Version

Update

Date

V1.0

Initial

2022.09.18.

End.

Last Updated: 11/29/2023, 1:52:34 PM