- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hi ,
How to identify the sd card connected to Edison board.
I want to take backup state from emmc to sdcard and restore data to sdcard.
Intel Edison(arduino expnasion) board and Firmware Version:159.devkit
Adruino IDE 1.6.8 on ubuntu 14.04
Firmware Version:159.devkit
Please provide complete processes for backup and restore the sate.
Regards,
Sreenivas
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hello Sreenivas,
I can't answer all of your questions but there is one I can because in my app I also face to this problem. here is an example if you want to konw if your sd card is connected :
bool mounted = false;
bool sdPresent = false;
for (;;) {
//cout << system("date") << endl;
ifstream f;
f.open ("/dev/mmcblk1");
if (f.good()) {
f.close();
if (!mounted)
{
system("mount /dev/mmcblk1p1");
mounted = true;
}
sdPresent = true;
}
else {
f.close();
sdPresent = false;
mounted = false;
}
}
When your sd card is connected, the the file named "mmcblk1p1" should be visible in the repertory /dev of the edison system and not if your sd card is not connected.
I hope I helped you.
Regards,
Guimficus
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hi,
If you're looking to backup your Edison you can use the dd command as explained here http://www.instructables/id/BackupRestore-Intel-Edison/?ALLSTEPS www.instructables/id/BackupRestore-Intel-Edison/?ALLSTEPS . Make sure to follow the warnings in the link to avoid losing data in your image so that your backup is done successfully.
Sergio
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hi IoT_srinivas
Did you find our last suggestion helpful? Were you able to perform the backup process successfully?
Sergio

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page