Zephyr 101 - LittleFS

Поделиться
HTML-код
  • Опубликовано: 5 окт 2024
  • nRF9160 Feather & More: www.jaredwolff...
    Jared's site: www.jaredwolff...
    Have a more detailed questions?: community.jare...
    Buy me a coffee ☕: ko-fi.com/jare...
    Github Sponsors: github.com/spo...
    Relevant links
    External Flash Sample - github.com/cir...
    DTS file for nRF9160 Feather - github.com/zep...

Комментарии • 20

  • @shuojinbecool4778
    @shuojinbecool4778 9 дней назад

    Amazing video. This channel is gold! Thank you so much!

  • @hankhule1639
    @hankhule1639 3 месяца назад

    A god sent video, thank you !

  • @louisbuckalew3443
    @louisbuckalew3443 Год назад

    I have also noticed large delays that can happen when using flash for logging sensor data. I think it's the root cause of some bugs that crop up seemingly randomly and are hard to trace (like you mentioned with watchdogs expiring etc). I'm using a 4Gbit NOR chip and my log files can sometimes reach up to 40-50MB. This has been a big hassle and I think it's stretching the limits of what you can achieve with NOR flash (in the context of constantly recording data).
    Im going to try using an SD chip (not removable, but uses SD protocol) and see if the time-complexity hit you take when using LFS with many small files or few large files is less noticeable. Planning to compare LFS w/ NOR to LFS w/ SD and FATFS with SD.
    Thanks for your tutorials!

  • @LeoJunquera
    @LeoJunquera 11 месяцев назад

    Thank you. Another great video. Do you have an example of the tip at 28:00: separate thread dedicated to accessing the file system? It's not in your example.

    • @CircuitDojo
      @CircuitDojo  10 месяцев назад

      I'll add it to my list of potential future Zephyr 101 :)

  • @stavrosfilippas9260
    @stavrosfilippas9260 Год назад

    Do the NCS side instructions on setting up the external flash with LittleFS only work for nRF91/53? What about nRF52?

  • @GeoEo14
    @GeoEo14 Год назад

    Can you use RAM for littlefs storage?

    • @CircuitDojo
      @CircuitDojo  Год назад

      I know it's geared towards NOR flash as a backend since it has wear leveling etc. There maybe some LittleFS based tests that run in RAM you may have some luck there.

  • @matejponcak1106
    @matejponcak1106 Год назад

    How can I mount LittleFS drive to computer to work with it like with the FAT drive?

    • @CircuitDojo
      @CircuitDojo  Год назад +1

      I'd recommend FAT instead if you're going to use it in that way.

    • @matejponcak1106
      @matejponcak1106 Год назад

      @@CircuitDojo Thank you for your recommendation. But is there any way how to do it with LittleFS?

    • @CircuitDojo
      @CircuitDojo  Год назад +1

      ​@@matejponcak1106 you may want to check out github.com/littlefs-project/littlefs-fuse.

    • @matejponcak1106
      @matejponcak1106 Год назад

      @@CircuitDojo thank you :)

  • @Gabriel965519437
    @Gabriel965519437 Год назад +2

    I'm loving your videos about Zephyr RTOS. You should definitely start thinking about creating a set of tutorials introducing the nRF Connect SDK and Zephyr from scratch:
    - Configuration toolchain and build system
    - Device tree and overlays
    - IOs
    - External Interruptions
    - Timers
    - ADC
    - PWM
    - I2C/SPI
    - DMA
    - etc

    • @CircuitDojo
      @CircuitDojo  Год назад

      Thanks for the suggestion Gabriel!

    • @Gabriel965519437
      @Gabriel965519437 Год назад +2

      @@CircuitDojo as someone who has worked with PIC microcontrollers in the past and then with nRF52 SoC with nRF5 SDK... going through nRF Connect SDK has been a big challenge as the embedded system development process is completely different compared to what I was accustomed. So I really feel the need for good tutorials to help people make that switch.

    • @CircuitDojo
      @CircuitDojo  Год назад

      @@Gabriel965519437 well put. I spent lots of time in Nordic's bare metal SDK a while back. There was definitely a big jump! Thanks again for your thoughts/comments.