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.

[参考译文] AM2632-Q1:未找到 otfecc_structs.py

Guru**** 2455360 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1496074/am2632-q1-otfaecc_structs-py-is-not-found

器件型号:AM2632-Q1

工具与软件:

我尝试了使用 sdk"mcu_plus_sdk_am263x_10_01_00_31"构建示例工程。 但我得到了如下的错误。 我查看了文件夹"C:\ti\mcu_plus_sdk_am263x_10_01_00_31\tools\boot\multicore-elf\modules\、但没有找到 otfecc_structs.py 文件 。 对于此 SDK、这是已知问题吗? 如何解决呢?

108]引导多核 ELF 映像:am263x:r5fss0-0:nortos:ti-arm-clang C:/Users/morri/workspace_ccstheia/adc_soc_software_am263x-cc_r5fss0-0_nortos_ti-arm-clang/Release/adc_soc_software_am263x-cc_r5fss0-0_nortos_ti-arm-clang.mcelf ...
[109]python C:/ti/mcu_plus_sdk_am263x_10_01_00_31/tools/boot/multicore-elf/genimage.py --core-img=0:Release/adc_soc_software_am263x-cc_r5fss0-0_nortos_ti-arm-clang.out --output=C:/Users/morri/workspace_ccstheia/adc_soc_software_am263x-cc_r5fss0-0_nortos_ti-arm-clang/Release/adc_soc_software_am263x-cc_r5fss0-0_nortos_ti-arm-clang.mcelf --merge-segments=true --tolerance-limit=0 --ignore-context=false --xip=0x60000000:0x68000000_max=-xlat_size_max=-xlat"
[110]makefile_ccs_bootimage_gen:87:目标"all"的配方失败
[111]回溯(最近一次调用最后一次):
[112]<module>中的"C:\ti\mcu_plus_sdk_am263x_10_01_00_31\tools\boot\multicore-elf\genimage.py"第37行
[113] from modules.otfecc_structs import *
[114]^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[115]<module>中的"C:\ti\mcu_plus_sdk_am263x_10_01_00_31\tools\boot\multicore-elf\modules\otfecc_structs.py"第35行
[116]来自构造 import Struct、Int16ul、Int16ub、\
[117]ModuleNotFoundError: No module named 'construction'
[118]gmake[3]:***[all]错误1.
[119]Makefile:167:目标"编译后"的配方失败
[120]gmake[2]:[post-build]错误2 (已忽略)

 

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好、Morris:

    [quote userid="647896" url="~/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1496074/am2632-q1-otfecc_structs-py-is-not-found 我尝试使用 sdk"mcu_plus_sdk_am263x_10_01_00_31"构建一个示例项目。 但我得到了如下的错误。 我查看了文件夹"C:\ti\mcu_plus_sdk_am263x_10_01_00_31\tools\boot\multicore-elf\modules\、但没有找到 otfecc_structs.py 文件 。 对于此 SDK、这是已知问题吗? 如何解决?[/QUOT]

    我检查过、路径中存在 otfecc_structs.py (c:\ti\mcu_plus_sdk_am263x_10_01_00_31\tools\boot\multicore-elf\modules\otfecc_structs.py) ,你可以尝试再次安装 SDK 并检查,我怀疑文件可能由于本地设置的某些原因而放错了位置。

    如果您仍然需要它、我还将在此处附上它。

    e2e.ti.com/.../otfecc_5F00_structs.py

    [quote userid="647896" url="~/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1496074/am2632-q1-otfecc_structs-py-is-not-found "[117]ModuleNotFoundError: No module named 'construction'
    [118]gmake[3]:***[all]错误1.
    [119]Makefile:167:目标"编译后"的配方失败
    [120]gmake[2]:[post-build]错误2 (已忽略)

    除此之外、我还会在您的日志中看到一些构建错误。 这是由于未安装所需的 python 模块。 我建议在 SDK 中安装"requirements.txt"中提到的模块。

    可以运行"pip install -r requirements.txt"来安装编译后步骤所需的12个 python 模块。 以下链接中提供了相同的信息: https://software-dl.ti.com/mcu-plus-sdk/esd/AM263X/latest/exports/docs/api_guide_am263x/SDK_DOWNLOAD_PAGE.html#INSTALL_PYTHON3

    此致、
    Shaunak

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    谢谢你。 我获取了文件。