QCA4020

23
QCA4020 miniPCIe Copyright © 5GHUB.US
11 Flash the Application to the QCA4020 miniPCIe using JTAG
You can use JTAG interface on the QCA4020 miniPCIe to flash the image. A SEGGER J-link hardware is
used wit connect and interface to the JTAG.
On the QCA4020 miniPCIe, do the following
- Connect J1 (PIN1 and PIN2). This force JTAG mode
- Connect J3 (PIN1 and PIN2). This enable JTAG interface
On Windows environment variables, add the following environment variable:
- JLINK_PATH set it to J-link GDB server executable file (e.g., C:\Program Files
(x86)\SEGGER\JLink)
- CLIENT_PATH set it to ARM GNU tools (e.g., C:\Program Files (x86)\GNU Arm Embedded
Toolchain\10 2020-q4-major\bin)
Using Eclipse IDE, go to Run->External Tools->External Tools Configurations and add a new
configuration. Point to the flash.bat file in the SDK which is used to configure and launch GDB server.
Click Apply and then Run.
You will see the following screenshot and prompted to select device or core. Choose Cortex-M4. Click
OK.