Please Help : fdisk/gparted like cabability in ESP2 to fix a corrupted sd card connected to it.
Posted: Sat Aug 04, 2018 10:04 am
My application needs to store data on sd card regularly before transmitting.
I am facing some problems in one of the 6 devices that i am running continuously.
Sd card gets corrupt and when i check the sd card by connecting it to pc ,it shows storage unallocated in gparted with no partion table.
Then i have to recreate the partition table(and partions after that) with help of gparted.
I have encountered this problem 2 times and i am not able to replicate it for now.
As i need to make it stable as early as possible , i am looking for ways through which i can do the operations like recreating partition tables and partitions through esp32 only ,in case of this problem comes again.
Please let me know if this is possible to do with esp32 (some library ?) , as i guess standard c has these capabilities.
I am facing some problems in one of the 6 devices that i am running continuously.
Sd card gets corrupt and when i check the sd card by connecting it to pc ,it shows storage unallocated in gparted with no partion table.
Then i have to recreate the partition table(and partions after that) with help of gparted.
I have encountered this problem 2 times and i am not able to replicate it for now.
As i need to make it stable as early as possible , i am looking for ways through which i can do the operations like recreating partition tables and partitions through esp32 only ,in case of this problem comes again.
Please let me know if this is possible to do with esp32 (some library ?) , as i guess standard c has these capabilities.