SmartSnippetsToolbox CLI 更新SPI Flash问题

⚠️
Hi there.. thanks for coming to the forums. Exciting news! we’re now in the process of moving to our new forum platform that will offer better functionality and is contained within the main Dialog website. All posts and accounts have been migrated. We’re now accepting traffic on the new forum only - please POST any new threads at//www.wsdof.com/support. We’ll be fixing bugs / optimising the searching and tagging over the coming days.
9 posts / 0 new
Last post
WHQYSMART
Offline
Last seen:11 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中没有相关型号。

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

谢谢。

Device:
WHQYSMART
Offline
Last seen:11 months 2 weeks ago
加入:2020-02-12 12:47
更新Log

更新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:

PM_Dialog
Offline
Last seen:12 hours 24 min ago
Staff
加入:2018-02-08 11:03
Hi WHQYSMART,

Hi WHQYSMART,

Can you please repost your initial post translated to English? This is our English forum and customers post their questions in English. So, please translate your question in English, or post it in our Chinese forums.

https://support.dialog-semiconductor.com/forums/dialog-smartbond-bluetooth-low-energy-%E2%80%93-software-dialog-%E2%80%9Csmartbond%E2%80%9D%E7%B3%BB%E5%88%97%E4%BD%8E%E5%8A%9F%E8%80%97%E8%93%9D%E7%89%99%E2%80%94%E8%BD%AF%E4%BB%B6

Regarding the CLI, please refer to the Toolbox user manual:

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

Thanks, PM_Dialog

WHQYSMART
Offline
Last seen:11 months 2 weeks ago
加入:2020-02-12 12:47
Hello, colleague of AE

Hello, colleague of AE

We are using the development kit pro of da14531 to verify the product function and production process in the early stage.

In the process of debugging the production process, we want to use SmartSnippetsToolBox's CLI command to create a production script to burn SPI Flash.

But in the development, we found that the ToolBox 5.0.10 in my hands did not support DA14531, and there was no relevant model in chip_version.

I want to confirm with you how to solve this problem.

Thank you.

WHQYSMART
Offline
Last seen:11 months 2 weeks ago
加入:2020-02-12 12:47
Update Logs

Update Logs

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:

PM_Dialog
Offline
Last seen:12 hours 24 min ago
Staff
加入:2018-02-08 11:03
Hi WHQYSMART,

Hi WHQYSMART,

I would strongly recommend you downloading and using the latest version of SmartSnippets Toolbox which is version 5.0.12. You can download it from the DA14531 product page, but for your convenience here is a link to download it :SmartSnippets Toolbox V5.0.12 for Windows OS

As soon as you installed it, navigate to the installation folder and open a command-prompt.

\SmartSnippetsToolbox.exe -help -chip DA14531

After that you should be able to see the available command list and examples for the DA14531/

Thanks, PM_Dialog

WHQYSMART
Offline
Last seen:11 months 2 weeks ago
加入:2020-02-12 12:47
Hi PM_Dialog

Hi PM_Dialog

I have installed the SmartSnippets Toolbox 5.0.12, and run the command line "\SmartSnippetsToolbox.exe -help -chip DA14531" under the correct folder path.

But i still get the error log message as below:

D:\Program Files (x86)\SmartSnippetsToolbox\SmartSnippetsToolbox5.0.12>SmartSnippetsToolbox.exe -help -chip DA14531
Launching SmartSnippets Toolbox v 5.0.12.2786
Mar 26, 2020 2:27:53 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:

Commands format (depends on -cmd option):

<可执行> - help芯片显示available commands.
chip_version

[-sdk sdk_path] -type Downloads file to the chip using
booter -chip chip_version [-jtag Booter tool.
jtag_serialNumber | -com_port
portNumber] [-sys_ctrl_reg b1]
[-gp_ctrl_reg b2] [-gpio pinId]
[-uart TxId] -file filename [-close]
[-y] [-nomessages messageFilter]

I suppose maybe someting wrong step was happen in the install process.

Can you give some advise?

Thanks.

WHQYSMART
Offline
Last seen:11 months 2 weeks ago
加入:2020-02-12 12:47
Hi PM_Dialog,

Hi PM_Dialog,

I think I've found the rootcause of this issue.

用户的权限我用来运行命令行before.

When I change to run smartsnippets_toolbox.exe as administrator permission, the application will not report an error again.

PM_Dialog
Offline
Last seen:12 hours 24 min ago
Staff
加入:2018-02-08 11:03
Hi WHQYSMART,

Hi WHQYSMART,

Glad that you figured your issue out and thanks for your indication.

Thanks, PM_Dialog