Please Help : fdisk/gparted like cabability in ESP2 to fix a corrupted sd card connected to it.

7amansharma
Posts: 8
Joined: Tue Jan 02, 2018 10:31 am

Please Help : fdisk/gparted like cabability in ESP2 to fix a corrupted sd card connected to it.

Postby 7amansharma » 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.

Who is online

Users browsing this forum: Google Adsense [Bot] and 133 guests