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.

[参考译文] AM2434:can#39;t 在 SysConfig 中加载闪存.json

Guru**** 2393725 points
Other Parts Discussed in Thread: AM2434, SYSCONFIG

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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1477857/am2434-can-t-load-flash-json-in-sysconfig

器件型号:AM2434
主题中讨论的其他器件: SysConfig

工具与软件:

AM2434 ALV 封装

SysConfig 1.21.2+3837

mcu_plus_sdk_am243x_10_01_00_32

我正在尝试添加 QSPI 闪存器件、但即使在我选择4S-4D-4D 模式时、也无法将 OSPI 驱动器从8个数据通道更改为4个数据通道。

我在论坛的其他地方读到、我应该导入闪存配置.json 来解决此问题。

但是、这会产生一个错误。

在点击"Load from JSON"按钮之前:

点击"Load from JSON (从 JSON 加载)"按钮后:

闪存名称更改为"运行脚本时出错"、但未提供更多信息。

我已尝试加载以下两项:

mcu_plus_sdk_am243x_10_01_00_32\source\sysconfig\board\.meta\flash\S25HL512T.json

和我使用生成的附加.json 文件 ospi_flash_diag_am243x-lp_r5fss0-0_nortos_ti-arm-clang 项目。

重现步骤:

1.创建新的 SysConfig 文件并添加闪存器件。

2.按"load from json"并选择其中一个引用的.json 文件。

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

    由于某种原因我无法附加文件、下面是一个链接:

    am243x_lp_ospi_diag_flash_data.json - Pastes.io

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

    您好!

    这是一个已知问题、将在下一个 SDK v11.0中得到修复。

    目前、请应用以下补丁来解决此问题:

    e2e.ti.com/.../0001_2D00_am64x_2D00_am243x_2D00_JSON_2D00_Fix_2D00_load_2D00_Json_2D00_flash_2D00_config_2D00_file.patch

    ❯ pwd
    /home/p-shivhare/ti/mcu_plus_sdk/am243x/10_01_00_32
    ❯ git apply --directory=source/sysconfig ~/Downloads/0001-am64x-am243x-JSON-Fix-load-Json-flash-config-file.patch
    ❯ git status
    On branch main
    Changes not staged for commit:
      (use "git add <file>..." to update what will be committed)
      (use "git restore <file>..." to discard changes in working directory)
            modified:   source/sysconfig/board/.meta/flash/v0/flash_v0.syscfg.js
            modified:   source/sysconfig/board/.meta/flash/v1/flash_v1.syscfg.js

    此致、

    Prashant

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

    现在.json 加载谢谢。

    不过、SysConfig 仍为此选择了8条数据线 Q SPI 闪存、我无法选择将其更改为所见。

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

    每个信号都有复选框。 我相信您可以取消选中您不需要的任何复选框。