Difference between revisions of "Edgertronic camera software recovery"

From edgertronic high speed video camera
Jump to: navigation, search
(Get latest camera software)
(Get latest camera software)
Line 5: Line 5:
 
Download the microSD card image file:
 
Download the microSD card image file:
  
* [http://wiki.edgertronic.com/releases/v2.4.1g6/sdcard_image/sdcard.v2.4.1g6.img.zip <span style="color:purple">'''v2.4.1rc33 SD card image'''</span>]
+
* [http://wiki.edgertronic.com/releases/v2.4.1g6/sdcard_image/sdcard.v2.4.1g6.img.zip <span style="color:purple">'''v2.4.1g6 SD card image'''</span>]
  
 
Unzip the downloaded file to get the microSD card image file.
 
Unzip the downloaded file to get the microSD card image file.

Revision as of 15:04, 15 July 2020

A bricked camera is when the software on the micro SD card that runs the camera is no longer usable. The micro SD card is the small one that you normally don't remove in the recessed slot between the big SD card and the LEDs. If you lost power during a software update, you may have bricked your camera. If you think your camera is bricked for some other reason, please send an email to info@edgertronic.com with the details of what happened right before the camera stopped functioning correctly.

Get latest camera software

Download the microSD card image file:

Unzip the downloaded file to get the microSD card image file.

Removing the micro SD card

The micro SD card is in the slot next to the big SD card. The micro SD card is recessed and in a spring loaded slot. You remove the micro SD card by gently pushing the card farther into the camera (just like you do with the big SD card) and then the micro SD card will pop out. You may find a paperclip is the right size to allow you to press the micro SD card farther into the camera).

Be sure to press the micro SD card straight in (meaning perpendicular to the camera back) otherwise the card may hang up on the edge of the slot.

It is important that you insert the micro-SD card in the correct orientation. The micro SD label faces the system and camera LEDs and the gold contacts face the big SD card. Incorrectly inserting or forcing the micro SD card will cause damage to the camera that is not covered under warranty.

Unbrick using Windows

Set Up

Before we can actually write to the micro SD card from a windows machine you need to download a Windows program that can image the contents of the image file directly over the entire micro SD card. There are several such programs to choose from.

Disk Imaging

Using Windisk Imager (pc)

  1. Select the image you will be imaging to your SD. (file name may be sdcard.img)
  2. Select the device that you will be imaging the image to
  3. Click “Write” and wait for the imager program to finish.
  4. Click “Exit” and eject the memory device when the process is completed.

Using Image Writer

I haven't tried Image Writer yet, so I don't have detailed instructions.

Unbrick using Mac O.S.

  • IMPORTANT! This procedure will completely overwrite a disk volume with the edgertronic micro-SD card image. It is essential to identify which disk in /dev is actually the micro-SD card. Always double check ... if you get this wrong, you will wipe out the wrong disk volume.
  • Start a terminal using Spotlight (command-Space, then type terminal) or going into Applications -> Utilities.
  • Identify which disks you have BEFORE you plug in the micro SD card:
 diskutil list

You will see something like:

/dev/disk0
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *750.2 GB   disk0
   1:                        EFI EFI                     209.7 MB   disk0s1
   2:                  Apple_HFS mac                     500.0 GB   disk0s2
   3:                 Apple_Boot Recovery HD             650.0 MB   disk0s3
  • Plug your micro SD card into the Mac computer using the appropriate adaptor. Find the dev name for your micro SD card using the same command and checking for the different in the output:
 diskutil list

Your output will be something like:

/dev/disk0
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *750.2 GB   disk0
   1:                        EFI EFI                     209.7 MB   disk0s1
   2:                  Apple_HFS mac                     500.0 GB   disk0s2
   3:                 Apple_Boot Recovery HD             650.0 MB   disk0s3
/dev/disk1
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:     FDisk_partition_scheme                        *8.2 GB     disk1
   1:             Windows_FAT_32 boot                    41.1 MB    disk1s1
   2:                      Linux                         246.8 MB   disk1s2
   3:             Windows_FAT_32 RW                      24.7 MB    disk1s3
  • Unmount the file system on the micro SD card using N where N is the number of the disk taken from the above command output i.e. /dev/disk1 in this example
 diskutil unmountDisk /dev/diskN

The output should be similar to:

 Unmount of all volumes on disk1 was successful
  • Use the dd command to completely overwrite the contents of the microSD card. In the example below, the downloaded disk image is sdcard.20151216204804.img. Please change this as appropriate if you downloaded the image to a different location. Make sure to use the correct /dev/diskN i.e. /dev/disk1 in this example.
 sudo dd bs=1m if=~/Downloads/sdcard.20151216204804.img of=/dev/rdiskN
  • Enter your password when prompted

The output on success will be similar to:

Password:
312+0 records in
312+0 records out
327155712 bytes transferred in 162.962346 secs (2007554 bytes/sec)
  • Now that the dd has finished, sync, then unmount the file system on the micro SD card using N where N is the number of the disk taken from the above command output:
 sync
 diskutil unmountDisk /dev/diskN

The output should be similar to:

 Unmount of all volumes on disk1 was successful
  • Put the micro SD card back in the camera (gold pins facing big SD card slot) and power on the camera. The first time the camera boots it will blink white blue for a few seconds with the overall boot time being around 35 seconds.

The cut-and-paste steps are:

N=2
FILE=sdcard.fps-beta.img

sudo echo
diskutil unmountDisk /dev/disk$N
sudo dd bs=1m if=$FILE of=/dev/rdisk$N ; diskutil unmountDisk /dev/disk$N ; sleep 20 ; echo "Safe to remove micro SD card"

Reinstalling micro SD card into camera

Inserting-micro-sd-card.jpg

Once you have an imaged micro SD insert it back into the camera. It is important that you insert the micro-SD card in the correct orientation. The micro SD label faces the system and camera LEDs and the gold contacts face the big SD card. Incorrectly inserting or forcing the micro SD card will cause damage to the camera that is not covered under warranty. Insert the micro SD card with the camera powered off. You can use a paperclip to gently push the micro SD card into the slot. Give the camera about a minute then the LEDs should be back on and the camera should update itself. If the image you used to update the camera was an older version of software you will need to conduct a software update manually after the camera finishes the re-image process.

Simply take the newest software update (or desired software version's update) file and copy it directly onto the SD card(the big one), power on the camera and wait through the LED “white pattern” as the camera updates.

If the camera still does not work, try a factory reset.

Trying out a beta release

We are a rather open company. We use Open Source software. As much as practical, we make the camera's source code available. We work hard supporting CAMAPI so you can integrate the camera into your existing processes. We even make our buggy beta releases available for you to try out. Only we ask this one simple request in return. Please, please, please keep your fully tested micro SD card that came with the camera intact. Go buy another quality U10 class micro SD card to use when running the beta release software. That way, if the beta release causes more problems than it solves, you can simply swap out the micro SD card with the one that came with the camera and you are back in business.

To see what beta release is available, browse to the releases directory.

Since you are going to be programming that brand new microSD card, first extract the SD card image from the beta release update tarball and then program the shiny new microSD card with the beta version of the software, as described above. You may be able to use the extracted image from the sdcard_image directory if it exists for the release you want to test.

If you are brave enough to try out the beta release, you likely have good suggestions on what we can be doing better. Please share those suggestions with us.