ESP8266 Developer Zone The Official ESP8266 Forum 2016-10-31T05:56:17+08:00 https://bbs.espressif.com:443/feed.php?f=7&t=1656 2016-10-31T05:56:17+08:00 2016-10-31T05:56:17+08:00 https://bbs.espressif.com:443/viewtopic.php?t=1656&p=10357#p10357 <![CDATA[Re: 最新RTOS版SDK overlap问题]]>
I may be experiencing this very same problem with the NONOS SDK V1.5.3 (PlatformIO/Arduino).
Whenever the statement

Code:

SET_PERI_REG_MASK(SPI_EXT3(SPI), 0x1)
is executed, subsequent calls to SPIFFS (e.g. file.open) fail and cause an exception.
Was the solution to this problem ever added to the NONOS SDKs?
What exactly does the above statement do? I understand that the SPI port priorities are set, but the exact definition of the the lower two bits of the SPI_EXT3 register is unclear to me.

Han

Statistics: Posted by Han — Mon Oct 31, 2016 5:56 am


]]>
2016-04-01T10:40:11+08:00 2016-04-01T10:40:11+08:00 https://bbs.espressif.com:443/viewtopic.php?t=1656&p=6296#p6296 <![CDATA[Re: 最新RTOS版SDK overlap问题]]>
麻烦基于 ESP8266_RTOS_SDK_V1.4.0 更新附件 lib。

如果您的问题仍未解决,请再告知。

感谢您对 ESP8266 的关注!
libmain_for_ESP8266_RTOS_SDK_V1.4.0.zip

Statistics: Posted by ESP_Faye — Fri Apr 01, 2016 10:40 am


]]>
2016-03-31T18:03:19+08:00 2016-03-31T18:03:19+08:00 https://bbs.espressif.com:443/viewtopic.php?t=1656&p=6283#p6283 <![CDATA[Re: 最新RTOS版SDK overlap问题]]> Statistics: Posted by tobewinner — Thu Mar 31, 2016 6:03 pm


]]>
2016-01-23T20:28:40+08:00 2016-01-23T20:28:40+08:00 https://bbs.espressif.com:443/viewtopic.php?t=1656&p=5494#p5494 <![CDATA[Re: 最新RTOS版SDK overlap问题]]> Statistics: Posted by zhangjinliang — Sat Jan 23, 2016 8:28 pm


]]>
2016-01-20T16:10:32+08:00 2016-01-20T16:10:32+08:00 https://bbs.espressif.com:443/viewtopic.php?t=1656&p=5455#p5455 <![CDATA[最新RTOS版SDK overlap问题]]>
我把代码从旧版本的SDK切换到最新的RTOS版本的SDK上。初始化HSPI的overlap后(如下),
SET_PERI_REG_MASK(0x3ff00028, BIT(7));
//set higher priority for spi than hspi
SET_PERI_REG_MASK(SPI_EXT3(SPI), 0x1);
SET_PERI_REG_MASK(SPI_EXT3(HSPI), 0x3);
SET_PERI_REG_MASK(SPI_USER(HSPI), BIT(5));
做了以上初始化后,用spi_flash_read这个接口去访问SPI外挂的FLASH,无法返回,卡住一段时间后异常复位,异常信息时乱码。
如果没有以上初始化overlap的过程,访问时OK的。同时旧版本也是OK的。

麻烦帮忙定位一下问题所在?

Statistics: Posted by zhangjinliang — Wed Jan 20, 2016 4:10 pm


]]>