4 posts / 0 new
Last post
WHQYSMART
Offline
Last seen:8 months 2 weeks ago
加入:2020-02-12 12:47
SmartSnippetsToolbox CLI 更新SPI Flash问题

您好,AE的同事

我们正在使用DA14531的开发板DevelopmentKit Pro验证前期的产品功能和生产流程。

目前调试生产流程的过程中我们想使用SmartSnippetsToolBox的CLI命令制作一个生产脚本用于烧录SPI Flash。

但是在开发中我们发现我手中的ToolBox 5.0.10不支持DA14531,chip_version中没有相关型号。

想跟您确认一下如何解决这个问题。

谢谢。

更新Log

D:\Program Files (x86)\DiaSemi\SmartSnippetsStudio2.0.10\Toolbox>SmartSnippetsToolbox.exe -bundle commands.txt
Launching SmartSnippets Toolbox v 5.0.10.2434
Mar 24, 2020 3:54:45 PM java.util.prefs.WindowsPreferences
WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at root 0x80000002. Windows RegCreateKeyEx(...) returned error code 5.
File commands.txt cannot be found.
No chip has been selected with -chip option

D:\Program Files (x86)\DiaSemi\SmartSnippetsStudio2.0.10\Toolbox>SmartSnippetsToolbox.exe -help -chip DA14531
Launching SmartSnippets Toolbox v 5.0.10.2434
Mar 24, 2020 5:19:52 PM java.util.prefs.WindowsPreferences
WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at root 0x80000002. Windows RegCreateKeyEx(...) returned error code 5.
Usage:

Device:
CYibin
Offline
Last seen:3 months 4 days ago
工作人员
加入:2017-12-14 02:48
你好,

你好,

我在命令行敲出以下命令:

SmartSnippetsToolbox.exe -chip DA14531

得出回复:

Launching SmartSnippets Toolbox v 5.0.10.2434
No type has been specified with "-type" option. Usage:
-type cli_type: booter or power or otp or spi or eeprom or suota or spota or battery_life.

可见 DA14531 是支持的。

请问你电脑系统是什么?

另外,建议从官网下载最新版本的 toolbox:

http://lpccs-docs.dialog-semiconductor.com/smartSnippets_studio/SmartSni...

并根据以下文档(26. Command-line implementation)的指引,使用命令行:

http://lpccs-docs.dialog-semiconductor.com/UM-B-083/index.html

WHQYSMART
Offline
Last seen:8 months 2 weeks ago
加入:2020-02-12 12:47
谢谢您,问题已经解决。当时遇到的是权限问题

谢谢您,问题已经解决。当时遇到的是权限问题,更改CMD窗口为管理员权限执行后完成。

CYibin
Offline
Last seen:3 months 4 days ago
工作人员
加入:2017-12-14 02:48
好的,感谢分享处理方式

好的,感谢分享处理方式