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
9
QCA4020 miniPCIe Copyright © 5GHUB.US
4 How to flash Image to QCA4020 miniPCIe
Flashing the image o the QCA4020 miniPCIe can be done using either of the following two methods:
4.1 Method 1: Through Emergency Download Mode (EDL)
In this step up, user can do the following:
1- Connect J3 (PIN 1 and PIN 2). This is the GPIO22_BE used for EDL.
2- Connect the USB cable between the PC and the USB port of M20.
4.2 Method 2: Through JTAG
In this step up, user can do the following:
1- Connect J1 (PIN 1 and PIN 2). This is the GPIO20_BE which used to force JTAG mode
2- Connect JTAG cable to the JTAG 10-PIN header which includes the signals TCK, TDI, TDO, TMS
Follow normal procedure to flash the *.elf file over the JTAG interface.
QCA4020 JTAG pins used as in the following Table:
Table 2: JTAG Interface.
QCA4020 PIN#
JTAG Signal
GPIO_50
JTAG3_BE_TCK
GPIO_51
JTAG3_BE_TDO
GPIO_52
JTAG3_BE_TMS
GPIO_53
JTAG3_BE_TDI
J2 on the QCA4020 is used to configure JTAG. Connecting J2 (PIN 1 and PIN2), force the following JTAG
configuration:
Table 3: J2 Setting for JTAG Interface.
Boot_Configure_B
E_0GPIO_9_BE
Boot_Configure_B
E_1GPIO_25_BE
Boot_Configure_BE
_2GPIO_18_BE
JTAG Interface
for M4
0
0
1
JTAG in
GPIO[53:50]