3 posts / 0 new
Last post
lizhuobin
Offline
Last seen: 2 days 19 hours ago
Joined: 2014-08-15 05:08
DA14585 16M flash烧录问题

Dialog 好,

我们由于项目需要用到16M flash,但在整个擦除中发现以下问题:

1.SmartSnippetsToolbox.exe等待超过10秒超时了。
2.经查看spi flash规格书,
规格书上写明 spi flash 整个擦除需要15秒才能结束。
现在是SmartSnippetsToolbox.exe只有10秒的等待时间,而spi flash整个擦除时间是15秒,

请帮忙解决,谢谢!!!!!

以下是相应的log
SmartSnippetsToolbox.exe -type spi -chip DA14585-00 -com_port 16 -cmd erase -max 2097152
Launching SmartSnippets Toolbox v 4.8.3.1804
四月 11, 2018 4:40:44 下午 java.util.prefs.WindowsPreferences
WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at root 0x80000002. Windows RegCreateKeyEx(...) returned error code 5.
Using default baudrate: 57600 Bd.
Connection to COM16 port has successfully opened.
Successfully disconnected from port COM16.
Successfully set SPI Flash gpios: CLK=P0_0, CS=P0_3, MISO=P0_5, MOSI=P0_6.
Connection to COM16 port has successfully opened.
Timeout while waiting to receive the most significant byte of packet length (10000 msecs)
Successfully disconnected from port COM16.
SPI Flash memory erasing failed.

Attachment: 
Device: 
lizhuobin
Offline
Last seen: 2 days 19 hours ago
Joined: 2014-08-15 05:08
同时我们后面想用32M的flash

同时我们后面想用32M的flash,希望能尽快调整timeout时间,希望能尽量的长。

谢谢!!!

CYibin
Offline
Last seen: 2 weeks 6 days ago
Staff
Joined: 2017-12-14 02:48
您好,

您好,

为了节省时间,您只擦除需要的部分即可。flash 相关的一些定制化的操作,可替换掉 toolbox 目录下的 flash_programmer 程序实现,详细可参考下面的帖子:

https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bl...

另外,也可下载我们的最新版本的 SmartSnippet 工具尝试。