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

  Рет қаралды 104,500

Rui Santos

Rui Santos

Күн бұрын

Пікірлер: 51
@RuiSantosdotme
@RuiSantosdotme 6 жыл бұрын
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 жыл бұрын
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.
@RuiSantosdotme
@RuiSantosdotme 6 жыл бұрын
Thanks for the kind words!
@TalismanAirsoft
@TalismanAirsoft 2 жыл бұрын
Most clear and easy to follow video on this I've found yet. Thank you! 🙏
@GrowthDiariesSofia
@GrowthDiariesSofia Жыл бұрын
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?
@joetke
@joetke 6 жыл бұрын
Pedagogically PERFECT! Thanks Rui! I recommend your channel to my fellow citizens from Madagascar.
@elektron2kim666
@elektron2kim666 3 ай бұрын
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.
@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!!!
@codebeat4192
@codebeat4192 4 жыл бұрын
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
@Gamerzhut
@Gamerzhut Жыл бұрын
Which EEPROM library do you use, you never said ... :)
@RuiSantosdotme
@RuiSantosdotme Жыл бұрын
It comes installed by default with the ESP32 add-on, you don't have to install anything else
@DragPlix
@DragPlix 3 жыл бұрын
Thank You Sir!
@0124akash
@0124akash 9 ай бұрын
Sir, can I use sd card instead of flash memory ?
@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 жыл бұрын
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.
@HellaFunnyShorts
@HellaFunnyShorts 5 жыл бұрын
Informative. Thank you.
@3DComputing
@3DComputing 10 ай бұрын
what if you want a long or a string ? 😞
@parthajana3365
@parthajana3365 3 жыл бұрын
"text section exceeds available space in the board" how to solve this error
@go7awarsha998
@go7awarsha998 5 жыл бұрын
Well done. Thanks.
@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
@mariosilva6303
@mariosilva6303 5 жыл бұрын
Could I share the esp32fs.jar file? in the plugin only has the esp32fs.java. thank you
@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.
@miditec-pd8424
@miditec-pd8424 4 жыл бұрын
Arduino due bord eeprom no..how ti work due bord eeprom ..help me...
@crisselectronicprojects8408
@crisselectronicprojects8408 5 жыл бұрын
Hello! This tutorial also applies to ESP8266?
@kokalti
@kokalti 5 жыл бұрын
Yes
@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?
@MikePreston-darkflib
@MikePreston-darkflib 3 жыл бұрын
Only really using the read -> modify -> write pattern.
@shmidt_rc2338
@shmidt_rc2338 5 жыл бұрын
Thansk for your efforts!
@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 жыл бұрын
Not really... You will need a real cpu for that... Even a raspberry pi zero would work, but performance won't be high...
@musicgrind7002
@musicgrind7002 3 жыл бұрын
Very awesome👏
@JisooMx
@JisooMx 4 жыл бұрын
How do i clear all data on flash memory?
@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.
@rubialugattimoreira1978
@rubialugattimoreira1978 2 жыл бұрын
Perfect 👏👏
@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.
@morpheuz2006
@morpheuz2006 6 жыл бұрын
:P sempre a aprender .... bons tutoriais parabéns
@stephanc7192
@stephanc7192 5 ай бұрын
Good video
@danielmoraes9637
@danielmoraes9637 6 жыл бұрын
thanks
@luizvision478
@luizvision478 6 жыл бұрын
RUI BOM DIA INGLES POSSIVEL DE ENTENDER PERFEITAMENTE MAS... PÔE AS LEGENDAS POIS IRÁ AJUDAR MUITO POR FAVOR....
EEPROM Memory - Store Anything - Arduino101
13:16
Electronoobs
Рет қаралды 112 М.
Chain Game Strong ⛓️
00:21
Anwar Jibawi
Рет қаралды 41 МЛН
#121 SPIFFS and JSON to save configurations on an ESP8266
11:30
Andreas Spiess
Рет қаралды 113 М.
ESP32 SD Card Interfacing Fast!
7:07
ArtsyEngineering
Рет қаралды 58 М.
Using EEPROM with Arduino - Internal & External
31:54
DroneBot Workshop
Рет қаралды 201 М.
No more SPIFFS! LittleFS vs FatFs
3:38
That Project
Рет қаралды 19 М.
How To Read Bin File From ESP32 and ESP8266
10:22
Ahmad Logs
Рет қаралды 45 М.
Embedded Rust setup explained
23:03
The Rusty Bits
Рет қаралды 95 М.