da1469x program_qspi.py输出

⚠️
嗨,...感谢您来论坛。令人兴奋的消息!我们现在正在迁至我们的新论坛平台,将提供更好的功能,并包含在主对话框网站中。所有帖子和帐户都已迁移。我们现在只接受新论坛上的流量 - 请发布任何新线程https://www.dialog-seminile.com/support.。我们将在未来几天修复错误/优化搜索和标记。
11个帖子/ 0新
最后一篇
Toshiyo.
离线
最后一次露面:1年7个月前
加入:2019-02-28 19:04
da1469x program_qspi.py输出

Dear Dialog_PM,

我正在尝试运行脚本程序_qspi.py。脚本成功耗尽,但它给了我以下输出:“无图像,没有选定标题。无所事事。”这是什么意思,并且是这个输出预期?

感谢您的时间。

Device:
PM_DIALOG.
离线
最后一次露面:9 hours 33 min ago
职员
加入:2018-02-08 11:03
Hi toshiyo,

Hi toshiyo,

The safest way to program the DA1469x is to run the program_qspi_xxxx scripts through SmartSnipptes studio. Please check the attached snapshots. To access configuration menu alternatively navigate to Run > External Tools

  1. program_qspi_config:这将打开一个弹出窗口,其中包含当前QSPI配置的摘要和

支持的设备。因此,选择DA1469X-00和您正在使用的闪存。对于DA1469x家族的Prodk

select MX25U3235F. Finally, you will be asked to insert an address about: Active FW image address and Update FW image address. Please keep in both entries the default value 0x2000. This script will create an image head in the top of firmware image and it will by appended into program_qspi.py.

  1. erase_qspi_xxxx(通过JTAG或UART):最好的做法是在编程之前擦除QSPI闪光灯
  2. program_qspi_xxxx (through jtag or uart):Finally, program the QSPI flash with your firmware.

谢谢,PM_DIALOG.

Toshiyo.
离线
最后一次露面:1年7个月前
加入:2019-02-28 19:04
Dear Dialog_PM,

Dear Dialog_PM,

Thank you for your help. I have implemented your suggestions, however when trying to program the qspi flash with my firmware, I reached an error 'Launching program_qspi_jtag' has encountered a problem. Variable references empty selection: ${project_loc}. How do I resolve this error?

感谢您的时间。

PM_DIALOG.
离线
最后一次露面:9 hours 33 min ago
职员
加入:2018-02-08 11:03
Hi toshiyo,

Hi toshiyo,

请转到外部工具配置,您应该具有与附加的快照配置相同的配置。

"program_qspi.py" "--jlink" "--jlink_path" "${jlink_path}" "--prod_header" "${project_loc}/${config_name:${project_name}}/${project_name}.bin"

谢谢,PM_DIALOG.

Toshiyo.
离线
最后一次露面:1年7个月前
加入:2019-02-28 19:04
Dear PM_Dialog,

Dear PM_Dialog,

我检查了外部工具配置。它们与附带的快照相同。

不幸的是,我仍然无法运行该程序,因为我收到以下错误[附加在屏幕截图]时。是否有一个特定的值,即config_name应该是,我应该如何纠正该值[自软件似乎发现要为null的参数]?

谢谢你。

PM_DIALOG.
离线
最后一次露面:9 hours 33 min ago
职员
加入:2018-02-08 11:03
Hi toshiyo,

Hi toshiyo,

您能否注明您使用的SmartSnippet的版本?

谢谢,PM_DIALOG.

Toshiyo.
离线
最后一次露面:1年7个月前
加入:2019-02-28 19:04
Dear PM_Dialog,

Dear PM_Dialog,

它的v2.0.8.

谢谢你。

PM_DIALOG.
离线
最后一次露面:9 hours 33 min ago
职员
加入:2018-02-08 11:03
Hi toshiyo,

Hi toshiyo,

Please try the following steps:

  1. 从Workspace SDK根文件夹中删除.metadata。
  2. 导入任何SDK项目。例如,freertos_retarget
  3. Import the python_scripts
  4. 从项目资源管理器中选择FreertOS_Retarget,然后按DA1469x-00-Debug_QSPI
  5. The DA1469x-00-Debug_QSPI should be generated
  6. 打开外部工具配置并击中“变量”
  7. 点击“编辑变量”并确保您具有相同的配置。
  8. The configName should be the DA1469x-00-Debug_QSPI
  9. 如果您具有相同的配置,请从“项目资源管理器”窗口中选择DA1469x-00-Debug_QSPI:
  • Run the program_qspi_config script
  • Run the erase_qspi_xxxx (through jtag or uart) script
  • 运行program_qspi_xxxx(通过JTAG或UART)脚本

After the stepsabove you should be able to program your board. I tested from my side. Let me aske you something. Are you using any of our development boards or you have a custom board?

谢谢,PM_DIALOG.

附件:
Toshiyo.
离线
最后一次露面:1年7个月前
加入:2019-02-28 19:04
Dear PM_Dialog,

Dear PM_Dialog,

Thank you for the response. I am using the DA14695-00HQDEVKT-U kit.

我尝试遵循您提到的步骤。不幸的是,当我尝试完成第4步时,我遇到了三个错误。我附上了这篇文章的那些错误的截图。我真的很欣赏你可能对这个问题的建议。

感谢您的时间,

丹尼尔

PM_DIALOG.
离线
最后一次露面:9 hours 33 min ago
职员
加入:2018-02-08 11:03
Hi toshiyo,

Hi toshiyo,

这意味着设置不会生成链接器脚本,以便在发生实际构建之前完成构建,Eclipse必须从mem.ld.h文件生成链接器脚本并构建一个mem.ld文件在构建文件夹中。在您的情况下,文件永远不会构建,因此该工具无法找到mem.ld文件。这可能是由于makefile.targets文件不在项目目录中,或缺少的配置等原因。似乎智能片段的安装似乎有问题,或者您没有正确导入项目。请注意,SDK以及Smart Spippets工具应在没有任何其他配置的情况下运行。由于您已正确安装该工具,因此所有项目都应在框中编译。此外,您已看到的这种错误可能与您的工作区有关。让我们试试以下内容:

  1. Uninstall completely the SmartSnippets studio from the control panel and try to re-install it. Please follow step-by-step the section 1 SmartSnippets™ Installation in theUM-B-057 SmartSnippets Studio用户手册
  2. 让我们将SDK OUT MOTH C:/ USERS位置 - 我已经看到了这一原因管理权限。例如,在以下在此处移动新的SDK,无需任何空格:C:\ Dialog \ Da1468x_da15xxx_sdk_1.0.12.1075
  3. 由于它是一个新鲜的SDK,根文件夹不应包含.metadata。如果存在,请删除项目目录中创建的任何.metadata以启动新的工作区。
  4. Open the Smart Snippets Studio again and you can select a generic workspace
  5. Project Explorer应该是空白的。
  6. Right click into the Project Explorer and navigate to:
    1. 进口…
    2. 将军/现有项目进入工作区
    3. Press Next>
    4. 从“选择根目录”浏览到C:\ Dialog \ Da1468x_da15xxx_sdk_1.0.12.1075
    5. 取消选择所有项目,仅选择freertos_retarget和python_scripts。在此后压完成
  7. With freertos_retarget selected, just click to the DA1469x-00-Debug_QSPI
  8. 当构建完成后,运行program_qspi_config script
  9. Run the erase_qspi_xxxx (through jtag or uart) script
  10. 运行program_qspi_xxxx(通过JTAG或UART)脚本

谢谢,PM_DIALOG.

Toshiyo.
离线
最后一次露面:1年7个月前
加入:2019-02-28 19:04
This worked! Thank you.

This worked! Thank you.