SmartSnippets v3.7 CLI will not work if download firmware by hand

5 posts / 0 new
Last post
summer20100514
Offline
Last seen:4 years 3 months ago
Guru
加入:2014-12-30 05:01
SmartSnippets v3.7 CLI will not work if download firmware by hand

I test the SmartSnippets v3.7 CLI tool, and I find this strange problem.

First I download the firmware by clicking the CONNECT button using the SmartSnippets v3.7 GUI, everything goes well, and the log is

[INFO @15-04-28 18:50:40] Firmware File C:\Users\SUMMER\SmartSnippets\resources\jtag_programmer.bin has been selected for downloading.
[INFO @15-04-28 18:50:40] Cortex-M: Debugger tries to set PC to odd value. Corrected register value from 0x000800B5 to 0x000800B4
[INFO @15-04-28 18:50:40] Successfully downloaded firmware file to the board.

But if I download the firmware by hand, which refers to the Command Line Interface, using the command
SmartSnippets.exe -type booter -chip DA14580-01 -jtag 123456 -file "C:\Users\SUMMER\SmartSnippets\resources\jtag_programmer.bin"
the log is definitely the same as the one generated by SmartSnippets v3.7 GUI

Firmware File c:\users\summer\desktop\burn\jtag_programmer.bin has been selected for downloading.
Cortex-M: Debugger tries to set PC to odd value. Corrected register value from 0x000800B5 to 0x000800B4
Successfully downloaded firmware file to the board.

but everything goes wrong, I can't perform any operations successfully any more.

And what's more, if I download the firmware by GUI, and then use CLI, everything goes well again.

What's wrong with CLI ?

summer20100514
Offline
Last seen:4 years 3 months ago
Guru
加入:2014-12-30 05:01
I use an logic analyzer to

I use an logic analyzer to monitor the SPI bus, I find that there is noise signal which I think the firmware isn't loaded successfully at all. But why do I get the success log output ?

JE_Dialog
Offline
Last seen:1 day 40 min ago
工作人员
加入:2013-12-05 14:02
Hello Summer, we are

Hello Summer, we are arranging for Skynoon to contact you : Huayu from our local office i believe reached out to you. Can you confirm they are in contact ?
BR JE_Dialog

summer20100514
Offline
Last seen:4 years 3 months ago
Guru
加入:2014-12-30 05:01
Thank you, I solved the

Thank you, I solved the problem.

summer20100514
Offline
Last seen:4 years 3 months ago
Guru
加入:2014-12-30 05:01
我解决这个问题。我添加[

我解决这个问题。我添加[-firmware] option to each command I want to execute, and everything goes well.