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
 
3 
QCA4020 miniPCIe    Copyright © 5GHUB.US 
Table of Contents 
Purpose of the Document .......................................................................................................................... 2 
Document History ...................................................................................................................................... 2 
1  Introduction ................................................................................................................................... 4 
2  QCA4020 miniPCIe Layout ............................................................................................................. 5 
3  QCA4020 miniPCIe Pin Out ............................................................................................................ 6 
4  How to flash Image to QCA4020 miniPCIe ..................................................................................... 9 
4.1  Method 1: Through Emergency Download Mode (EDL) ................................................................ 9 
4.2  Method 2: Through JTAG ............................................................................................................... 9 
5  QCA4020 Pin Out ......................................................................................................................... 10 
6  Software Tools to be Installed ..................................................................................................... 12 
7  Setting Up the Software Development Environment .................................................................. 12 
7.1  Python .......................................................................................................................................... 12 
7.2  Java ............................................................................................................................................... 12 
7.3  OpenOCD...................................................................................................................................... 12 
7.4  GNU ARM Toolchain .................................................................................................................... 13 
7.5  Setup OpenOCD Plugin Usage with Eclipse .................................................................................. 13 
8  Importing “Hello World” Application ........................................................................................... 15 
9  Building “Hello World” Application .............................................................................................. 18 
10  Flash the Application to the QCA4020 miniPCIe using USB ......................................................... 21 
11  Flash the Application to the QCA4020 miniPCIe using JTAG ....................................................... 23 
12  Connecting QCA4020 to Serial Terminal Through UART ............................................................. 26 
13  Using Serial Terminal ................................................................................................................... 27 
14  QCLI Demo Application ................................................................................................................ 30 










