ESP8266 Developer Zone The Official ESP8266 Forum 2017-12-01T14:08:33+08:00 https://bbs.espressif.com:443/feed.php?f=7&t=8599 2017-12-01T14:08:33+08:00 2017-12-01T14:08:33+08:00 https://bbs.espressif.com:443/viewtopic.php?t=8599&p=18490#p18490 <![CDATA[(How to improve flash write speed?)8266怎么提高flash的写入速度?]]> 2, spi_flash_write function to improve the source code?
char* w_data=(char*)os_malloc(4096);
int i;
for(i=0;i<1024;i++){
spi_flash_erase_sector(256+i);
}
memset(w_data,0X10,4096);
for(i=0;i<1024;i++){
spi_flash_write(1024*1024+i*4096,(uint32*)w_data,4096);
}

1、使用spi_flash_write函数写入的速度才0.4MB/S,怎么才能提高8266中flash写入的速度。(使用的是16MB的自带的flash)
2、spi_flash_write函数的源码提供吗?

Statistics: Posted by yulihui2683685 — Fri Dec 01, 2017 2:08 pm


]]>