Hi,
when trying to use the commandline interface of smartsnippets - 3.9 - i always get this errror:
Invalid argument -bootable for command write with type spi.
Usage:
SmartSnippets.exe -type spi -chip chip_version [-clk clk] [-cs cs] [-miso miso] [-mosi mosi] [-jtag jtag_serialNumber | -com_port portNumber] [-baudrate rate] [-gpio pinId] [-uart TxId] [-firmware firmware_file] -cmd write -file filename [-offset ofst] [-max size] [-verify] [-y] [-nomessages messageFilter]
伯恩斯文件SPI FLASH memory.
In contrast to the documentation, which states:
12. SmartSnippets.exe -type spi -chip chip_version [-clk clk] [-cs cs] [-miso miso] [-mosi mosi] [-jtag jtag_serialNumber | -com_port portNumber] [-baudrate rate] [-gpio pinId] [-uart TxId] [-firmware firmware_file] -cmd write -file filename [-offset ofst] [-max size] [-verify] [-bootable] [-y] [-nomessages messageFilter]
伯恩斯文件SPI FLASH memory.
where "-bootable" argument is included
My shortened commandline is:
\SmartSnippets.exe -type spi -chip DA14583 -jtag %2 -firmware xxxxxxxxxxxx -bootable -cmd write -file %1 -bootable -y -verify
Any idea why this is different ?
cheers
Fabian
Hi Fabian,
If i get this correctly you would like to burn your SPI memory by using the CLI. In order for the 580 to be programmed a program has to be downloaded into the 580 that
will configure the pins and burn your flash. Please try the command below in order to burn your flash: the jtag_programmer.bin or the flash_programmer can be found
in %user%/SmartSnippets directory
C:\Program Files (x86)\SmartSnippets\bin>SmartSnippets.exe -type spi -chip da14580-01 -jtag 480064923 -firmware jtag_programmer.bin -cmd write -file %your firmware%.bin
For more informations regarding the CLI please check the Smart Snippets help document (go to smart snippets in the Help option and select the User Guide pdf) at the
bottom of the page has examples and the parameters of the CLI command.
Thanks MT_dialog
I am using jtag_programmer.bin for the jtag connection. but i am using the DA14583.
Yes, i read the documentation as i am referring to it in my post.
It's just does not allow me to put in the bootable parameter, although the documentation states i should be able to put in this argument.
cheers
Fabian
Hi Fabian,
Sorry about that, I got it, seems that the version on the portal doesn't support the specific command, i will check and let you know.
Thanks MT_dialog
Is there a version that allows for the bootable option to be set in the command line? I need this option for the production process or will need to develope a work around for the operator input. Thanks, Jim
Hi Trapprjim,
Sorry for the delayed response, I am still chasing the tool developers to give the green light for the releasing of the latest Smart Snippets on the web portal.
Thanks MT_dialog
Hi,
any news about this? I have the same problem. I need the .bootable option.
Thank you,
Francesco P.
same problem on my side. / any news regarding expected new release...?
Problem solved.
C:\Program Files (x86)\SmartSnippetsToolbox>SmartSnippetsToolbox.exe -type spi -chip DA14580-01 -jtag 480064769 -firmware ./files_to_dr
op\jtag_programmer.bin -cmd write -file .\files_to_drop\ble_app_peripheral_580.bin –y
The –y appended at the end of the command will disable all pop-up messages and burn your image to your spi without the bootable header (check table 1 on the help pdf).
This should be ok to the older Smart Snippets version.
Comment:
What might be added to this option is, that this indicates “non bootable Flash”.
The –bootable option leads to the conclusion, that “YES” or “NO” from command line needs to be configured as option as well.