This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
工具/软件:
您好、
运行 uart_uniflash.py python 脚本时、对外部闪存进行编程时遇到问题:
c:\ti\cc33xx_mcu_package_R5\tools\secured_programing>py uart_uniflash.py -p COM6 --cfg=only_wifi_fw.cfg [ERROR] Dependant modules not installed, use below pip command to install them. MAKE sure proxy for pip is setup if needed. python -m pip install pyserial tqdm xmodem --proxy={http://your proxy server:port or leave blank if no proxy} c:\ti\cc33xx_mcu_package_R5\tools\secured_programing>
已安装 PIP ist:
c:\ti\cc33xx_mcu_package_R5\tools\secured_programing>py -m pip --version pip 25.0.1 from C:\Users\a0406234\AppData\Local\Programs\Python\Python313\Lib\site-packages\pip (python 3.13) c:\ti\cc33xx_mcu_package_R5\tools\secured_programing>
重新安装失败:
c:\ti\cc33xx_mcu_package_R5\tools\secured_programing>py -m pip install pyserial tqdm xmodem WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x000004D45057E110>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed')': /simple/pyserial/ WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x000004D4527B76D0>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed')': /simple/pyserial/ WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x000004D4527B7F90>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed')': /simple/pyserial/ WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x000004D4527B71D0>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed')': /simple/pyserial/ WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x000004D4527B7A90>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed')': /simple/pyserial/ ERROR: Could not find a version that satisfies the requirement pyserial (from versions: none) ERROR: No matching distribution found for pyserial
此致、Holger
您好、Hogler:
您所面临的问题似乎与您的防火墙限制 PIP 访问互联网有关。 提示:如果有防火墙、可能需要使用代理。
谢谢、
Shreyansh
尊敬的 Shreyansh:
好的、这是一个很好的提示。 但现在我坚持下一步:
c:\ti\cc33xx_mcu_package_R5\tools\secured_programing>py uart_uniflash.py -p COM7 --cfg=only_wifi_fw.cfg Parsing config file ... Parsing config file ... SUCCESS. Found 6 command(s) !!! Executing command 1 of 6 ... Found flash writer ... sending ./sbl_uart_uniflash.release.hs_fs.tiimage Sent flashwriter ./sbl_uart_uniflash.release.hs_fs.tiimage of size 296589 bytes in 28.4s. Executing command 2 of 6 ... Command arguments : --operation=flash-phy-tuning-data Sending flash-phy-tuning-data_command: 0%| | 0/32 [00:00<?, ?bytes/s]send error: expected NAK, CRC, EOT or CAN; got b'0' send error: expected NAK, CRC, EOT or CAN; got b'1' send error: error_count reached 10, aborting. Sending flash-phy-tuning-data_command: 6%|██▌ | 2/32 [01:35<47:57, 95.91s/bytes] [ERROR] XMODEM send failed, no response OR incorrect response from EVM OR cancelled by user, Power cycle EVM and run this script again !!!
此致、Holger
您好、Holger、
如果您从 only_wifi_fw.cfg 中注释此闪存调优命令、能否检查是否观察到相同的问题
此致、
会面。
尊敬的会议:
同样的问题:
c:\ti\cc33xx_mcu_package_R5\tools\secured_programing>py uart_uniflash.py -p COM7 --cfg=only_wifi_fw.cfg Parsing config file ... Parsing config file ... SUCCESS. Found 5 command(s) !!! Executing command 1 of 5 ... Found flash writer ... sending ./sbl_uart_uniflash.release.hs_fs.tiimage Sent flashwriter ./sbl_uart_uniflash.release.hs_fs.tiimage of size 296589 bytes in 27.58s. Executing command 2 of 5 ... Command arguments : --file=./sbl_ospi.release.hs_fs.tiimage --operation=flash --flash-offset=0x0 Sending ./sbl_ospi.release.hs_fs.tiimage: 0%| | 0/301514 [00:00<?, ?bytes/s]send error: error_count reached 10, aborting. Sending ./sbl_ospi.release.hs_fs.tiimage: 0%| | 2/301514 [01:50<9219:57:26, 110.08s/bytes] [ERROR] XMODEM send failed, no response OR incorrect response from EVM OR cancelled by user, Power cycle EVM and run this script again !!! c:\ti\cc33xx_mcu_package_R5\tools\secured_programing>
此致、Holger
您好、Holger、
您使用的是 TI EVM 还是定制电路板?
TI EVM:LP-AM243
您是否可以尝试使用 programming 文件夹中的 uniflash、而不是 secured_programming 文件夹。
您好、
我发现了错误。 我的电路板更旧了。
->如果您使用的是较旧的 LP 版本-请转到 <cc33xx_mcu_package>/tools/programming/
谢谢、此致、Holger