Coder Social home page Coder Social logo

read file after restart esp8266 about sdfat HOT 6 CLOSED

greiman avatar greiman commented on July 22, 2024
read file after restart esp8266

from sdfat.

Comments (6)

greiman avatar greiman commented on July 22, 2024

I can't guess what your code does.

from sdfat.

akaJes avatar akaJes commented on July 22, 2024

my code based on WebServer.ino standart example
just simple web server and used your library instead embeded based on your old/stable embeded version

this line from example generate result posted above
call stack:
1
2
then call your library
3

from sdfat.

greiman avatar greiman commented on July 22, 2024

I don't debug user code. Provide a simple example with the minimum code that demonstrates the problem.

If possible use SdFat-beta since it will soon replace this version of SdFat.

from sdfat.

akaJes avatar akaJes commented on July 22, 2024

after manual disabling USE_MULTI_BLOCK_IO in config, this issue disappeared !
i will try to use https://github.com/greiman/SdFat-beta

from sdfat.

akaJes avatar akaJes commented on July 22, 2024

beta has the same issue , after disabling USE_MULTI_BLOCK_IO works properly

from sdfat.

greiman avatar greiman commented on July 22, 2024

I can't reproduce your problem with my tests on a Adafruit HUZZAH ESP8266. I try various transfer sizes and verify the data. I test at 80 and 160 MHz.

Once again, you must submit an example that isolates the problem in a reproducible way.

I won't debug the web-server code since it doesn't check each file operation for errors.

Multi-block I/O can fail if there is any noise on the SPI bus due to wiring problems. This could happen with ESP8266 since yield() is called between SD blocks and noise from wi-fi could cause problems.

from sdfat.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.