Thanks for your reply. I am unable to use official download tool because it shows maximum COM port up to COM21. However on my both Windows 8 laptops COM30 is assigned to my USB adapter.
Anyway, the problem is not related to the tool or downloading image. I am running my image successfully on ESP-12E, all my wifi and other stuff is working fine. However when I am erasing flash using the following code (running on esp8266) it returns SPI_FLASH_RESULT_OK if I pass sector number 121 as argument but returns SPI_FLASH_RESULT_ERR when I pass argument 129.
Code:
if(SPI_FLASH_RESULT_OK != (ret = spi_flash_erase_sector(129)))
{
os_printf("ERROR: %d\r\n",ret);
return -1;
}
Question: Does spi_flash_erase_sector() have some checks not to allow erasing sector beyond 127?Statistics: Posted by gailu — Thu Jun 11, 2015 3:58 pm
]]>