From b6cc58f0950950f0aab34f30b529d059c87e1fe5 Mon Sep 17 00:00:00 2001 From: Sam Calisch <sam.calisch@cba.mit.edu> Date: Thu, 5 Oct 2017 13:25:13 -0400 Subject: [PATCH] Update RaspberryPi.md --- openocd/RaspberryPi.md | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/openocd/RaspberryPi.md b/openocd/RaspberryPi.md index 526816f..db6dbc0 100644 --- a/openocd/RaspberryPi.md +++ b/openocd/RaspberryPi.md @@ -41,8 +41,13 @@ make sudo make install ``` -6. Get a bootloader. Adafruit's is nice. -7. Write openocd.cfg. -8. sudo openocd +6. Back up the sd card! If you corrupt the card, you can skip steps 1-5 if you have a backup. +``` +sudo dd if=/dev/diskn of=~/SDCardBackup.dmg +``` + +7. Get a bootloader. Adafruit's is nice. +8. Write openocd.cfg. +9. sudo openocd -- GitLab