QCA4020
Table Of Contents
- Purpose of the Document
- Document History
- 1 Introduction
- 2 QCA4020 miniPCIe Layout
- 3 QCA4020 miniPCIe Pin Out
- 4 How to flash Image to QCA4020 miniPCIe
- 5 QCA4020 Pin Out
- 6 Software Tools to be Installed
- 7 Setting Up the Software Development Environment
- 8 Importing “Hello World” Application
- 9 Building “Hello World” Application
- 10 Flash the Application to the QCA4020 miniPCIe using USB
- 11 Flash the Application to the QCA4020 miniPCIe using JTAG
- 12 Connecting QCA4020 to Serial Terminal Through UART
- 13 Using Serial Terminal
- 14 QCLI Demo Application
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.