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
 
21 
QCA4020 miniPCIe    Copyright © 5GHUB.US 
10 Flash the Application to the QCA4020 miniPCIe using USB 
You can flash an application to the QCA4020 miniPCIe over the USB port. To do so, follow the following 
steps: 
1-  Connect a jumper on J3 to short-circuit it. This puts the QCA4020 in EDL (Emergency Download 
Mode) which allows to download an image to the QCA4020 flash. 
2-  Connect a Micro USB cable between USB port on the USB adaptor (HAT) and a USB port on a 
Windows PC.  
Open the device manager and you shall see Qualcomm DLoader is enumerated on a serial port (i.e., 
COM40 in this case). 
3-  Use the python-based tool called qflash.py (which is included in the QCA4020 SDK). The tool 
allows flashing images over USB. The tool is available at the following folder: 
target\build\tools\flash 
If the tool is invoked without any optional parameters, it does he following:  
a)  Generate a default firmware descriptor table. 
b)  Generate a default partition table.  
c)  Flash the default sample application *.elf files to the qca4020 flash.  










