Giter Site home page Giter Site logo

[BUG] SD card vs. flash memory about bsb-lan HOT 5 CLOSED

DE-cr avatar DE-cr commented on June 26, 2024
[BUG] SD card vs. flash memory

from bsb-lan.

Comments (5)

fredlcore avatar fredlcore commented on June 26, 2024 1

Ok, I think I found closing/opening the handle before assigning the reference solves the problem. At least I can now switch seamlessly and without rebooting between the two storage devices.

from bsb-lan.

fredlcore avatar fredlcore commented on June 26, 2024

As for renaming the terms, makes sense, feel free to go ahead.
The system does not do sanity checks and/or switch to flash memory option if there is no SD card attached. In any case, if SD card is selected, it should not access the flash memory. If it does, it is an error, but I don't have time to investigate this one as I'm working on more serious errors right now...

from bsb-lan.

fredlcore avatar fredlcore commented on June 26, 2024

I've had a look at it, and it seems that the switch between the storage devices might require a reboot. Or rather, that one switch in one direction works, but not a subsequent one. Which is strange because the SDCard object is just switched between SD_MMC and LittleFS in startLoggingDevice(). @dukess, do you maybe have an idea why this switch does not work?
If we can't solve this, then I can just flag this setting to require a reboot, but if it's generally possible to switch without a reboot, I'd like to keep that.

from bsb-lan.

dukess avatar dukess commented on June 26, 2024

Frederik, sorry for late answer: i have lot of work, so have time on weekend only :(
But i glad to see you resolving the issue :)

from bsb-lan.

fredlcore avatar fredlcore commented on June 26, 2024

@dukess: No worries, thanks for getting back :)!

from bsb-lan.

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.