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
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
Hi,
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.