您好,AE的同事
我们正在使用DA14531的开发板DevelopmentKit Pro验证前期的产品功能和生产流程。
目前调试生产流程的过程中我们想使用SmartSnippetsToolBox的CLI命令制作一个生产脚本用于烧录SPI Flash。
但是在开发中我们发现我手中的ToolBox 5.0.10不支持DA14531,chip_version中没有相关型号。
想跟您确认一下如何解决这个问题。
谢谢。
Keywords:
Device:
更新Log
D:\Program Files (x86)\DiaSemi\SmartSnippetsStudio2.0.10\Toolbox>SmartSnippetsToolbox.exe -bundle commands.txt
启动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
启动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:
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
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.
我想与您确认如何解决这个问题。
Thank you.
Update Logs
D:\Program Files (x86)\DiaSemi\SmartSnippetsStudio2.0.10\Toolbox>SmartSnippetsToolbox.exe -bundle commands.txt
启动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
启动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:
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.
After that you should be able to see the available command list and examples for the DA14531/
Thanks, 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
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]
我想也许在安装过程中可能发生了错误的步骤。
Can you give some advise?
谢谢。
Hi PM_Dialog,
I think I've found the rootcause of this issue.
用户的权限我之前用于运行命令行。
When I change to run smartsnippets_toolbox.exe as administrator permission, the application will not report an error again.
Hi WHQYSMART,
Glad that you figured your issue out and thanks for your indication.
Thanks, PM_Dialog