ESP32 Flash Memory - Store Permanent Data (Write and Read)

Поделиться
HTML-код
  • Опубликовано: 28 янв 2025

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

  • @RuiSantosdotme
    @RuiSantosdotme  6 лет назад +8

    You can find the complete project details (schematics + source code) on my blog ► randomnerdtutorials.com/esp32-flash-memory/

    • @imranmehboob4860
      @imranmehboob4860 4 года назад

      sir is there any difference between code written for arduino uno and for esp32

  • @tozeleal
    @tozeleal 6 лет назад +11

    Im happy to see a Portuguese dude creating this type of content ... This is real tech youtube! Unlike many others in the portuguese that say they are "tech" youtubers but they only do unboxings and don't even do a proper review.

  • @TalismanAirsoft
    @TalismanAirsoft 2 года назад +2

    Most clear and easy to follow video on this I've found yet. Thank you! 🙏

  • @joetke
    @joetke 6 лет назад +1

    Pedagogically PERFECT! Thanks Rui! I recommend your channel to my fellow citizens from Madagascar.

  • @MindfulDiariesSofia
    @MindfulDiariesSofia Год назад +4

    The esp32 C3 FH4 Has 4MB embedded flash memory acording to the datasheet. Does the eeprom library works with that too? And how to know the address ?
    The same as the normal ESP32?

  • @DusanFajler
    @DusanFajler 6 лет назад

    Keep up the good work! .Your tutorials are really helpful for a beginner like me. Cheers!

  • @jpcme2002
    @jpcme2002 4 года назад

    Rui, meus parabéns, de muitos que encontramos por aqui no youtube, Tu realmente és dos melhores!!! continuação de um óptimo trabalho e bem hajas!!!

  • @elektron2kim666
    @elektron2kim666 4 месяца назад

    I need a time zone number to come back to the sketch after power out in my GPS clock construct, but I consider an SD-card too. Logging something will make too many writes to flash. It's no problem to have an RTC device storing time, date, a variable, if you need. RTC devices have extra registers.

  • @codebeat4192
    @codebeat4192 5 лет назад +1

    Documentation says "Size can be anywhere between 4 and 4096 bytes.", not limited to 512 bytes.

    • @MikePreston-darkflib
      @MikePreston-darkflib 3 года назад

      I belive this is due to the way rotation is done. Check the docs for write vs commit.

  • @qzorn4440
    @qzorn4440 3 года назад

    very interesting and useful. 🤔 this will be great for a remoteXY project. 🙂thank you

  • @DragPlix
    @DragPlix 3 года назад +2

    Thank You Sir!

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

    Which EEPROM library do you use, you never said ... :)

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

      It comes installed by default with the ESP32 add-on, you don't have to install anything else

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

    Sir, can I use sd card instead of flash memory ?

  • @parthajana3365
    @parthajana3365 3 года назад

    "text section exceeds available space in the board" how to solve this error

  • @mariosilva6303
    @mariosilva6303 5 лет назад

    Could I share the esp32fs.jar file? in the plugin only has the esp32fs.java. thank you

  • @heltonritter
    @heltonritter 5 лет назад

    Just to make sure I understood. This "flash memory" you refer it`s not the eEPROM right? It`s se same memory where your code (compiled and flashed) resides right?

    • @joelbennett9014
      @joelbennett9014 5 лет назад

      I'm not sure he's accessing the larger flash partitions that we're looking for...

    • @joelbennett9014
      @joelbennett9014 5 лет назад +1

      yeah, so apparently this guy is just diddling around with an emulated eeprom partition. duuuuumb.

    • @fundorinlive
      @fundorinlive 5 лет назад

      @@joelbennett9014 You're looking for spiffs

    • @joelbennett9014
      @joelbennett9014 5 лет назад

      @@fundorinlive yeah i found it eventually, got a nice load/save interface for my machine now. this is my first time using an esp32, and i don't think i'll ever be buying an arduino again now.

  • @kvamsidharvamsi5800
    @kvamsidharvamsi5800 3 года назад

    this is about eeprom of 512 bytes,you are saving last state in eeprom not in flash memory , tell about flash memory, is flash memory = eeprom then 4mb = 512 bytes ,obsoletely No , then how to program flashmemory

  • @dhavalshukla6615
    @dhavalshukla6615 2 года назад

    How do I loop namespaces for example np1 np2 np3 namespaces in preferences? I have been trying that for past week but can't seem to figure it out. It is also difficult because of how complicated it is. If anyone can, please help.

  • @go7awarsha998
    @go7awarsha998 5 лет назад +1

    Well done. Thanks.

  • @crisselectronicprojects8408
    @crisselectronicprojects8408 5 лет назад +1

    Hello!
    This tutorial also applies to ESP8266?

  • @sarma_sarma
    @sarma_sarma 4 года назад

    can we esp 32 as a SQL server?
    is it possible to run sql function in esp 32?

    • @MikePreston-darkflib
      @MikePreston-darkflib 3 года назад +1

      Not really... You will need a real cpu for that... Even a raspberry pi zero would work, but performance won't be high...

  • @miditec-pd8424
    @miditec-pd8424 5 лет назад

    Arduino due bord eeprom no..how ti work due bord eeprom ..help me...

  • @HellaFunnyShorts
    @HellaFunnyShorts 5 лет назад

    Informative. Thank you.

  • @musicgrind7002
    @musicgrind7002 3 года назад

    Very awesome👏

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

    what if you want a long or a string ? 😞

  • @shmidt_rc2338
    @shmidt_rc2338 5 лет назад

    Thansk for your efforts!

  • @leizerleite4457
    @leizerleite4457 4 года назад

    Hello Rui Santos! Grateful for the opportunity. Sorry if my English is strange, my native language is Brazilian Portuguese. If possible, I would like to know if it is possible to select not only the byte address in the EEPROM, but also to manipulate each bit individually? I say that, I think about adding eight LEDs with individual drives to the project. Or is it only possible to write and read only in all bytes?

  • @JisooMx
    @JisooMx 4 года назад

    How do i clear all data on flash memory?

  • @rubialugattimoreira1978
    @rubialugattimoreira1978 2 года назад

    Perfect 👏👏

  • @juzekkt
    @juzekkt 4 года назад

    It was really hard to find this tutorial

  • @mehmetbagmanc1753
    @mehmetbagmanc1753 5 лет назад

    thansk, tutorial is very helpfull

  • @luissantiagoyaurikacyacuri4160
    @luissantiagoyaurikacyacuri4160 5 лет назад

    Can I save strings in flash?

    • @kokalti
      @kokalti 5 лет назад

      You need to play with bytes and ascii. It gets a bit computer scienceee, not for youtube learners.

  • @felixbaum2180
    @felixbaum2180 3 года назад

    wait a minute the flash memory is not the same as the eeprom

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

      it is, EEPROM on ESP32 is just emulated in the flash.

  • @stephanc7192
    @stephanc7192 6 месяцев назад

    Good video

  • @morpheuz2006
    @morpheuz2006 6 лет назад

    :P sempre a aprender .... bons tutoriais parabéns

  • @danielmoraes9637
    @danielmoraes9637 6 лет назад

    thanks

  • @luizvision478
    @luizvision478 6 лет назад +1

    RUI BOM DIA
    INGLES POSSIVEL DE ENTENDER PERFEITAMENTE
    MAS... PÔE AS LEGENDAS POIS IRÁ AJUDAR MUITO
    POR FAVOR....