Smartsnippets toolbox erase SPI FLASH via UART issue

Learn MoreFAQsTutorials

3 posts / 0 new
Last post
zhongc@ilink-wi...
Offline
Last seen:4 weeks 2 hours ago
加入:2017-05-09 12:36
Smartsnippets toolbox erase SPI FLASH via UART issue

Hi Dialog Team,
We use smartsnippets to download fw_multi_part_spi.bin file via UART to a 4Mbit Flash.I have replace the flash_programer.bin file with 4Mbit version which modified by ourself.We can erase and burn the flash via UART and JTAG.It is work good via JTAG,but if we use UART ,it takes long time to earse the flash,and it can earse successary.the log show it awaly disconnect and connect the com port during erase the flash ,Could you plase help ?thanks.

SPI Flash Memory size set to 0x40000 in smartsnippets ,it taks about 60 seconds
------------------------------------------------------------------------------------------------------------------------------------------------------------
[INFO SPI Flash @18-09-06 14:08:48] Connection to COM25 port has successfully opened.
[INFO Booter @18-09-06 14:08:53] Successfully disconnected from port COM25.
[INFO SPI Flash @18-09-06 14:08:53] SPI Memory erasing completed successfully.
[INFO SPI Flash @18-09-06 14:08:53] Reading memory to verify its contents after erase...
[INFO SPI Flash @18-09-06 14:08:53] Connection to COM25 port has successfully opened.
[INFO Booter @18-09-06 14:09:00] Successfully disconnected from port COM25.
[INFO SPI Flash @18-09-06 14:09:00] Connection to COM25 port has successfully opened.
[INFO Booter @18-09-06 14:09:06] Successfully disconnected from port COM25.
[INFO SPI Flash @18-09-06 14:09:07] Connection to COM25 port has successfully opened.
[INFO Booter @18-09-06 14:09:13] Successfully disconnected from port COM25.
[INFO SPI Flash @18-09-06 14:09:13] Connection to COM25 port has successfully opened.
[INFO Booter @18-09-06 14:09:20] Successfully disconnected from port COM25.
[INFO SPI Flash @18-09-06 14:09:20] Connection to COM25 port has successfully opened.
[INFO Booter @18-09-06 14:09:26] Successfully disconnected from port COM25.
[INFO SPI Flash @18-09-06 14:09:26] Connection to COM25 port has successfully opened.
[INFO Booter @18-09-06 14:09:33] Successfully disconnected from port COM25.
[INFO SPI Flash @18-09-06 14:09:33] Connection to COM25 port has successfully opened.
[INFO Booter @18-09-06 14:09:40] Successfully disconnected from port COM25.
[INFO SPI Flash @18-09-06 14:09:40] Connection to COM25 port has successfully opened.
[INFO Booter @18-09-06 14:09:46] Successfully disconnected from port COM25.
[INFO SPI Flash @18-09-06 14:09:46] Verification succeeded.
[INFO SPI Flash @18-09-06 14:09:46] Reading memory to refresh its contents....
[INFO SPI Flash @18-09-06 14:09:46] Connection to COM25 port has successfully opened.
[INFO Booter @18-09-06 14:09:53] Successfully disconnected from port COM25.
[INFO SPI Flash @18-09-06 14:09:53] Reading has finished. Read 32768 bytes.

SPI Flash Memory size set to 0x40000 in smartsnippets ,it taks about 120 seconds
-----------------------------------------------------------------------------------------------------------------------------
[INFO SPI Flash @18-09-06 14:13:58] Connection to COM25 port has successfully opened.
[INFO Booter @18-09-06 14:14:02] Successfully disconnected from port COM25.
[INFO SPI Flash @18-09-06 14:14:02] SPI Memory erasing completed successfully.
[INFO SPI Flash @18-09-06 14:14:02] Reading memory to verify its contents after erase...
[INFO SPI Flash @18-09-06 14:14:03] Connection to COM25 port has successfully opened.
[INFO Booter @18-09-06 14:14:09] Successfully disconnected from port COM25.
[INFO SPI Flash @18-09-06 14:14:09] Connection to COM25 port has successfully opened.
[INFO Booter @18-09-06 14:14:16] Successfully disconnected from port COM25.
[INFO SPI Flash @18-09-06 14:14:16] Connection to COM25 port has successfully opened.
[INFO Booter @18-09-06 14:14:22] Successfully disconnected from port COM25.
[INFO SPI Flash @18-09-06 14:14:22] Connection to COM25 port has successfully opened.
[INFO Booter @18-09-06 14:14:29] Successfully disconnected from port COM25.
[INFO SPI Flash @18-09-06 14:14:29] Connection to COM25 port has successfully opened.
[INFO Booter @18-09-06 14:14:36] Successfully disconnected from port COM25.
[INFO SPI Flash @18-09-06 14:14:36] Connection to COM25 port has successfully opened.
(信息橄榄球员@18-09-06 14:14:42]是否成功lly disconnected from port COM25.
[INFO SPI Flash @18-09-06 14:14:42] Connection to COM25 port has successfully opened.
[INFO Booter @18-09-06 14:14:49] Successfully disconnected from port COM25.
[INFO SPI Flash @18-09-06 14:14:49] Connection to COM25 port has successfully opened.
[INFO Booter @18-09-06 14:14:56] Successfully disconnected from port COM25.
[INFO SPI Flash @18-09-06 14:14:56] Connection to COM25 port has successfully opened.
[INFO Booter @18-09-06 14:15:02] Successfully disconnected from port COM25.
[INFO SPI Flash @18-09-06 14:15:02] Connection to COM25 port has successfully opened.
[INFO Booter @18-09-06 14:15:09] Successfully disconnected from port COM25.
[INFO SPI Flash @18-09-06 14:15:09] Connection to COM25 port has successfully opened.
[INFO Booter @18-09-06 14:15:16] Successfully disconnected from port COM25.
[INFO SPI Flash @18-09-06 14:15:16] Connection to COM25 port has successfully opened.
[INFO Booter @18-09-06 14:15:22] Successfully disconnected from port COM25.
[INFO SPI Flash @18-09-06 14:15:22] Connection to COM25 port has successfully opened.
[INFO Booter @18-09-06 14:15:29] Successfully disconnected from port COM25.
[INFO SPI Flash @18-09-06 14:15:29] Connection to COM25 port has successfully opened.
[INFO Booter @18-09-06 14:15:36] Successfully disconnected from port COM25.
[INFO SPI Flash @18-09-06 14:15:36] Connection to COM25 port has successfully opened.
[INFO Booter @18-09-06 14:15:42] Successfully disconnected from port COM25.
[INFO SPI Flash @18-09-06 14:15:42] Connection to COM25 port has successfully opened.
[INFO Booter @18-09-06 14:15:49] Successfully disconnected from port COM25.
[INFO SPI Flash @18-09-06 14:15:49] Verification succeeded.
[INFO SPI Flash @18-09-06 14:15:49] Reading memory to refresh its contents....
[INFO SPI Flash @18-09-06 14:15:49] Connection to COM25 port has successfully opened.
[INFO Booter @18-09-06 14:15:55] Successfully disconnected from port COM25.
[INFO SPI Flash @18-09-06 14:15:56] Reading has finished. Read 32768 bytes.

Device:
PM_Dialog
Offline
Last seen:4 days 1 hour ago
Staff
加入:2018-02-08 11:03
Hi zhongc@ilink-wireless.com,

Hizhongc@ilink-wireless.com,

As I am able to understand what you mean from your post, you are able to erase/program the SPI Flash with both JTAG and UART, but when using the UART the erase procedure takes long time? But you don’t have any issues except from the long time when using UART. That’s correct? If you mean that, this is expectable, the JTAG is more quick that UART.

Thanks, PM_Dialog

zhongc@ilink-wi...
Offline
Last seen:4 weeks 2 hours ago
加入:2017-05-09 12:36
Thanks for your help.

Thanks for your help.