Forums - Flashing JTAG Product development kit

2 posts / 0 new
Last post
Flashing JTAG Product development kit
edouard.leclercq
Join Date: 7 Jan 21
Posts: 1
Posted: Mon, 2021-01-18 09:02

Hi, 

I'm trying to flash QCA4020 product develoment kit with demo code of "Power Demo" following doc : 80-YA121-140 on windows 10. 

I configure the path, change USB with ZADIG, added  jumpers, compile code, but I get this error when i try to flash by JTAG/USB

Do you have some idea why I have those errors? Could you please help me? 

Impossible de trouver C:\...\...\qca4020-or-3-3_qca_oem_sdk-cdb-r00001.1-5a525d4e9fba38698708c60273f02d1ba2c942d3\target\quartz\demo\QCLI_power_demo\build\gcc\firmware_table.bin
Impossible de trouver C:\...\...\Desktop\qca4020-or-3-3_qca_oem_sdk-cdb-r00001.1-5a525d4e9fba38698708c60273f02d1ba2c942d3\target\quartz\demo\QCLI_power_demo\build\gcc\generated_partition_table.xml
Impossible de trouver C:\...\...\Desktop\qca4020-or-3-3_qca_oem_sdk-cdb-r00001.1-5a525d4e9fba38698708c60273f02d1ba2c942d3\target\quartz\demo\QCLI_power_demo\build\gcc\generated_fwd_table.xml
Impossible de trouver C:\...\...\Desktop\qca4020-or-3-3_qca_oem_sdk-cdb-r00001.1-5a525d4e9fba38698708c60273f02d1ba2c942d3\target\quartz\demo\QCLI_power_demo\build\gcc\output\firmware_table.bin
Impossible de trouver C:\...\...\Desktop\qca4020-or-3-3_qca_oem_sdk-cdb-r00001.1-5a525d4e9fba38698708c60273f02d1ba2c942d3\target\quartz\demo\QCLI_power_demo\build\gcc\output\generated_partition_table.xml
Impossible de trouver C:\...\...\Desktop\qca4020-or-3-3_qca_oem_sdk-cdb-r00001.1-5a525d4e9fba38698708c60273f02d1ba2c942d3\target\quartz\demo\QCLI_power_demo\build\gcc\output\generated_fwd_table.xml
  File "..\..\..\..\..\build\tools\flash\gen_part_table.py", line 80
    print sys.argv[0], "usage:"
            ^
SyntaxError: Missing parentheses in call to 'print'
Abort flash.bat: gen_part_table.py failed
Open On-Chip Debugger 0.10.0 (2017-06-09) [https://github.com/sysprogs/openocd]
Licensed under GNU GPL v2
For bug reports, read
adapter speed: 5000 kHz
Error: libusb_open() failed with LIBUSB_ERROR_NOT_SUPPORTED
Info : clock speed 5000 kHz
Info : JTAG tap: QM4.cpu tap/device found: 0x4ba00477 (mfg: 0x23b (ARM Ltd.), part: 0xba00, ver: 0x4)
Info : JTAG tap: auto0.tap tap/device found: 0x300160e1 (mfg: 0x070 (Qualcomm), part: 0x0016, ver: 0x3)
Warn : AUTO auto0.tap - use "jtag newtap auto0 tap -irlen 11 -expected-id 0x300160e1"
Info : QM4.cpu: hardware has 6 breakpoints, 4 watchpoints
Info : JTAG tap: QM4.cpu tap/device found: 0x4ba00477 (mfg: 0x23b (ARM Ltd.), part: 0xba00, ver: 0x4)
Info : JTAG tap: auto0.tap tap/device found: 0x300160e1 (mfg: 0x070 (Qualcomm), part: 0x0016, ver: 0x3)
Warn : Only resetting the Cortex-M core, use a reset-init event handler to reset any peripherals or configure hardware srst support.
target halted due to debug-request, current mode: Thread 
xPSR: 0x01000000 pc: 0x000001c0 msp: 0x10000154
    TargetName         Type       Endian TapName            State       
--  ------------------ ---------- ------ ------------------ ------------
 0* QM4.cpu            cortex_m   little QM4.cpu            halted
 
 

 

  • Up0
  • Down0
mistry Moderator
Join Date: 18 Apr 18
Posts: 56
Posted: Thu, 2021-01-21 06:35

Hi,

File "..\..\..\..\..\build\tools\flash\gen_part_table.py", line 80
print sys.argv[0], "usage:" ^"

I have seen this error with the incorrect version of Python.
Are you adding python2.7 to the environment path?
Please check instruction here: https://developer.qualcomm.com/project/hello-world-w-qca4020-dev-kit

Does your PC have multiple versions of python installed? it might help to move the newer versions lower down the order while using the SDK.

Hope this helps,

Rajan.

  • Up0
  • Down0
or Register

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.