SmartSnippet programming flash, bootable not allowed

9 posts / 0 new
Last post
fabiankropp
Offline
Last seen:5 years 3 weeks ago
加入:2016-03-21 12:36
SmartSnippet programming flash, bootable not allowed

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

Device:
MT_dialog
Offline
Last seen:2 months 2 weeks ago
Staff
加入:2015-06-08 11:34
Hi 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

fabiankropp
Offline
Last seen:5 years 3 weeks ago
加入:2016-03-21 12:36
I am using jtag_programmer

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

MT_dialog
Offline
Last seen:2 months 2 weeks ago
Staff
加入:2015-06-08 11:34
Hi 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

Trapprjim
Offline
Last seen:1 month 1 week ago
加入:2015-11-23 20:25
Is there a version that

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

MT_dialog
Offline
Last seen:2 months 2 weeks ago
Staff
加入:2015-06-08 11:34
Hi Trapprjim,

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

francescohero
Offline
Last seen:3 years 7 months ago
加入:2016-07-12 11:30
Hi,

Hi,

any news about this? I have the same problem. I need the .bootable option.

Thank you,
Francesco P.

Josef Albersmann
Offline
Last seen:1 month 2 days ago
加入:2014-05-12 07:44
same problem on my side. /

same problem on my side. / any news regarding expected new release...?

Josef Albersmann
Offline
Last seen:1 month 2 days ago
加入:2014-05-12 07:44
Problem solved.

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.