(How to improve flash write speed?)8266怎么提高flash的写入速度?

yulihui2683685
Posts: 4
Joined: Sun Nov 19, 2017 6:36 pm

(How to improve flash write speed?)8266怎么提高flash的写入速度?

Postby yulihui2683685 » Fri Dec 01, 2017 2:08 pm

1, the use of spi_flash_write function write speed was 0.4MB / S, how to improve 8266 flash write speed.
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函数的源码提供吗?

Who is online

Users browsing this forum: No registered users and 6 guests