background image

 

26 

 

140-00217-100 

Appendix B

: What’s different from 

Qualcomm CDB20/M20? 

Jumper Header 

Category 

Description 

CDB20 

SX-ULPGN-BTZ EVK 

Ref 

Default Position 

Ref 

Default Position 

Power 

J6 USB Power Source 
(Option 1) 

J57 

Connect pins 2 and 3 for J6 Power 

n/a 

n/a 

J85 USB Power Source 
(Option 2) 

J57 

J36 

Connect pins 1 and 2 for J85 Power 

Connect pins 1 and 2 for J85 Power 

n/a 

n/a 

LED_PWR 

J20 

Connect pins 1 and 2 for power up LED 

J110 

Connect pis 1 and 2 for power up LED 

Vbatt Selection 

J22 

Connect pins 1 and 2 for fixed +3.3V 

n/a 

n/a 

Reset Switch 

S7 

OFF 

n/a 

n/a 

Power Supply Voltage 

n/a 

n/a 

J111 

Connect pins 1 and 2 for 3.3V Power Supply 

J116 

Connect pins 1 and 2 for 3.3V Power Supply 

J118 

Connect pins 2 and 3 for 3.3V Power Supply 

J119 

Connect pins 2 and 3 for 3.3V Power Supply 

J120 

Connect pins 2 and 3 for 3.3V Power Supply 

EDL 

Download Mode 

J34 

For autoboot mode, remove jumper 

For EDL mode, connect pins 1 and 2 

J106 

For autoboot mode, remove jumper 

For EDL mode, connect pins 1 and 2 

LED 

LED source 

J16 

Connect pins 1 and 2 for the WLAN white LED 

J16 

Connect pins 1 and 2 for the WLAN white LED 

Connect pins 3 and 4 for the 802.15.4 red LED 

Connect pins 3 and 4 for the 802.15.4 red LED 

Connect pins 5 and 6 for the Bluetooth blue LED 

Connect pins 5 and 6 for the Bluetooth blue LED 

Connect pins 7 and 8 for the red Tri LED 

Connect pins 7 and 8 for the red Tri LED 

Connect pins 9 and 10 for the blue Tri LED 

Connect pins 9 and 10 for the blue Tri LED 

Connect pins 10 and 12 for the green Tri LED 

Connect pins 10 and 12 for the green Tri LED 

Sensor 

Humidity & Temperature 

J17 

Connect pins 1 and 2 for Humidity & Temperature 

J115 

Connect pins 1 and 2 for Humidity & Temperature 

Serial 

Debug UART (GPIO 9:8) 

J18 

Connect pins 2 and 3 for Debug UART 

J108 

Connect pins 2 and 3 for Debug UART 

J19 

Connect pins 2 and 3 for Debug UART 

J109 

Connect pins 2 and 3 for Debug UART 

J91 

Connect pins 1 and 2 for Debug UART 

J91 

Connect pins 1 and 2 for Debug UART 

J92 

Connect pins 1 and 2 for Debug UART 

J92 

Connect pins 1 and 2 for Debug UART 

JTAG 

4-pin JTAG (GPIO 27:24) 

J30 

Connect pins 1 and 2 for JTAG 

J113 

Connect pins 1 and 2 for JTAG 

J31 

For autoboot mode, remove jumper 

For JTAG debug/flashing, connect pins 1 and 2 

J102 

J106 

For autoboot mode, remove jumper 

For JTAG debug/flashing, connect J102 pin 2 and 
J106 pin 1 

J32 

Connect pins 1 and 2 for JTAG 

J112 

Connect pins 1 and 2 for JTAG 

J37 

Connect pins 2 and 3 for JTAG 

J37 

Connect pins 2 and 3 for JTAG 

J38 

J39 

Connect J38 pins 2 and J39 pins 3 for JTAG 

Connect J38 pins 3 and J38 pins 2 for JTAG 

J38 

J39 

Connect J38 pins 2 and J39 pins 3 for JTAG 

Connect J38 pins 3 and J38 pins 2 for JTAG 

Содержание SX-ULPGN-BTZ

Страница 1: ...APPLICATION NOTE SX ULPGN BTZ Development Quick Start Guide Silex Technology America 201 East Sandpointe Suite 245 Santa Ana CA 92707 Revision 1 5 February 2020...

Страница 2: ...dix B EVB_V01 update 1 2 Apr 23 2019 T Nakase Section 6 Jumper setting update correction 1 3 Aug 23 2019 T Nakase Section 4 2 OpenOCD availability note Section 5 BDF update Section 6 2 minor wording c...

Страница 3: ...e for C C Developer 6 4 6 QCA4020 SDK 6 5 Software Configuration 7 5 1 WiFi Board Data File 7 5 2 Bluetooth LE and IEEE 802 15 4 NVM Configuration File 7 5 3 GNU MCU Eclipse Plug in 8 5 4 Create Exter...

Страница 4: ...Build Demo Project 19 8 Flash Firmware 20 9 Run Firmware 20 10 Debug Firmware 21 Appendix A Emergency Loader EDL 25 Appendix B What s different from Qualcomm CDB20 M20 26 Jumper Header 26 Debug Header...

Страница 5: ...2 1 GNU Arm Embedded Toolchain 6 2016 q4 major https developer arm com open source gnu toolchain gnu rm downloads 2 2 2 OpenOCD 20170609 http gnutoolchains com arm eabi openocd 2 2 3 Python 2 7 15 ht...

Страница 6: ...oad gcc arm none eabi 6_2 2016q4 20161216 win32 exe from the download link Section 2 2 1 above 2 Run installer with default settings 3 Add following path to PATH user variables1 C Program Files x86 GN...

Страница 7: ...n32 x86_64 zip from the download link Section 2 2 5 above 2 Extract it to C Program Files eclipse 4 6 QCA4020 SDK 1 Download QCA4020 OR 3 0 QCA OEM SDK CDB from the download link Section 2 2 6 above 2...

Страница 8: ...riginal BDF wlan_fw_img bin as wlan_fw_img cdb bin 3 Overwrite original BDF with updated BDF 5 2 Bluetooth LE and IEEE 802 15 4 NVM Configuration File 1 Copy updated NVM file QCA4020_2p0_WCBN3516A_201...

Страница 9: ...elp Install New Software 2 In Install dialog set Work with to http gnu mcu eclipse netlify com v4 neon updates 3 Click Add 4 In Add Repository dialog set Name to GNU MCU Eclipse plug ins 5 Click OK 6...

Страница 10: ...ction of dialog If you see Security Warning dialog during the installation click Install Anyway 8 Restart Eclipse 9 From top menu click Window Preference 10 At left pane of Preference dialog select MC...

Страница 11: ...nfiguration for Firmware Flashing 1 From Eclipse IDE top menu click Run External Tools External Tools Configuration 2 Right click on Program of External Tools Configurations dialog and click on New 3...

Страница 12: ...ject_loc build gcc 6 Click Apply 7 Click Close 6 Hardware Setup 6 1 Jumper 6 1 1 3 3V Power Supply Connect following pins to enable 3 3V Power Supply J111 Pin 1 2 J116 Pin 1 2 J120 Pin 2 3 J118 Pin 2...

Страница 13: ...J92 Pin 1 2 J108 Pin 2 3 J109 Pin 2 3 6 1 3 JTAG Connect following pins to enable JTAG J37 Pin 2 3 J38 Pin 2 J39 Pin 3 J39 Pin 2 J38 Pin 3 J40 Pin 2 3 J102 Pin 2 J106 Pin 1 J112 Pin 1 2 J113 Pin 1 2 N...

Страница 14: ...k Section 2 2 7 above 2 Connect USB1 and USB2 of EVK board to Host PC with USB cables and Gender Changer 3 Start zadig 2 4 exe 4 From top menu enable Options List All Devices and look for Dual RS232 H...

Страница 15: ...ow Import Projects from File System or Archive dialog window 4 Set import source to SDK_source target quartz demo QCLI_demo 5 Confirm QCLI_demo is selected and click Finish2 2 You will see two errors...

Страница 16: ...disable Deep Sleep mode as follows 1 Open target quartz demo QCLI_demo src export DevCfg_master_devcfg_out_cdb xml with editor 2 Set 0 zero to the field shown below 7 3 Update Project Property 1 From...

Страница 17: ...100 3 Set Build command to build bat 4 Click on Behavior tab 5 Set Build incremental build to t 4020 cdb 6 Set Clean to clobber3 3 Batch file clean operation of this SDK release doesn t work due to Wi...

Страница 18: ...Right click on GDB OpenOCD Debugging of Debug Configurations dialog and click on New 3 At the right pane set Name to QCLI_demo_Debug 4 Select Main tab 5 Set Project to QCLI_demo 6 Set C C Application...

Страница 19: ...Files x86 openocd bin openocd exe 10 Set Config options in OpenOCD Setup to f project_loc build gcc qca402x_openocd cfg 11 Set Executable name in GDB Client Setup to C Program Files x86 GNU Tools ARM...

Страница 20: ...14 Set text filed in Run Restart Commands to source v2 quartzcdb gdbinit 15 Set Set breakpoint at to app_init 16 Click Apply 17 Click Close 7 5 Build Demo Project 1 Start build process from top menu...

Страница 21: ...ssfully message on Console 9 Run Firmware 1 Confirm 3 3V Power Supply and Debug UART is enabled See Section 6 above 2 Unplug USB cable from USB1 port of EVK board if you connected EVK board 3 Remove j...

Страница 22: ...ower Supply and JTAG is enabled See Section 6 above 2 Connect USB1 and USB2 port of EVK board to Host PC with USB cables if you didn t connect EVK board 3 From Eclipse IDE top menu click Run Debug Con...

Страница 23: ...22 140 00217 100 5 Click Debug 6 If you see C Local Application dialog select Quartz elf and click OK 7 If you see Windows Security Alert dialog click Allow access...

Страница 24: ...t Confirm Perspective Switch dialog before switching perspective to Debug Click Yes 9 Execution will stop at default breakpoint at _main and sbl1_main_ctl You can safely ignore error that the source c...

Страница 25: ...clicking Run Resume to resume execution until it reach to app_init Note You can ignore following error messages appeared on Console Error Failed to read memory at 0xfffff000 Error address size wrappe...

Страница 26: ...G 3 Connect J106 Pin 1 2 for EDL Emergency Loader mode 4 Connect USB1 of EVK board with USB cable to Host PC 5 Confirm COM port with Device Manager Look for Qualcomm HS USB QDLoader 9008 under Ports C...

Страница 27: ...he Bluetooth blue LED Connect pins 5 and 6 for the Bluetooth blue LED Connect pins 7 and 8 for the red Tri LED Connect pins 7 and 8 for the red Tri LED Connect pins 9 and 10 for the blue Tri LED Conne...

Страница 28: ...Header Qualcomm CDB20 has Arduino compatible header External PA Qualcomm M20 QCA4020 module has external PA to the RF path of Bluetooth LE ZigBee Thread 802 15 4 Measured gain is 10 15 dBm over SX ULP...

Отзывы: