ESP8266 Developer Zone The Official ESP8266 Forum 2018-08-17T23:30:07+08:00 https://bbs.espressif.com:443/feed.php?f=7&t=12115 2018-08-17T23:30:07+08:00 2018-08-17T23:30:07+08:00 https://bbs.espressif.com:443/viewtopic.php?t=12115&p=22797#p22797 <![CDATA[Rom function SPIRead() (esp8266, non os sdk)]]>
I'd like know if there are any constraints like address that it can read. The only known limitation is that the address has to by 4-Bytes aligned. Assuming that I should pass address starting at the beginning of the physical SPI chip (0x0);


The thing is that it returns a garbage while spi_flash_read() works correctly. But it still returns a zero = a success.

UINT32 SPIRead(uint32_t addr, UINT32 *dest, size_t size);

Thanks David

Statistics: Posted by sedlacek.david — Fri Aug 17, 2018 11:30 pm


]]>