1,482
社区成员




Hi,
按照高通文档操作安装好了工具链,也设置了环境变量,但是烧录的时候出现如下问题,应该如何解决?
PS E:\filesForWork\QCC730\qcc730-or-1-0_qca_oem_sdk\target\tools\nvm_programmer> python nvm_programmer.py -s ch347 --nvm-name rram -b 0x208000 -f ..\..\scripts\storage\firmware_desc_table\curr_age_fdt\frn_curr_age_with_app_bin.bin
Python 3.11.5 (tags/v3.11.5:cce6ba9, Aug 24 2023, 14:38:34) [MSC v.1936 64 bit (AMD64)]
********************************************************************************
********************************************************************************
Starting GDB Server...
Using OpenOCD GDB server
C:\Program Files\OpenOCD_CH347\bin\openocd.exe -c gdb_port 3333 -f ./qcc730_openocd_ch347.cfg
Open On-Chip Debugger 0.12.0+dev (2023-07-24-11:41)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
force hard breakpoints
********************************************************************************
Starting GDB Client...
GDB tool port: 127.0.0.1:19383
GDB client port: 127.0.0.1:54076
********************************************************************************
Initializing GDB...
Traceback (most recent call last):
File "E:\filesForWork\QCC730\qcc730-or-1-0_qca_oem_sdk\target\tools\nvm_programmer\nvm_programmer.py", line 839, in <module>
main()
File "E:\filesForWork\QCC730\qcc730-or-1-0_qca_oem_sdk\target\tools\nvm_programmer\nvm_programmer.py", line 832, in main
tool.run()
File "E:\filesForWork\QCC730\qcc730-or-1-0_qca_oem_sdk\target\tools\nvm_programmer\nvm_programmer.py", line 462, in run
self.setup()
File "E:\filesForWork\QCC730\qcc730-or-1-0_qca_oem_sdk\target\tools\nvm_programmer\gdb_framework\gdb_framework.py", line 89, in setup
self.init_gdb()
File "E:\filesForWork\QCC730\qcc730-or-1-0_qca_oem_sdk\target\tools\nvm_programmer\gdb_framework\gdb_framework.py", line 101, in init_gdb
self.gdb_execute('target extended-remote localhost:{0}'.format(self.config['server_port']))
File "E:\filesForWork\QCC730\qcc730-or-1-0_qca_oem_sdk\target\tools\nvm_programmer\gdb_framework\gdb_framework.py", line 161, in gdb_execute
self.execute('gdb.execute("{}")'.format(command), *args, **kwargs)
File "E:\filesForWork\QCC730\qcc730-or-1-0_qca_oem_sdk\target\tools\nvm_programmer\gdb_framework\gdb_framework.py", line 133, in execute
self.client.execute(*args, **kwargs)
File "E:\filesForWork\QCC730\qcc730-or-1-0_qca_oem_sdk\target\tools\nvm_programmer\gdb_framework\gdb_client.py", line 253, in execute
response = self.send_command(GDB_Client.COMMAND_EXEC, command, timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\filesForWork\QCC730\qcc730-or-1-0_qca_oem_sdk\target\tools\nvm_programmer\gdb_framework\gdb_client.py", line 222, in send_command
response, address = self.udp_socket.recvfrom(GDB_Client.MAX_PACKET_SIZE)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TimeoutError: timed out