嗨,对话框的团队,
我们使用smartsnippets通过UART将fw_multi_part_spi.bin文件下载到一个4Mbit的Flash中。我已经替换了flash_program .bin文件与4Mbit版本,我们自己修改。我们可以通过UART和JTAG擦除和刻录flash。通过JTAG是很好的工作,但是如果我们使用UART,它需要很长的时间来擦除flash,并且它可以擦除成功。日志显示在擦除flash的过程中断开并连接了com端口,你能帮忙吗?
在smartsnippets中,SPI Flash内存大小设置为0x40000,大约需要60秒
------------------------------------------------------------------------------------------------------------------------------------------------------------
[INFO SPI Flash @18-09-06 14:08:48]连接到COM25端口成功打开。
[INFO Booter @18-09-06 14:08:53] Successfully disconnected from port COM25. [INFO Booter @18-09-06 14:08:53]断开连接成功。
[INFO SPI Flash @18-09-06 14:08:53] SPI Memory erasing completed successfully. [INFO SPI Flash @18-09-06 14:08:53] SPI Memory erasing completed成功。
[INFO SPI Flash @18-09-06 14:08:53]读取内存来验证删除后的内容…
[INFO SPI Flash @18-09-06 14:08:53] connected 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 Booter @18-09-06 14:09:06]断开连接成功。
[INFO SPI Flash @18-09-06 14:09:07]连接到COM25端口成功打开。
[INFO Booter @18-09-06 14:09:13] Successfully disconnected from port COM25. [INFO Booter @18-09-06 14:09:13]断开连接成功。
[INFO SPI Flash @18-09-06 14:09:13]连接到COM25端口成功打开。
[INFO Booter @18-09-06 14:09:20] Successfully disconnected from port COM25. [INFO Booter @18-09-06 14:09:20]断开连接成功。
[INFO SPI Flash @18-09-06 14:09:20]连接到COM25端口成功打开。
[INFO Booter @18-09-06 14:09:26] Successfully disconnected from port COM25. [INFO Booter @18-09-06 14:09:26]断开连接成功。
[INFO SPI Flash @18-09-06 14:09:26]连接到COM25端口成功打开。
[INFO Booter @18-09-06 14:09:33] Successfully disconnected from port COM25. [INFO Booter @18-09-06 14:09:33]断开连接成功。
[INFO SPI Flash @18-09-06 14:09:33]连接到COM25端口成功打开。
[INFO Booter @18-09-06 14:09:40] Successfully disconnected from port COM25. [INFO Booter @18-09-06 14:09:40]断开连接成功。
[INFO SPI Flash @18-09-06 14:09:40]连接到COM25端口成功打开。
[INFO Booter @18-09-06 14:09:46] Successfully disconnected from port COM25. [INFO Booter @18-09-06 14:09:46]断开连接成功。
[INFO SPI Flash @18-09-06 14:09:46]验证成功。
[INFO SPI Flash @18-09-06 14:09:46]读取内存刷新其内容....
[INFO SPI Flash @18-09-06 14:09:46]连接到COM25端口成功打开。
[INFO Booter @18-09-06 14:09:53] Successfully disconnected from port COM25. [INFO Booter @18-09-06 14:09:53]断开连接成功。
[INFO SPI Flash @18-09-06 14:09:53]读取结束。读取32768字节。
在smartsnippets中,SPI Flash内存大小设置为0x40000,大约需要120秒
-----------------------------------------------------------------------------------------------------------------------------
[INFO SPI Flash @18-09-06 14:13:58]连接到COM25端口成功打开。
[INFO Booter @18-09-06 14:14:02] Successfully disconnected from port COM25. [INFO Booter @18-09-06 14:14:02]断开连接成功。
[INFO SPI Flash @18-09-06 14:14:02] SPI Memory erasing completed successfully.输出说明
[INFO SPI Flash @18-09-06 14:14:02]读取内存来验证删除后的内容…
[INFO SPI Flash @18-09-06 14:14:03]连接到COM25端口成功打开。
[INFO Booter @18-09-06 14:14:09] Successfully disconnected from port COM25. [INFO Booter @18-09-06 14:14:09]断开连接成功。
[INFO SPI Flash @18-09-06 14:14:09]连接到COM25端口成功打开。
[INFO Booter @18-09-06 14:14:16] Successfully disconnected from port COM25. [INFO Booter @18-09-06 14:14:16]断开连接成功。
[INFO SPI Flash @18-09-06 14:14:16]连接到COM25端口成功打开。
[INFO Booter @18-09-06 14:14:22] Successfully disconnected from port COM25. [INFO Booter @18-09-06 14:14:22]断开连接成功。
[INFO SPI Flash @18-09-06 14:14:22]连接到COM25端口成功打开。
[INFO Booter @18-09-06 14:14:29] Successfully disconnected from port COM25. [INFO Booter @18-09-06 14:14:29]断开连接成功。
[INFO SPI Flash @18-09-06 14:14:29]连接到COM25端口成功打开。
[INFO Booter @18-09-06 14:14:36] Successfully disconnected from port COM25。
[INFO SPI Flash @18-09-06 14:14:36]连接到COM25端口成功打开。
[INFO Booter @18-09-06 14:14:42] Successfully disconnected from port COM25。
[INFO SPI Flash @18-09-06 14:14:42]连接到COM25端口成功打开。
[INFO Booter @18-09-06 14:14:49] Successfully disconnected from port COM25. [INFO Booter @18-09-06 14:14:49]断开连接成功。
[INFO SPI Flash @18-09-06 14:14:49]连接到COM25端口成功打开。
[INFO Booter @18-09-06 14:14:56] Successfully disconnected from port COM25. [INFO Booter @18-09-06 14:14:56]断开连接成功。
[INFO SPI Flash @18-09-06 14:14:56]连接到COM25端口成功打开。
[INFO Booter @18-09-06 14:15:02] Successfully disconnected from port COM25。
[INFO SPI Flash @18-09-06 14:15:02]连接到COM25端口成功打开。
[INFO Booter @18-09-06 14:15:09] Successfully disconnected from port COM25。
[INFO SPI Flash @18-09-06 14:15:09]连接到COM25端口成功打开。
[INFO Booter @18-09-06 14:15:16] Successfully disconnected from port COM25. [INFO Booter @18-09-06 14:15:16]断开连接成功。
[INFO SPI Flash @18-09-06 14:15:16]连接到COM25端口成功打开。
[INFO Booter @18-09-06 14:15:22] Successfully disconnected from port COM25. [INFO Booter @18-09-06 14:15:22]断开连接成功。
[INFO SPI Flash @18-09-06 14:15:22]连接到COM25端口成功打开。
[INFO Booter @18-09-06 14:15:29] Successfully disconnected from port COM25. [INFO Booter @18-09-06 14:15:29]断开连接成功。
[INFO SPI Flash @18-09-06 14:15:29]连接到COM25端口成功打开。
[INFO Booter @18-09-06 14:15:36] Successfully disconnected from port COM25。
[INFO SPI Flash @18-09-06 14:15:36]连接到COM25端口成功打开。
[INFO Booter @18-09-06 14:15:42] Successfully disconnected from port COM25。
[INFO SPI Flash @18-09-06 14:15:42]连接到COM25端口成功打开。
[INFO Booter @18-09-06 14:15:49] Successfully disconnected from port COM25。
[INFO SPI Flash @18-09-06 14:15:49]验证成功。
[INFO SPI Flash @18-09-06 14:15:49]读取内存刷新其内容....
[INFO SPI Flash @18-09-06 14:15:49]连接到COM25端口成功打开。
[INFO Booter @18-09-06 14:15:55] Successfully disconnected from port COM25。
[INFO SPI Flash @18-09-06 14:15:56]读取结束。读取32768字节。
嗨zhongc@ilink-wireless.com,
正如我能够从你的帖子理解你的意思,你能够擦除/编程SPI Flash与JTAG和UART,但当使用UART擦除过程需要很长时间?但你没有任何问题,除了长期使用UART。这是正确的?如果您的意思是,这是可以预料的,那么JTAG比UART更快。
谢谢,PM_Dialog
谢谢你的帮助。