Use this forum to chat about hardware specific topics for the ESP8266 (peripherals, memory, clocks, JTAG, programming)

User avatar
By pvvx
#8765
sfranzyshen wrote:This may sound stupid ... but do you need the spi flash expansion ... to use any of the webbase?

The current limit web-files-drive - 250 files.
The maximum size of the disk when using W25Q128 = 16252928 bytes (15,5 Mbytes)
No other restrictions.
Web WriteSpeed FlashDisk ~150..175 Kbytes/sec. 15,5 Mbytes max 100 sec (QSPI 80Mhz, CPU 160 MHz, 3.3V, +25C :D )
In SDK 0.9.5 and GD25Q40 flash:
WEBFS1.h:
#define WEBFS_DISK_ADDR_MINFLASH 0x0a000
size disk = 0x40000-0x0a000 = 221184 bytes
Code: Select alluint32 disk_max_size = spi_flash_real_size();
                  if(disk_max_size > SIZE_MIN_FLASH) {
                     disk_max_size -= SIZE_MIN_FLASH;
                     pupload->faddr = WEBFS_DISK_ADDR_BIGFLASH;
                  }
                  else {
                     disk_max_size = SIZE_MIN_FLASH/2 - WEBFS_DISK_ADDR_MINFLASH;
                     pupload->faddr = WEBFS_DISK_ADDR_MINFLASH;
                  }
You do not have the required permissions to view the files attached to this post.
Last edited by pvvx on Mon Feb 02, 2015 8:54 am, edited 2 times in total.
User avatar
By pvvx
#8769 Added a new version:
Hardware flow control (RTS / CTS), Inversion signals UART, HardwareLoopBack (not work with 'flow control' = on).
DTR, DSR set in workspace\Web_base\include\driver\uart.h:
Code: Select all//#define USE_UART_DTR 1
#define USE_UART_CTS 1
//#define USE_UART_DSR 1
#define USE_UART_RTS 1
You do not have the required permissions to view the files attached to this post.
User avatar
By alonewolfx2
#8780 propably you are right. i tried new webbase version and i saw its drawing same current in stationap mode and station mode.
Fr4gg0r wrote:
pvvx wrote:Works in any mode. http://www.youtube.com/watch?v=gGv8bYp32lY


Have you disabled modem sleep or some other hacks?
I am not the only one who experienced lockups in station mode. :p