QCA4020

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.